expo-backend-types 0.14.0-EXPO-249-EB-Modelo.1 → 0.14.0-EXPO-249-EB-Modelo.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -3,21 +3,31 @@ export declare const findAllCountriesResponseSchema: z.ZodObject<{
3
3
  countries: z.ZodArray<z.ZodObject<{
4
4
  name: z.ZodString;
5
5
  isoCode: z.ZodString;
6
+ latitude: z.ZodNumber;
7
+ longitude: z.ZodNumber;
6
8
  }, "strip", z.ZodTypeAny, {
7
9
  name: string;
10
+ latitude: number;
11
+ longitude: number;
8
12
  isoCode: string;
9
13
  }, {
10
14
  name: string;
15
+ latitude: number;
16
+ longitude: number;
11
17
  isoCode: string;
12
18
  }>, "many">;
13
19
  }, "strip", z.ZodTypeAny, {
14
20
  countries: {
15
21
  name: string;
22
+ latitude: number;
23
+ longitude: number;
16
24
  isoCode: string;
17
25
  }[];
18
26
  }, {
19
27
  countries: {
20
28
  name: string;
29
+ latitude: number;
30
+ longitude: number;
21
31
  isoCode: string;
22
32
  }[];
23
33
  }>;
@@ -25,21 +35,31 @@ declare const FindAllCountriesResponseDto_base: import("@anatine/zod-nestjs").Zo
25
35
  countries: z.ZodArray<z.ZodObject<{
26
36
  name: z.ZodString;
27
37
  isoCode: z.ZodString;
38
+ latitude: z.ZodNumber;
39
+ longitude: z.ZodNumber;
28
40
  }, z.UnknownKeysParam, z.ZodTypeAny, {
29
41
  name: string;
42
+ latitude: number;
43
+ longitude: number;
30
44
  isoCode: string;
31
45
  }, {
32
46
  name: string;
47
+ latitude: number;
48
+ longitude: number;
33
49
  isoCode: string;
34
50
  }>, "many">;
35
51
  }, z.UnknownKeysParam, z.ZodTypeAny, {
36
52
  countries: {
37
53
  name: string;
54
+ latitude: number;
55
+ longitude: number;
38
56
  isoCode: string;
39
57
  }[];
40
58
  }, {
41
59
  countries: {
42
60
  name: string;
61
+ latitude: number;
62
+ longitude: number;
43
63
  isoCode: string;
44
64
  }[];
45
65
  }>>;
@@ -10,6 +10,8 @@ exports.findAllCountriesResponseSchema = zod_1.default.object({
10
10
  countries: zod_1.default.array(zod_1.default.object({
11
11
  name: zod_1.default.string(),
12
12
  isoCode: zod_1.default.string(),
13
+ latitude: zod_1.default.number(),
14
+ longitude: zod_1.default.number(),
13
15
  })),
14
16
  });
