expo-backend-types 0.49.0-EXPO-353-Sandro-de-America.3 → 0.50.0-EXPO-350-ExpoBackend-Estadisticas-de-evento.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (67) hide show
  1. package/dist/src/account/dto/get-global-filter.dto.d.ts +8 -10
  2. package/dist/src/account/dto/get-me.dto.d.ts +16 -20
  3. package/dist/src/account/dto/update-global-filter.dto.d.ts +8 -10
  4. package/dist/src/event/dto/get-all-event.dto.d.ts +232 -236
  5. package/dist/src/event/dto/get-all-event.dto.js +1 -1
  6. package/dist/src/event/dto/get-all-statistics.dto.d.ts +364 -0
  7. package/dist/src/event/dto/get-all-statistics.dto.js +40 -0
  8. package/dist/src/event/dto/get-by-id-event.dto.d.ts +126 -136
  9. package/dist/src/event/dto/get-by-id-event.dto.js +1 -1
  10. package/dist/src/event/dto/get-statistics-by-id-event.dto.d.ts +294 -0
  11. package/dist/src/event/dto/get-statistics-by-id-event.dto.js +40 -0
  12. package/dist/src/event/dto/update-event.dto.d.ts +8 -10
  13. package/dist/src/exports.d.ts +0 -1
  14. package/dist/src/exports.js +0 -1
  15. package/dist/src/i18n/es.d.ts +7 -57
  16. package/dist/src/i18n/es.js +7 -57
  17. package/dist/src/i18n/es.js.map +1 -1
  18. package/dist/src/profile/dto/find-all-profile.dto.d.ts +12 -14
  19. package/dist/src/profile/dto/find-by-date-range-profile.dto.d.ts +20 -24
  20. package/dist/src/profile/dto/find-by-id-profile.dto.d.ts +8 -10
  21. package/dist/src/profile/dto/find-by-tag-groups-profile.dto.d.ts +12 -14
  22. package/dist/src/profile/dto/find-by-tags-profile.dto.d.ts +12 -14
  23. package/dist/src/profile/dto/find-with-active-chat.dto.d.ts +12 -14
  24. package/dist/src/tag/dto/create-tag.dto.d.ts +9 -41
  25. package/dist/src/tag/dto/create-tag.dto.js +5 -6
  26. package/dist/src/tag/dto/delete-tag.dto.d.ts +4 -6
  27. package/dist/src/tag/dto/find-all-tag.dto.d.ts +8 -10
  28. package/dist/src/tag/dto/find-by-group-tag.dto.d.ts +8 -10
  29. package/dist/src/tag/dto/find-one-tag.dto.d.ts +4 -6
  30. package/dist/src/tag/dto/tag.dto.d.ts +4 -6
  31. package/dist/src/tag/dto/update-tag.dto.d.ts +4 -7
  32. package/dist/src/tag-group/dto/find-all-tag-group.dto.d.ts +12 -14
  33. package/dist/src/tag-group/dto/find-all-with-tags.dto.d.ts +12 -14
  34. package/dist/src/tag-group/dto/find-one-tag-group.dto.d.ts +8 -10
  35. package/dist/types/prisma-schema/edge.js +5 -32
  36. package/dist/types/prisma-schema/index-browser.js +2 -29
  37. package/dist/types/prisma-schema/index.d.ts +6864 -11453
  38. package/dist/types/prisma-schema/index.js +5 -32
  39. package/dist/types/prisma-schema/package.json +1 -1
  40. package/dist/types/prisma-schema/schema.prisma +4 -54
  41. package/dist/types/prisma-schema/wasm.js +2 -29
  42. package/dist/types/schema.d.ts +198 -650
  43. package/package.json +1 -1
  44. package/dist/src/production/dto/create-production.dto.d.ts +0 -41
  45. package/dist/src/production/dto/create-production.dto.js +0 -18
  46. package/dist/src/production/dto/create-role.dto.d.ts +0 -86
  47. package/dist/src/production/dto/create-role.dto.js +0 -16
  48. package/dist/src/production/dto/delete-production.dto.d.ts +0 -41
  49. package/dist/src/production/dto/delete-production.dto.js +0 -10
  50. package/dist/src/production/dto/get-all-production.dto.d.ts +0 -451
  51. package/dist/src/production/dto/get-all-production.dto.js +0 -21
  52. package/dist/src/production/dto/production.dto.d.ts +0 -20
  53. package/dist/src/production/dto/production.dto.js +0 -21
  54. package/dist/src/production/dto/update-production.dto.d.ts +0 -63
  55. package/dist/src/production/dto/update-production.dto.js +0 -19
  56. package/dist/src/production/exports.d.ts +0 -6
  57. package/dist/src/production/exports.js +0 -23
  58. package/dist/src/production-affiliation-request/dto/create-production-affiliation-request.dto.d.ts +0 -80
  59. package/dist/src/production-affiliation-request/dto/create-production-affiliation-request.dto.js +0 -16
  60. package/dist/src/production-affiliation-request/dto/find-by-production-affiliation-request.dto.d.ts +0 -563
  61. package/dist/src/production-affiliation-request/dto/find-by-production-affiliation-request.dto.js +0 -21
  62. package/dist/src/production-affiliation-request/dto/production-affiliation-request.dto.d.ts +0 -27
  63. package/dist/src/production-affiliation-request/dto/production-affiliation-request.dto.js +0 -22
  64. package/dist/src/production-affiliation-request/dto/update-production-affiliation-request.dto.d.ts +0 -390
  65. package/dist/src/production-affiliation-request/dto/update-production-affiliation-request.dto.js +0 -15
  66. package/dist/src/production-affiliation-request/exports.d.ts +0 -4
  67. package/dist/src/production-affiliation-request/exports.js +0 -21