15
17
  class FindAllCountriesResponseDto extends (0, create_zod_dto_without_date_1.createZodDtoWithoutDate)(exports.findAllCountriesResponseSchema) {
@@ -780,20 +780,20 @@ export interface components {
780
780
  id: string;
781
781
  shortId: number;
782
782
  phoneNumber: string;
783
- secondaryPhoneNumber: null;
783
+ secondaryPhoneNumber: string | null;
784
784
  fullName: string;
785
- firstName: null;
786
- gender: null;
787
- birthDate: null;
788
- profilePictureUrl: null;
789
- instagram: null;
790
- mail: null;
791
- dni: null;
785
+ firstName: string | null;
786
+ gender: string | null;
787
+ birthDate: string | null;
788
+ profilePictureUrl: string | null;
789
+ instagram: string | null;
790
+ mail: string | null;
791
+ dni: string | null;
792
792
  alternativeNames: string[];
793
- birthLocationId: null;
794
- residenceLocationId: null;
793
+ birthLocationId: string | null;
794
+ residenceLocationId: string | null;
795
795
  isInTrash: boolean;
796
- movedToTrashDate: null;
796
+ movedToTrashDate: string | null;
797
797
  created_at: string;
798
798
  updated_at: string;
799
799
  }[];
@@ -807,20 +807,20 @@ export interface components {
807
807
  id: string;
808
808
  shortId: number;
809
809
  phoneNumber: string;
810
- secondaryPhoneNumber: null;
810
+ secondaryPhoneNumber: string | null;
811
811
  fullName: string;
812
- firstName: null;
813
- gender: null;
814
- birthDate: null;
815
- profilePictureUrl: null;
816
- instagram: null;
817
- mail: null;
818
- dni: null;
812
+ firstName: string | null;
813
+ gender: string | null;
814
+ birthDate: string | null;
815
+ profilePictureUrl: string | null;
816
+ instagram: string | null;
817
+ mail: string | null;
818
+ dni: string | null;
819
819
  alternativeNames: string[];
820
- birthLocationId: null;
821
- residenceLocationId: null;
820
+ birthLocationId: string | null;
821
+ residenceLocationId: string | null;
822
822
  isInTrash: boolean;
823
- movedToTrashDate: null;
823
+ movedToTrashDate: string | null;
824
824
  created_at: string;
825
825
  updated_at: string;
826
826
  }[];
@@ -1001,7 +1001,7 @@ export interface components {
1001
1001
  profileId: string;
1002
1002
  isSolvable: boolean;
1003
1003
  isSolved: boolean;
1004
- solvedAt: null;
1004
+ solvedAt: string | null;
1005
1005
  solvedBy?: string;
1006
1006
  created_at: string;
1007
1007
  updated_at: string;
@@ -1014,7 +1014,7 @@ export interface components {
1014
1014
  profileId: string;
1015
1015
  isSolvable: boolean;
1016
1016
  isSolved: boolean;
1017
- solvedAt: null;
1017
+ solvedAt: string | null;
1018
1018
  solvedBy?: string;
1019
1019
  created_at: string;
1020
1020
  updated_at: string;
@@ -1030,7 +1030,7 @@ export interface components {
1030
1030
  profileId: string;
1031
1031
  isSolvable: boolean;
1032
1032
  isSolved: boolean;
1033
- solvedAt: null;
1033
+ solvedAt: string | null;
1034
1034
  solvedBy?: string;
1035
1035
  created_at: string;
1036
1036
  updated_at: string;
@@ -1070,6 +1070,8 @@ export interface components {
1070
1070
  countries: {
1071
1071
  name: string;
1072
1072
  isoCode: string;
1073
+ latitude: number;
1074
+ longitude: number;
1073
1075
  }[];
1074
1076
  };
1075
1077
  FindAllStatesByCountryResponseDto: {
@@ -1078,8 +1080,8 @@ export interface components {
1078
1080
  isoCode: string;
1079
1081
  countryCode: string;
1080
1082
  countryName: string;
1081
- latitude?: null;
1082
- longitude?: null;
1083
+ latitude?: string | null;
1084
+ longitude?: string | null;
1083
1085
  }[];
1084
1086
  };
1085
1087
  CreateCannedResponseDto: {
@@ -1143,10 +1145,10 @@ export interface components {
1143
1145
  name: string;
1144
1146
  date: string;
1145
1147
  location: string;
1146
- folderId: null;
1148
+ folderId: string | null;
1147
1149
  tagAssistedId: string;
1148
1150
  tagConfirmedId: string;
1149
- supraEventId: null;
1151
+ supraEventId: string | null;
1150
1152
  created_at: string;
1151
1153
  updated_at: string;
1152
1154
  }[];
@@ -1163,10 +1165,10 @@ export interface components {
1163
1165
  name: string;
1164
1166
  date: string;
1165
1167
  location: string;
1166
- folderId: null;
1168
+ folderId: string | null;
1167
1169
  tagAssistedId: string;
1168
1170
  tagConfirmedId: string;
1169
- supraEventId: null;
1171
+ supraEventId: string | null;
1170
1172
  created_at: string;
1171
1173
  updated_at: string;
1172
1174
  }[];
@@ -1194,20 +1196,20 @@ export interface components {
1194
1196
  id: string;
1195
1197
  shortId: number;
1196
1198
  phoneNumber: string;
1197
- secondaryPhoneNumber: null;
1199
+ secondaryPhoneNumber: string | null;
1198
1200
  fullName: string;
1199
- firstName: null;
1200
- gender: null;
1201
- birthDate: null;
1202
- profilePictureUrl: null;
1203
- instagram: null;
1204
- mail: null;
1205
- dni: null;
1201
+ firstName: string | null;
1202
+ gender: string | null;
1203
+ birthDate: string | null;
1204
+ profilePictureUrl: string | null;
1205
+ instagram: string | null;
1206
+ mail: string | null;
1207
+ dni: string | null;
1206
1208
  alternativeNames: string[];
1207
- birthLocationId: null;
1208
- residenceLocationId: null;
1209
+ birthLocationId: string | null;
1210
+ residenceLocationId: string | null;
1209
1211
  isInTrash: boolean;
1210
- movedToTrashDate: null;
1212
+ movedToTrashDate: string | null;
1211
1213
  created_at: string;
1212
1214
  updated_at: string;
1213
1215
  tags: {
@@ -1229,20 +1231,20 @@ export interface components {
1229
1231
  id: string;
1230
1232
  shortId: number;
1231
1233
  phoneNumber: string;
1232
- secondaryPhoneNumber: null;
1234
+ secondaryPhoneNumber: string | null;
1233
1235
  fullName: string;
1234
- firstName: null;
1235
- gender: null;
1236
- birthDate: null;
1237
- profilePictureUrl: null;
1238
- instagram: null;
1239
- mail: null;
1240
- dni: null;
1236
+ firstName: string | null;
1237
+ gender: string | null;
1238
+ birthDate: string | null;
1239
+ profilePictureUrl: string | null;
1240
+ instagram: string | null;
1241
+ mail: string | null;
1242
+ dni: string | null;
1241
1243
  alternativeNames: string[];
1242
- birthLocationId: null;
1243
- residenceLocationId: null;
1244
+ birthLocationId: string | null;
1245
+ residenceLocationId: string | null;
1244
1246
  isInTrash: boolean;
1245
- movedToTrashDate: null;
1247
+ movedToTrashDate: string | null;
1246
1248
  created_at: string;
1247
1249
  updated_at: string;
1248
1250
  tags: {
@@ -1282,20 +1284,20 @@ export interface components {
1282
1284
  id: string;
1283
1285
  shortId: number;
1284
1286
  phoneNumber: string;
1285
- secondaryPhoneNumber: null;
1287
+ secondaryPhoneNumber: string | null;
1286
1288
  fullName: string;
1287
- firstName: null;
1288
- gender: null;
1289
- birthDate: null;
1290
- profilePictureUrl: null;
1291
- instagram: null;
1292
- mail: null;
1293
- dni: null;
1289
+ firstName: string | null;
1290
+ gender: string | null;
1291
+ birthDate: string | null;
1292
+ profilePictureUrl: string | null;
1293
+ instagram: string | null;
1294
+ mail: string | null;
1295
+ dni: string | null;
1294
1296
  alternativeNames: string[];
1295
- birthLocationId: null;
1296
- residenceLocationId: null;
1297
+ birthLocationId: string | null;
1298
+ residenceLocationId: string | null;
1297
1299
  isInTrash: boolean;
1298
- movedToTrashDate: null;
1300
+ movedToTrashDate: string | null;
1299
1301
  created_at: string;
1300
1302
  updated_at: string;
1301
1303
  tags: {
@@ -1316,20 +1318,20 @@ export interface components {
1316
1318
  id: string;
1317
1319
  shortId: number;
1318
1320
  phoneNumber: string;
1319
- secondaryPhoneNumber: null;
1321
+ secondaryPhoneNumber: string | null;
1320
1322
  fullName: string;
1321
- firstName: null;
1322
- gender: null;
1323
- birthDate: null;
1324
- profilePictureUrl: null;
1325
- instagram: null;
1326
- mail: null;
1327
- dni: null;
1323
+ firstName: string | null;
1324
+ gender: string | null;
1325
+ birthDate: string | null;
1326
+ profilePictureUrl: string | null;
1327
+ instagram: string | null;
1328
+ mail: string | null;
1329
+ dni: string | null;
1328
1330
  alternativeNames: string[];
1329
- birthLocationId: null;
1330
- residenceLocationId: null;
1331
+ birthLocationId: string | null;
1332
+ residenceLocationId: string | null;
1331
1333
  isInTrash: boolean;
1332
- movedToTrashDate: null;
1334
+ movedToTrashDate: string | null;
1333
1335
  created_at: string;
1334
1336
  updated_at: string;
1335
1337
  tags: {
@@ -1347,20 +1349,20 @@ export interface components {
1347
1349
  id: string;
1348
1350
  shortId: number;
1349
1351
  phoneNumber: string;
1350
- secondaryPhoneNumber: null;
1352
+ secondaryPhoneNumber: string | null;
1351
1353
  fullName: string;
1352
- firstName: null;
1353
- gender: null;
1354
- birthDate: null;
1355
- profilePictureUrl: null;
1356
- instagram: null;
1357
- mail: null;
1358
- dni: null;
1354
+ firstName: string | null;
1355
+ gender: string | null;
1356
+ birthDate: string | null;
1357
+ profilePictureUrl: string | null;
1358
+ instagram: string | null;
1359
+ mail: string | null;
1360
+ dni: string | null;
1359
1361
  alternativeNames: string[];
1360
- birthLocationId: null;
1361
- residenceLocationId: null;
1362
+ birthLocationId: string | null;
1363
+ residenceLocationId: string | null;
1362
1364
  isInTrash: boolean;
1363
- movedToTrashDate: null;
1365
+ movedToTrashDate: string | null;
1364
1366
  created_at: string;
1365
1367
  updated_at: string;
1366
1368
  tags: {
@@ -1380,20 +1382,20 @@ export interface components {
1380
1382
  id: string;
1381
1383
  shortId: number;
1382
1384
  phoneNumber: string;
1383
- secondaryPhoneNumber: null;
1385
+ secondaryPhoneNumber: string | null;
1384
1386
  fullName: string;
1385
- firstName: null;
1386
- gender: null;
1387
- birthDate: null;
1388
- profilePictureUrl: null;
1389
- instagram: null;
1390
- mail: null;
1391
- dni: null;
1387
+ firstName: string | null;
1388
+ gender: string | null;
1389
+ birthDate: string | null;
1390
+ profilePictureUrl: string | null;
1391
+ instagram: string | null;
1392
+ mail: string | null;
1393
+ dni: string | null;
1392
1394
  alternativeNames: string[];
1393
- birthLocationId: null;
1394
- residenceLocationId: null;
1395
+ birthLocationId: string | null;
1396
+ residenceLocationId: string | null;
1395
1397
  isInTrash: boolean;
1396
- movedToTrashDate: null;
1398
+ movedToTrashDate: string | null;
1397
1399
  created_at: string;
1398
1400
  updated_at: string;
1399
1401
  };
@@ -1401,25 +1403,25 @@ export interface components {
1401
1403
  profiles: {
1402
1404
  id: string;
1403
1405
  fullName: string;
1404
- profilePictureUrl: null;
1406
+ profilePictureUrl: string | null;
1405
1407
  created_at: string;
1406
1408
  isInTrash: boolean;
1407
1409
  phoneNumber: string;
1408
- movedToTrashDate: null;
1410
+ movedToTrashDate: string | null;
1409
1411
  }[];
1410
1412
  };
1411
1413
  CreateProfileDto: {
1412
1414
  profile: {
1413
1415
  alternativeNames: string[];
1414
- birthDate: null;
1415
- dni: null;
1416
+ birthDate: string | null;
1417
+ dni: string | null;
1416
1418
  fullName: string;
1417
- gender: null;
1418
- instagram: null;
1419
- mail: null;
1419
+ gender: string | null;
1420
+ instagram: string | null;
1421
+ mail: string | null;
1420
1422
  phoneNumber: string;
1421
- profilePictureUrl: null;
1422
- secondaryPhoneNumber: null;
1423
+ profilePictureUrl: string | null;
1424
+ secondaryPhoneNumber: string | null;
1423
1425
  comments?: {
1424
1426
  content: string;
1425
1427
  isSolvable: boolean;
@@ -1463,24 +1465,42 @@ export interface components {
1463
1465
  id: string;
1464
1466
  shortId: number;
1465
1467
  phoneNumber: string;
1466
- secondaryPhoneNumber: null;
1468
+ secondaryPhoneNumber: string | null;
1467
1469
  fullName: string;
1468
- firstName: null;
1469
- gender: null;
1470
- birthDate: null;
1471
- profilePictureUrl: null;
1472
- instagram: null;
1473
- mail: null;
1474
- dni: null;
1470
+ firstName: string | null;
1471
+ gender: string | null;
1472
+ birthDate: string | null;
1473
+ profilePictureUrl: string | null;
1474
+ instagram: string | null;
1475
+ mail: string | null;
1476
+ dni: string | null;
1475
1477
  alternativeNames: string[];
1476
- birthLocationId: null;
1477
- residenceLocationId: null;
1478
+ birthLocationId: string | null;
1479
+ residenceLocationId: string | null;
1478
1480
  isInTrash: boolean;
1479
- movedToTrashDate: null;
1481
+ movedToTrashDate: string | null;
1480
1482
  created_at: string;
1481
1483
  updated_at: string;
1482
- residenceLocation: null;
1483
- birthLocation: null;
1484
+ residenceLocation: {
1485
+ id: string;
1486
+ latitude: number;
1487
+ longitude: number;
1488
+ country: string;
1489
+ state: string;
1490
+ city: string;
1491
+ created_at: string;
1492
+ updated_at: string;
1493
+ } | null;
1494
+ birthLocation: {
1495
+ id: string;
1496
+ latitude: number;
1497
+ longitude: number;
1498
+ country: string;
1499
+ state: string;
1500
+ city: string;
1501
+ created_at: string;
1502
+ updated_at: string;
1503
+ } | null;
1484
1504
  tags: {
1485
1505
  id: string;
1486
1506
  name: string;
@@ -1499,36 +1519,36 @@ export interface components {
1499
1519
  id: string;
1500
1520
  shortId: number;
1501
1521
  phoneNumber: string;
1502
- secondaryPhoneNumber: null;
1522
+ secondaryPhoneNumber: string | null;
1503
1523
  fullName: string;
1504
- firstName: null;
1505
- gender: null;
1506
- birthDate: null;
1507
- profilePictureUrl: null;
1508
- instagram: null;
1509
- mail: null;
1510
- dni: null;
1524
+ firstName: string | null;
1525
+ gender: string | null;
1526
+ birthDate: string | null;
1527
+ profilePictureUrl: string | null;
1528
+ instagram: string | null;
1529
+ mail: string | null;
1530
+ dni: string | null;
1511
1531
  alternativeNames: string[];
1512
- birthLocationId: null;
1513
- residenceLocationId: null;
1532
+ birthLocationId: string | null;
1533
+ residenceLocationId: string | null;
1514
1534
  isInTrash: boolean;
1515
- movedToTrashDate: null;
1535
+ movedToTrashDate: string | null;
1516
1536
  created_at: string;
1517
1537
  updated_at: string;
1518
1538
  };
1519
1539
  UpdateProfileDto: {
1520
1540
  alternativeNames?: string[];
1521
- birthDate?: null;
1522
- dni?: null;
1541
+ birthDate?: string | null;
1542
+ dni?: string | null;
1523
1543
  fullName?: string;
1524
- gender?: null;
1525
- instagram?: null;
1526
- mail?: null;
1544
+ gender?: string | null;
1545
+ instagram?: string | null;
1546
+ mail?: string | null;
1527
1547
  phoneNumber?: string;
1528
- profilePictureUrl?: null;
1529
- secondaryPhoneNumber?: null;
1548
+ profilePictureUrl?: string | null;
1549
+ secondaryPhoneNumber?: string | null;
1530
1550
  isInTrash?: boolean;
1531
- movedToTrashDate?: null;
1551
+ movedToTrashDate?: string | null;
1532
1552
  residence?: {
1533
1553
  city: string;
1534
1554
  country: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "expo-backend-types",
3
- "version": "0.14.0-EXPO-249-EB-Modelo.1",
3
+ "version": "0.14.0-EXPO-249-EB-Modelo.3",
4
4
  "description": "",
5
5
  "author": "Expo",
6
6
  "private": false,