@@ -559,6 +559,22 @@ export interface paths {
559
559
  patch?: never;
560
560
  trace?: never;
561
561
  };
562
+ "/event/statistics": {
563
+ parameters: {
564
+ query?: never;
565
+ header?: never;
566
+ path?: never;
567
+ cookie?: never;
568
+ };
569
+ get: operations["EventController_getStatistics"];
570
+ put?: never;
571
+ post?: never;
572
+ delete?: never;
573
+ options?: never;
574
+ head?: never;
575
+ patch?: never;
576
+ trace?: never;
577
+ };
562
578
  "/event/{id}": {
563
579
  parameters: {
564
580
  query?: never;
@@ -575,6 +591,22 @@ export interface paths {
575
591
  patch: operations["EventController_update"];
576
592
  trace?: never;
577
593
  };
594
+ "/event/{id}/statistics": {
595
+ parameters: {
596
+ query?: never;
597
+ header?: never;
598
+ path?: never;
599
+ cookie?: never;
600
+ };
601
+ get: operations["EventController_getStatisticsById"];
602
+ put?: never;
603
+ post?: never;
604
+ delete?: never;
605
+ options?: never;
606
+ head?: never;
607
+ patch?: never;
608
+ trace?: never;
609
+ };
578
610
  "/event/toggle-active/{id}": {
579
611
  parameters: {
580
612
  query?: never;
@@ -1423,150 +1455,6 @@ export interface paths {
1423
1455
  patch?: never;
1424
1456
  trace?: never;
1425
1457
  };
1426
- "/production/all": {
1427
- parameters: {
1428
- query?: never;
1429
- header?: never;
1430
- path?: never;
1431
- cookie?: never;
1432
- };
1433
- get: operations["ProductionController_getAll"];
1434
- put?: never;
1435
- post?: never;
1436
- delete?: never;
1437
- options?: never;
1438
- head?: never;
1439
- patch?: never;
1440
- trace?: never;
1441
- };
1442
- "/production/create": {
1443
- parameters: {
1444
- query?: never;
1445
- header?: never;
1446
- path?: never;
1447
- cookie?: never;
1448
- };
1449
- get?: never;
1450
- put?: never;
1451
- post: operations["ProductionController_create"];
1452
- delete?: never;
1453
- options?: never;
1454
- head?: never;
1455
- patch?: never;
1456
- trace?: never;
1457
- };
1458
- "/production/create-role": {
1459
- parameters: {
1460
- query?: never;
1461
- header?: never;
1462
- path?: never;
1463
- cookie?: never;
1464
- };
1465
- get?: never;
1466
- put?: never;
1467
- post: operations["ProductionController_createRole"];
1468
- delete?: never;
1469
- options?: never;
1470
- head?: never;
1471
- patch?: never;
1472
- trace?: never;
1473
- };
1474
- "/production/update/{id}": {
1475
- parameters: {
1476
- query?: never;
1477
- header?: never;
1478
- path?: never;
1479
- cookie?: never;
1480
- };
1481
- get?: never;
1482
- put?: never;
1483
- post?: never;
1484
- delete?: never;
1485
- options?: never;
1486
- head?: never;
1487
- patch: operations["ProductionController_update"];
1488
- trace?: never;
1489
- };
1490
- "/production/delete/{id}": {
1491
- parameters: {
1492
- query?: never;
1493
- header?: never;
1494
- path?: never;
1495
- cookie?: never;
1496
- };
1497
- get?: never;
1498
- put?: never;
1499
- post?: never;
1500
- delete: operations["ProductionController_deleteProduction"];
1501
- options?: never;
1502
- head?: never;
1503
- patch?: never;
1504
- trace?: never;
1505
- };
1506
- "/production-affiliation-request/create": {
1507
- parameters: {
1508
- query?: never;
1509
- header?: never;
1510
- path?: never;
1511
- cookie?: never;
1512
- };
1513
- get?: never;
1514
- put?: never;
1515
- post: operations["ProductionAffiliationRequestController_create"];
1516
- delete?: never;
1517
- options?: never;
1518
- head?: never;
1519
- patch?: never;
1520
- trace?: never;
1521
- };
1522
- "/production-affiliation-request/accept/{id}": {
1523
- parameters: {
1524
- query?: never;
1525
- header?: never;
1526
- path?: never;
1527
- cookie?: never;
1528
- };
1529
- get?: never;
1530
- put?: never;
1531
- post: operations["ProductionAffiliationRequestController_accept"];
1532
- delete?: never;
1533
- options?: never;
1534
- head?: never;
1535
- patch?: never;
1536
- trace?: never;
1537
- };
1538
- "/production-affiliation-request/reject/{id}": {
1539
- parameters: {
1540
- query?: never;
1541
- header?: never;
1542
- path?: never;
1543
- cookie?: never;
1544
- };
1545
- get?: never;
1546
- put?: never;
1547
- post: operations["ProductionAffiliationRequestController_reject"];
1548
- delete?: never;
1549
- options?: never;
1550
- head?: never;
1551
- patch?: never;
1552
- trace?: never;
1553
- };
1554
- "/production-affiliation-request/get-by-production/{id}": {
1555
- parameters: {
1556
- query?: never;
1557
- header?: never;
1558
- path?: never;
1559
- cookie?: never;
1560
- };
1561
- get: operations["ProductionAffiliationRequestController_findByProduction"];
1562
- put?: never;
1563
- post?: never;
1564
- delete?: never;
1565
- options?: never;
1566
- head?: never;
1567
- patch?: never;
1568
- trace?: never;
1569
- };
1570
1458
  }
1571
1459
  export type webhooks = Record<string, never>;
1572
1460
  export interface components {
@@ -1604,22 +1492,19 @@ export interface components {
1604
1492
  CreateTagDto: {
1605
1493
  name: string;
1606
1494
  groupId: string;
1607
- type?: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM" | "PRODUCTION_ROLE";
1608
1495
  };
1609
1496
  CreateTagResponseDto: {
1610
1497
  id: string;
1611
1498
  name: string;
1612
1499
  groupId: string;
1613
- type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM" | "PRODUCTION_ROLE";
1614
- created_at: string;
1615
- updated_at: string;
1500
+ type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
1616
1501
  };
1617
1502
  FindAllTagResponseDto: {
1618
1503
  tags: {
1619
1504
  id: string;
1620
1505
  name: string;
1621
1506
  groupId: string;
1622
- type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM" | "PRODUCTION_ROLE";
1507
+ type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
1623
1508
  created_at: string;
1624
1509
  updated_at: string;
1625
1510
  group: {
@@ -1637,7 +1522,7 @@ export interface components {
1637
1522
  id: string;
1638
1523
  name: string;
1639
1524
  groupId: string;
1640
- type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM" | "PRODUCTION_ROLE";
1525
+ type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
1641
1526
  created_at: string;
1642
1527
  updated_at: string;
1643
1528
  group: {
@@ -1654,7 +1539,7 @@ export interface components {
1654
1539
  id: string;
1655
1540
  name: string;
1656
1541
  groupId: string;
1657
- type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM" | "PRODUCTION_ROLE";
1542
+ type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
1658
1543
  created_at: string;
1659
1544
  updated_at: string;
1660
1545
  group: {
@@ -1674,7 +1559,7 @@ export interface components {
1674
1559
  id: string;
1675
1560
  name: string;
1676
1561
  groupId: string;
1677
- type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM" | "PRODUCTION_ROLE";
1562
+ type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
1678
1563
  created_at: string;
1679
1564
  updated_at: string;
1680
1565
  };
@@ -1682,7 +1567,7 @@ export interface components {
1682
1567
  id: string;
1683
1568
  name: string;
1684
1569
  groupId: string;
1685
- type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM" | "PRODUCTION_ROLE";
1570
+ type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
1686
1571
  created_at: string;
1687
1572
  updated_at: string;
1688
1573
  };
@@ -1779,7 +1664,7 @@ export interface components {
1779
1664
  id: string;
1780
1665
  name: string;
1781
1666
  groupId: string;
1782
- type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM" | "PRODUCTION_ROLE";
1667
+ type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
1783
1668
  created_at: string;
1784
1669
  updated_at: string;
1785
1670
  }[];
@@ -1789,7 +1674,7 @@ export interface components {
1789
1674
  globalFilter: {
1790
1675
  id: string;
1791
1676
  name: string;
1792
- type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM" | "PRODUCTION_ROLE";
1677
+ type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
1793
1678
  group: {
1794
1679
  id: string;
1795
1680
  color: string;
@@ -1808,7 +1693,7 @@ export interface components {
1808
1693
  globalFilter: {
1809
1694
  id: string;
1810
1695
  name: string;
1811
- type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM" | "PRODUCTION_ROLE";
1696
+ type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
1812
1697
  group: {
1813
1698
  id: string;
1814
1699
  color: string;
@@ -1819,7 +1704,7 @@ export interface components {
1819
1704
  id: string;
1820
1705
  name: string;
1821
1706
  groupId: string;
1822
- type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM" | "PRODUCTION_ROLE";
1707
+ type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
1823
1708
  created_at: string;
1824
1709
  updated_at: string;
1825
1710
  }[];
@@ -1849,7 +1734,7 @@ export interface components {
1849
1734
  id: string;
1850
1735
  name: string;
1851
1736
  groupId: string;
1852
- type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM" | "PRODUCTION_ROLE";
1737
+ type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
1853
1738
  created_at: string;
1854
1739
  updated_at: string;
1855
1740
  }[];
@@ -1865,7 +1750,7 @@ export interface components {
1865
1750
  id: string;
1866
1751
  name: string;
1867
1752
  groupId: string;
1868
- type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM" | "PRODUCTION_ROLE";
1753
+ type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
1869
1754
  created_at: string;
1870
1755
  updated_at: string;
1871
1756
  _count: {
@@ -1888,7 +1773,7 @@ export interface components {
1888
1773
  id: string;
1889
1774
  name: string;
1890
1775
  groupId: string;
1891
- type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM" | "PRODUCTION_ROLE";
1776
+ type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
1892
1777
  created_at: string;
1893
1778
  updated_at: string;
1894
1779
  }[];
@@ -2209,10 +2094,10 @@ export interface components {
2209
2094
  created_at: string;
2210
2095
  updated_at: string;
2211
2096
  }[];
2212
- profileTags: {
2097
+ tags: {
2213
2098
  id: string;
2214
2099
  name: string;
2215
- type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM" | "PRODUCTION_ROLE";
2100
+ type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
2216
2101
  group: {
2217
2102
  id: string;
2218
2103
  color: string;
@@ -2272,10 +2157,10 @@ export interface components {
2272
2157
  created_at: string;
2273
2158
  updated_at: string;
2274
2159
  }[];
2275
- profileTags: {
2160
+ tags: {
2276
2161
  id: string;
2277
2162
  name: string;
2278
- type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM" | "PRODUCTION_ROLE";
2163
+ type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
2279
2164
  group: {
2280
2165
  id: string;
2281
2166
  color: string;
@@ -2314,6 +2199,28 @@ export interface components {
2314
2199
  }[];
2315
2200
  }[];
2316
2201
  };
2202
+ GetAllStatisticsResponseDto: {
2203
+ totalIncome: number;
2204
+ emailByPurchasedTickets: {
2205
+ mail: string;
2206
+ ticketsPurchased: number;
2207
+ }[];
2208
+ attendancePercent: number;
2209
+ maxTicketPerTypeAll: {
2210
+ [key: string]: number | undefined;
2211
+ };
2212
+ emmitedticketPerTypeAll: {
2213
+ [key: string]: number | undefined;
2214
+ };
2215
+ eventDataIndividual: {
2216
+ id: string;
2217
+ name: string;
2218
+ price: number | null;
2219
+ purchasePercent: number;
2220
+ spectatorEventTicket: number | null;
2221
+ spectatorTicketsSold: number;
2222
+ }[];
2223
+ };
2317
2224
  GetByIdEventResponseDto: {
2318
2225
  id: string;
2319
2226
  name: string;
@@ -2364,11 +2271,11 @@ export interface components {
2364
2271
  type: "PARTICIPANT" | "STAFF" | "SPECTATOR";
2365
2272
  price: number | null;
2366
2273
  }[];
2367
- profileTags: {
2274
+ tags: {
2368
2275
  id: string;
2369
2276
  name: string;
2370
2277
  groupId: string;
2371
- type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM" | "PRODUCTION_ROLE";
2278
+ type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
2372
2279
  created_at: string;
2373
2280
  updated_at: string;
2374
2281
  group: {
@@ -2398,7 +2305,7 @@ export interface components {
2398
2305
  id: string;
2399
2306
  name: string;
2400
2307
  groupId: string;
2401
- type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM" | "PRODUCTION_ROLE";
2308
+ type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
2402
2309
  created_at: string;
2403
2310
  updated_at: string;
2404
2311
  group: {
@@ -2414,7 +2321,7 @@ export interface components {
2414
2321
  id: string;
2415
2322
  name: string;
2416
2323
  groupId: string;
2417
- type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM" | "PRODUCTION_ROLE";
2324
+ type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
2418
2325
  created_at: string;
2419
2326
  updated_at: string;
2420
2327
  group: {
@@ -2427,6 +2334,28 @@ export interface components {
2427
2334
  };
2428
2335
  };
2429
2336
  };
2337
+ GetStatisticsByIdResponseDto: {
2338
+ maxTickets: number;
2339
+ emmitedTickets: number;
2340
+ emittedTicketsPercent: number;
2341
+ emmitedticketPerType: {
2342
+ [key: string]: number | undefined;
2343
+ };
2344
+ totalIncome: number;
2345
+ maxTotalIncome: number;
2346
+ maxTicketPerType: {
2347
+ [key: string]: number | undefined;
2348
+ };
2349
+ totalTicketsScanned: number;
2350
+ notScanned: number;
2351
+ attendancePercent: number;
2352
+ attendancePerHour: (string | null)[];
2353
+ avgAmountPerTicketGroup: number | null;
2354
+ heatMapDates: {
2355
+ date: string;
2356
+ count: number;
2357
+ }[];
2358
+ };
2430
2359
  UpdateEventDto: {
2431
2360
  name: string;
2432
2361
  folderId: string | null;
@@ -2467,7 +2396,7 @@ export interface components {
2467
2396
  id: string;
2468
2397
  name: string;
2469
2398
  groupId: string;
2470
- type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM" | "PRODUCTION_ROLE";
2399
+ type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
2471
2400
  created_at: string;
2472
2401
  updated_at: string;
2473
2402
  group: {
@@ -2531,7 +2460,7 @@ export interface components {
2531
2460
  id: string;
2532
2461
  name: string;
2533
2462
  groupId: string;
2534
- type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM" | "PRODUCTION_ROLE";
2463
+ type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
2535
2464
  created_at: string;
2536
2465
  updated_at: string;
2537
2466
  group: {
@@ -2571,7 +2500,7 @@ export interface components {
2571
2500
  id: string;
2572
2501
  name: string;
2573
2502
  groupId: string;
2574
- type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM" | "PRODUCTION_ROLE";
2503
+ type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
2575
2504
  created_at: string;
2576
2505
  updated_at: string;
2577
2506
  }[];
@@ -2629,7 +2558,7 @@ export interface components {
2629
2558
  id: string;
2630
2559
  name: string;
2631
2560
  groupId: string;
2632
- type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM" | "PRODUCTION_ROLE";
2561
+ type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
2633
2562
  created_at: string;
2634
2563
  updated_at: string;
2635
2564
  group: {
@@ -2670,7 +2599,7 @@ export interface components {
2670
2599
  id: string;
2671
2600
  name: string;
2672
2601
  groupId: string;
2673
- type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM" | "PRODUCTION_ROLE";
2602
+ type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
2674
2603
  created_at: string;
2675
2604
  updated_at: string;
2676
2605
  }[];
@@ -2706,7 +2635,7 @@ export interface components {
2706
2635
  id: string;
2707
2636
  name: string;
2708
2637
  groupId: string;
2709
- type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM" | "PRODUCTION_ROLE";
2638
+ type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
2710
2639
  created_at: string;
2711
2640
  updated_at: string;
2712
2641
  group: {
@@ -2853,7 +2782,7 @@ export interface components {
2853
2782
  id: string;
2854
2783
  name: string;
2855
2784
  groupId: string;
2856
- type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM" | "PRODUCTION_ROLE";
2785
+ type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
2857
2786
  created_at: string;
2858
2787
  updated_at: string;
2859
2788
  group: {
@@ -3701,199 +3630,52 @@ export interface components {
3701
3630
  user_id: number;
3702
3631
  };
3703
3632
  Response: Record<string, never>;
3704
- GetAllProductionResponseDto: {
3705
- productions: {
3706
- id: string;
3707
- name: string;
3708
- administratorId: string | null;
3709
- created_at: string;
3710
- updated_at: string;
3711
- administrator: {
3712
- id: string;
3713
- shortId: number;
3714
- role: "USER" | "ADMIN" | "FORM" | "TICKETS" | "MI_EXPO";
3715
- firstTimeMiExpo: boolean;
3716
- username: string | null;
3717
- password: string | null;
3718
- phoneNumber: string;
3719
- isPhoneVerified: boolean;
3720
- secondaryPhoneNumber: string | null;
3721
- fullName: string;
3722
- firstName: string | null;
3723
- gender: string | null;
3724
- birthDate: string | null;
3725
- profilePictureUrl: string | null;
3726
- instagram: string | null;
3727
- mail: string | null;
3728
- dni: string | null;
3729
- alternativeNames: string[];
3730
- birthLocationId: string | null;
3731
- residenceLocationId: string | null;
3732
- isInTrash: boolean;
3733
- movedToTrashDate: string | null;
3734
- created_at: string;
3735
- updated_at: string;
3736
- } | null;
3737
- }[];
3738
- };
3739
- CreateProductionDto: {
3740
- name: string;
3741
- administratorId: string | null;
3633
+ };
3634
+ responses: never;
3635
+ parameters: never;
3636
+ requestBodies: never;
3637
+ headers: never;
3638
+ pathItems: never;
3639
+ }
3640
+ export type $defs = Record<string, never>;
3641
+ export interface operations {
3642
+ AuthController_loginAccount: {
3643
+ parameters: {
3644
+ query?: never;
3645
+ header?: never;
3646
+ path?: never;
3647
+ cookie?: never;
3742
3648
  };
3743
- CreateProductionRoleDto: {
3744
- name: string;
3649
+ requestBody: {
3650
+ content: {
3651
+ "application/json": components["schemas"]["LoginDto"];
3652
+ };
3745
3653
  };
3746
- UpdateProductionDto: {
3747
- name?: string;
3748
- administratorId?: string | null;
3654
+ responses: {
3655
+ 200: {
3656
+ headers: {
3657
+ [name: string]: unknown;
3658
+ };
3659
+ content: {
3660
+ "application/json": components["schemas"]["LoginResponseDto"];
3661
+ };
3662
+ };
3663
+ 401: {
3664
+ headers: {
3665
+ [name: string]: unknown;
3666
+ };
3667
+ content: {
3668
+ "application/json": components["schemas"]["ErrorDto"];
3669
+ };
3670
+ };
3749
3671
  };
3750
- UpdateProductionResponseDto: {
3751
- id: string;
3752
- name: string;
3753
- administratorId: string | null;
3754
- created_at: string;
3755
- updated_at: string;
3756
- };
3757
- DeleteProductionResponseDto: {
3758
- id: string;
3759
- name: string;
3760
- administratorId: string | null;
3761
- created_at: string;
3762
- updated_at: string;
3763
- };
3764
- CreateProductionAffiliationRequestDto: {
3765
- productionId: string;
3766
- };
3767
- UpdateProductionAffiliationRequestResponseDto: {
3768
- id: string;
3769
- productionId: string;
3770
- profileId: string;
3771
- status: "APPROVED" | "PENDING" | "REJECTED";
3772
- created_at: string;
3773
- updated_at: string;
3774
- production: {
3775
- id: string;
3776
- name: string;
3777
- administratorId: string | null;
3778
- created_at: string;
3779
- updated_at: string;
3780
- };
3781
- profile: {
3782
- id: string;
3783
- shortId: number;
3784
- role: "USER" | "ADMIN" | "FORM" | "TICKETS" | "MI_EXPO";
3785
- firstTimeMiExpo: boolean;
3786
- username: string | null;
3787
- password: string | null;
3788
- phoneNumber: string;
3789
- isPhoneVerified: boolean;
3790
- secondaryPhoneNumber: string | null;
3791
- fullName: string;
3792
- firstName: string | null;
3793
- gender: string | null;
3794
- birthDate: string | null;
3795
- profilePictureUrl: string | null;
3796
- instagram: string | null;
3797
- mail: string | null;
3798
- dni: string | null;
3799
- alternativeNames: string[];
3800
- birthLocationId: string | null;
3801
- residenceLocationId: string | null;
3802
- isInTrash: boolean;
3803
- movedToTrashDate: string | null;
3804
- created_at: string;
3805
- updated_at: string;
3806
- };
3807
- };
3808
- FindByProductionAffiliationRequestResponseDto: {
3809
- productions: {
3810
- id: string;
3811
- productionId: string;
3812
- profileId: string;
3813
- status: "APPROVED" | "PENDING" | "REJECTED";
3814
- created_at: string;
3815
- updated_at: string;
3816
- production: {
3817
- id: string;
3818
- name: string;
3819
- administratorId: string | null;
3820
- created_at: string;
3821
- updated_at: string;
3822
- };
3823
- profile: {
3824
- id: string;
3825
- shortId: number;
3826
- role: "USER" | "ADMIN" | "FORM" | "TICKETS" | "MI_EXPO";
3827
- firstTimeMiExpo: boolean;
3828
- username: string | null;
3829
- password: string | null;
3830
- phoneNumber: string;
3831
- isPhoneVerified: boolean;
3832
- secondaryPhoneNumber: string | null;
3833
- fullName: string;
3834
- firstName: string | null;
3835
- gender: string | null;
3836
- birthDate: string | null;
3837
- profilePictureUrl: string | null;
3838
- instagram: string | null;
3839
- mail: string | null;
3840
- dni: string | null;
3841
- alternativeNames: string[];
3842
- birthLocationId: string | null;
3843
- residenceLocationId: string | null;
3844
- isInTrash: boolean;
3845
- movedToTrashDate: string | null;
3846
- created_at: string;
3847
- updated_at: string;
3848
- };
3849
- }[];
3850
- };
3851
- };
3852
- responses: never;
3853
- parameters: never;
3854
- requestBodies: never;
3855
- headers: never;
3856
- pathItems: never;
3857
- }
3858
- export type $defs = Record<string, never>;
3859
- export interface operations {
3860
- AuthController_loginAccount: {
3861
- parameters: {
3862
- query?: never;
3863
- header?: never;
3864
- path?: never;
3865
- cookie?: never;
3866
- };
3867
- requestBody: {
3868
- content: {
3869
- "application/json": components["schemas"]["LoginDto"];
3870
- };
3871
- };
3872
- responses: {
3873
- 200: {
3874
- headers: {
3875
- [name: string]: unknown;
3876
- };
3877
- content: {
3878
- "application/json": components["schemas"]["LoginResponseDto"];
3879
- };
3880
- };
3881
- 401: {
3882
- headers: {
3883
- [name: string]: unknown;
3884
- };
3885
- content: {
3886
- "application/json": components["schemas"]["ErrorDto"];
3887
- };
3888
- };
3889
- };
3890
- };
3891
- AuthController_refreshToken: {
3892
- parameters: {
3893
- query?: never;
3894
- header?: never;
3895
- path?: never;
3896
- cookie?: never;
3672
+ };
3673
+ AuthController_refreshToken: {
3674
+ parameters: {
3675
+ query?: never;
3676
+ header?: never;
3677
+ path?: never;
3678
+ cookie?: never;
3897
3679
  };
3898
3680
  requestBody?: never;
3899
3681
  responses: {
@@ -4893,6 +4675,25 @@ export interface operations {
4893
4675
  };
4894
4676
  };
4895
4677
  };
4678
+ EventController_getStatistics: {
4679
+ parameters: {
4680
+ query?: never;
4681
+ header?: never;
4682
+ path?: never;
4683
+ cookie?: never;
4684
+ };
4685
+ requestBody?: never;
4686
+ responses: {
4687
+ 200: {
4688
+ headers: {
4689
+ [name: string]: unknown;
4690
+ };
4691
+ content: {
4692
+ "application/json": components["schemas"]["GetAllStatisticsResponseDto"];
4693
+ };
4694
+ };
4695
+ };
4696
+ };
4896
4697
  EventController_findById: {
4897
4698
  parameters: {
4898
4699
  query?: never;
@@ -4992,6 +4793,38 @@ export interface operations {
4992
4793
  };
4993
4794
  };
4994
4795
  };
4796
+ EventController_getStatisticsById: {
4797
+ parameters: {
4798
+ query: {
4799
+ gte: string;
4800
+ lte: string;
4801
+ };
4802
+ header?: never;
4803
+ path: {
4804
+ id: string;
4805
+ };
4806
+ cookie?: never;
4807
+ };
4808
+ requestBody?: never;
4809
+ responses: {
4810
+ 200: {
4811
+ headers: {
4812
+ [name: string]: unknown;
4813
+ };
4814
+ content: {
4815
+ "application/json": components["schemas"]["GetStatisticsByIdResponseDto"];
4816
+ };
4817
+ };
4818
+ 404: {
4819
+ headers: {
4820
+ [name: string]: unknown;
4821
+ };
4822
+ content: {
4823
+ "application/json": components["schemas"]["ErrorDto"];
4824
+ };
4825
+ };
4826
+ };
4827
+ };
4995
4828
  EventController_toggleActive: {
4996
4829
  parameters: {
4997
4830
  query?: never;
@@ -6742,289 +6575,4 @@ export interface operations {
6742
6575
  };
6743
6576
  };
6744
6577
  };
6745
- ProductionController_getAll: {
6746
- parameters: {
6747
- query?: never;
6748
- header?: never;
6749
- path?: never;
6750
- cookie?: never;
6751
- };
6752
- requestBody?: never;
6753
- responses: {
6754
- 200: {
6755
- headers: {
6756
- [name: string]: unknown;
6757
- };
6758
- content: {
6759
- "application/json": components["schemas"]["GetAllProductionResponseDto"];
6760
- };
6761
- };
6762
- };
6763
- };
6764
- ProductionController_create: {
6765
- parameters: {
6766
- query?: never;
6767
- header?: never;
6768
- path?: never;
6769
- cookie?: never;
6770
- };
6771
- requestBody: {
6772
- content: {
6773
- "application/json": components["schemas"]["CreateProductionDto"];
6774
- };
6775
- };
6776
- responses: {
6777
- 200: {
6778
- headers: {
6779
- [name: string]: unknown;
6780
- };
6781
- content: {
6782
- "application/json": components["schemas"]["CreateProductionDto"];
6783
- };
6784
- };
6785
- 409: {
6786
- headers: {
6787
- [name: string]: unknown;
6788
- };
6789
- content: {
6790
- "application/json": components["schemas"]["ErrorDto"];
6791
- };
6792
- };
6793
- };
6794
- };
6795
- ProductionController_createRole: {
6796
- parameters: {
6797
- query?: never;
6798
- header?: never;
6799
- path?: never;
6800
- cookie?: never;
6801
- };
6802
- requestBody: {
6803
- content: {
6804
- "application/json": components["schemas"]["CreateProductionRoleDto"];
6805
- };
6806
- };
6807
- responses: {
6808
- 201: {
6809
- headers: {
6810
- [name: string]: unknown;
6811
- };
6812
- content: {
6813
- "application/json": components["schemas"]["CreateProductionDto"];
6814
- };
6815
- };
6816
- };
6817
- };
6818
- ProductionController_update: {
6819
- parameters: {
6820
- query?: never;
6821
- header?: never;
6822
- path: {
6823
- id: string;
6824
- };
6825
- cookie?: never;
6826
- };
6827
- requestBody: {
6828
- content: {
6829
- "application/json": components["schemas"]["UpdateProductionDto"];
6830
- };
6831
- };
6832
- responses: {
6833
- 200: {
6834
- headers: {
6835
- [name: string]: unknown;
6836
- };
6837
- content: {
6838
- "application/json": components["schemas"]["UpdateProductionResponseDto"];
6839
- };
6840
- };
6841
- 404: {
6842
- headers: {
6843
- [name: string]: unknown;
6844
- };
6845
- content: {
6846
- "application/json": components["schemas"]["ErrorDto"];
6847
- };
6848
- };
6849
- 409: {
6850
- headers: {
6851
- [name: string]: unknown;
6852
- };
6853
- content: {
6854
- "application/json": components["schemas"]["ErrorDto"];
6855
- };
6856
- };
6857
- };
6858
- };
6859
- ProductionController_deleteProduction: {
6860
- parameters: {
6861
- query?: never;
6862
- header?: never;
6863
- path: {
6864
- id: string;
6865
- };
6866
- cookie?: never;
6867
- };
6868
- requestBody?: never;
6869
- responses: {
6870
- 200: {
6871
- headers: {
6872
- [name: string]: unknown;
6873
- };
6874
- content: {
6875
- "application/json": components["schemas"]["DeleteProductionResponseDto"];
6876
- };
6877
- };
6878
- 404: {
6879
- headers: {
6880
- [name: string]: unknown;
6881
- };
6882
- content: {
6883
- "application/json": components["schemas"]["ErrorDto"];
6884
- };
6885
- };
6886
- 409: {
6887
- headers: {
6888
- [name: string]: unknown;
6889
- };
6890
- content: {
6891
- "application/json": components["schemas"]["ErrorDto"];
6892
- };
6893
- };
6894
- };
6895
- };
6896
- ProductionAffiliationRequestController_create: {
6897
- parameters: {
6898
- query?: never;
6899
- header?: never;
6900
- path?: never;
6901
- cookie?: never;
6902
- };
6903
- requestBody: {
6904
- content: {
6905
- "application/json": components["schemas"]["CreateProductionAffiliationRequestDto"];
6906
- };
6907
- };
6908
- responses: {
6909
- 201: {
6910
- headers: {
6911
- [name: string]: unknown;
6912
- };
6913
- content: {
6914
- "application/json": components["schemas"]["CreateProductionAffiliationRequestDto"];
6915
- };
6916
- };
6917
- 409: {
6918
- headers: {
6919
- [name: string]: unknown;
6920
- };
6921
- content: {
6922
- "application/json": components["schemas"]["ErrorDto"];
6923
- };
6924
- };
6925
- };
6926
- };
6927
- ProductionAffiliationRequestController_accept: {
6928
- parameters: {
6929
- query?: never;
6930
- header?: never;
6931
- path: {
6932
- id: string;
6933
- };
6934
- cookie?: never;
6935
- };
6936
- requestBody?: never;
6937
- responses: {
6938
- 200: {
6939
- headers: {
6940
- [name: string]: unknown;
6941
- };
6942
- content: {
6943
- "application/json": components["schemas"]["UpdateProductionAffiliationRequestResponseDto"];
6944
- };
6945
- };
6946
- 401: {
6947
- headers: {
6948
- [name: string]: unknown;
6949
- };
6950
- content: {
6951
- "application/json": components["schemas"]["ErrorDto"];
6952
- };
6953
- };
6954
- 404: {
6955
- headers: {
6956
- [name: string]: unknown;
6957
- };
6958
- content: {
6959
- "application/json": components["schemas"]["ErrorDto"];
6960
- };
6961
- };
6962
- };
6963
- };
6964
- ProductionAffiliationRequestController_reject: {
6965
- parameters: {
6966
- query?: never;
6967
- header?: never;
6968
- path: {
6969
- id: string;
6970
- };
6971
- cookie?: never;
6972
- };
6973
- requestBody?: never;
6974
- responses: {
6975
- 200: {
6976
- headers: {
6977
- [name: string]: unknown;
6978
- };
6979
- content: {
6980
- "application/json": components["schemas"]["UpdateProductionAffiliationRequestResponseDto"];
6981
- };
6982
- };
6983
- 401: {
6984
- headers: {
6985
- [name: string]: unknown;
6986
- };
6987
- content: {
6988
- "application/json": components["schemas"]["ErrorDto"];
6989
- };
6990
- };
6991
- 404: {
6992
- headers: {
6993
- [name: string]: unknown;
6994
- };
6995
- content: {
6996
- "application/json": components["schemas"]["ErrorDto"];
6997
- };
6998
- };
6999
- };
7000
- };
7001
- ProductionAffiliationRequestController_findByProduction: {
7002
- parameters: {
7003
- query?: never;
7004
- header?: never;
7005
- path: {
7006
- id: string;
7007
- };
7008
- cookie?: never;
7009
- };
7010
- requestBody?: never;
7011
- responses: {
7012
- 200: {
7013
- headers: {
7014
- [name: string]: unknown;
7015
- };
7016
- content: {
7017
- "application/json": components["schemas"]["FindByProductionAffiliationRequestResponseDto"];
7018
- };
7019
- };
7020
- 404: {
7021
- headers: {
7022
- [name: string]: unknown;
7023
- };
7024
- content: {
7025
- "application/json": components["schemas"]["ErrorDto"];
7026
- };
7027
- };
7028
- };
7029
- };
7030
6578
  }