expo-backend-types 0.49.0-EXPO-355-ExpoBackend-Rutas-de-produccion.6 → 0.49.0-EXPO-350-ExpoBackend-Estadisticas-de-evento.8

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 (65) 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 +402 -0
  11. package/dist/src/event/dto/get-statistics-by-id-event.dto.js +35 -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 -53
  16. package/dist/src/i18n/es.js +7 -53
  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 +6849 -11395
  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 +228 -599
  43. package/package.json +1 -1
  44. package/dist/src/production/dto/create-production.dto.d.ts +0 -36
  45. package/dist/src/production/dto/create-production.dto.js +0 -17
  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/production.dto.d.ts +0 -20
  51. package/dist/src/production/dto/production.dto.js +0 -21
  52. package/dist/src/production/dto/update-production.dto.d.ts +0 -63
  53. package/dist/src/production/dto/update-production.dto.js +0 -19
  54. package/dist/src/production/exports.d.ts +0 -5
  55. package/dist/src/production/exports.js +0 -22
  56. package/dist/src/production-affiliation-request/dto/create-production-affiliation-request.dto.d.ts +0 -80
  57. package/dist/src/production-affiliation-request/dto/create-production-affiliation-request.dto.js +0 -16
  58. package/dist/src/production-affiliation-request/dto/find-by-production-affiliation-request.dto.d.ts +0 -563
  59. package/dist/src/production-affiliation-request/dto/find-by-production-affiliation-request.dto.js +0 -21
  60. package/dist/src/production-affiliation-request/dto/production-affiliation-request.dto.d.ts +0 -27
  61. package/dist/src/production-affiliation-request/dto/production-affiliation-request.dto.js +0 -22
  62. package/dist/src/production-affiliation-request/dto/update-production-affiliation-request.dto.d.ts +0 -390
  63. package/dist/src/production-affiliation-request/dto/update-production-affiliation-request.dto.js +0 -15
  64. package/dist/src/production-affiliation-request/exports.d.ts +0 -4
  65. 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,134 +1455,6 @@ export interface paths {
1423
1455
  patch?: never;
1424
1456
  trace?: never;
1425
1457
  };
1426
- "/production/create": {
1427
- parameters: {
1428
- query?: never;
1429
- header?: never;
1430
- path?: never;
1431
- cookie?: never;
1432
- };
1433
- get?: never;
1434
- put?: never;
1435
- post: operations["ProductionController_create"];
1436
- delete?: never;
1437
- options?: never;
1438
- head?: never;
1439
- patch?: never;
1440
- trace?: never;
1441
- };
1442
- "/production/create-role": {
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_createRole"];
1452
- delete?: never;
1453
- options?: never;
1454
- head?: never;
1455
- patch?: never;
1456
- trace?: never;
1457
- };
1458
- "/production/update/{id}": {
1459
- parameters: {
1460
- query?: never;
1461
- header?: never;
1462
- path?: never;
1463
- cookie?: never;
1464
- };
1465
- get?: never;
1466
- put?: never;
1467
- post?: never;
1468
- delete?: never;
1469
- options?: never;
1470
- head?: never;
1471
- patch: operations["ProductionController_update"];
1472
- trace?: never;
1473
- };
1474
- "/production/delete/{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: operations["ProductionController_deleteProduction"];
1485
- options?: never;
1486
- head?: never;
1487
- patch?: never;
1488
- trace?: never;
1489
- };
1490
- "/production-affiliation-request/create": {
1491
- parameters: {
1492
- query?: never;
1493
- header?: never;
1494
- path?: never;
1495
- cookie?: never;
1496
- };
1497
- get?: never;
1498
- put?: never;
1499
- post: operations["ProductionAffiliationRequestController_create"];
1500
- delete?: never;
1501
- options?: never;
1502
- head?: never;
1503
- patch?: never;
1504
- trace?: never;
1505
- };
1506
- "/production-affiliation-request/accept/{id}": {
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_accept"];
1516
- delete?: never;
1517
- options?: never;
1518
- head?: never;
1519
- patch?: never;
1520
- trace?: never;
1521
- };
1522
- "/production-affiliation-request/reject/{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_reject"];
1532
- delete?: never;
1533
- options?: never;
1534
- head?: never;
1535
- patch?: never;
1536
- trace?: never;
1537
- };
1538
- "/production-affiliation-request/get-by-production/{id}": {
1539
- parameters: {
1540
- query?: never;
1541
- header?: never;
1542
- path?: never;
1543
- cookie?: never;
1544
- };
1545
- get: operations["ProductionAffiliationRequestController_findByProduction"];
1546
- put?: never;
1547
- post?: never;
1548
- delete?: never;
1549
- options?: never;
1550
- head?: never;
1551
- patch?: never;
1552
- trace?: never;
1553
- };
1554
1458
  }
1555
1459
  export type webhooks = Record<string, never>;
1556
1460
  export interface components {
@@ -1588,22 +1492,19 @@ export interface components {
1588
1492
  CreateTagDto: {
1589
1493
  name: string;
1590
1494
  groupId: string;
1591
- type?: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM" | "PRODUCTION_ROLE";
1592
1495
  };
1593
1496
  CreateTagResponseDto: {
1594
1497
  id: string;
1595
1498
  name: string;
1596
1499
  groupId: string;
1597
- type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM" | "PRODUCTION_ROLE";
1598
- created_at: string;
1599
- updated_at: string;
1500
+ type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
1600
1501
  };
1601
1502
  FindAllTagResponseDto: {
1602
1503
  tags: {
1603
1504
  id: string;
1604
1505
  name: string;
1605
1506
  groupId: string;
1606
- type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM" | "PRODUCTION_ROLE";
1507
+ type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
1607
1508
  created_at: string;
1608
1509
  updated_at: string;
1609
1510
  group: {
@@ -1621,7 +1522,7 @@ export interface components {
1621
1522
  id: string;
1622
1523
  name: string;
1623
1524
  groupId: string;
1624
- type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM" | "PRODUCTION_ROLE";
1525
+ type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
1625
1526
  created_at: string;
1626
1527
  updated_at: string;
1627
1528
  group: {
@@ -1638,7 +1539,7 @@ export interface components {
1638
1539
  id: string;
1639
1540
  name: string;
1640
1541
  groupId: string;
1641
- type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM" | "PRODUCTION_ROLE";
1542
+ type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
1642
1543
  created_at: string;
1643
1544
  updated_at: string;
1644
1545
  group: {
@@ -1658,7 +1559,7 @@ export interface components {
1658
1559
  id: string;
1659
1560
  name: string;
1660
1561
  groupId: string;
1661
- type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM" | "PRODUCTION_ROLE";
1562
+ type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
1662
1563
  created_at: string;
1663
1564
  updated_at: string;
1664
1565
  };
@@ -1666,7 +1567,7 @@ export interface components {
1666
1567
  id: string;
1667
1568
  name: string;
1668
1569
  groupId: string;
1669
- type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM" | "PRODUCTION_ROLE";
1570
+ type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
1670
1571
  created_at: string;
1671
1572
  updated_at: string;
1672
1573
  };
@@ -1763,7 +1664,7 @@ export interface components {
1763
1664
  id: string;
1764
1665
  name: string;
1765
1666
  groupId: string;
1766
- type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM" | "PRODUCTION_ROLE";
1667
+ type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
1767
1668
  created_at: string;
1768
1669
  updated_at: string;
1769
1670
  }[];
@@ -1773,7 +1674,7 @@ export interface components {
1773
1674
  globalFilter: {
1774
1675
  id: string;
1775
1676
  name: string;
1776
- type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM" | "PRODUCTION_ROLE";
1677
+ type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
1777
1678
  group: {
1778
1679
  id: string;
1779
1680
  color: string;
@@ -1792,7 +1693,7 @@ export interface components {
1792
1693
  globalFilter: {
1793
1694
  id: string;
1794
1695
  name: string;
1795
- type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM" | "PRODUCTION_ROLE";
1696
+ type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
1796
1697
  group: {
1797
1698
  id: string;
1798
1699
  color: string;
@@ -1803,7 +1704,7 @@ export interface components {
1803
1704
  id: string;
1804
1705
  name: string;
1805
1706
  groupId: string;
1806
- type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM" | "PRODUCTION_ROLE";
1707
+ type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
1807
1708
  created_at: string;
1808
1709
  updated_at: string;
1809
1710
  }[];
@@ -1833,7 +1734,7 @@ export interface components {
1833
1734
  id: string;
1834
1735
  name: string;
1835
1736
  groupId: string;
1836
- type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM" | "PRODUCTION_ROLE";
1737
+ type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
1837
1738
  created_at: string;
1838
1739
  updated_at: string;
1839
1740
  }[];
@@ -1849,7 +1750,7 @@ export interface components {
1849
1750
  id: string;
1850
1751
  name: string;
1851
1752
  groupId: string;
1852
- type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM" | "PRODUCTION_ROLE";
1753
+ type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
1853
1754
  created_at: string;
1854
1755
  updated_at: string;
1855
1756
  _count: {
@@ -1872,7 +1773,7 @@ export interface components {
1872
1773
  id: string;
1873
1774
  name: string;
1874
1775
  groupId: string;
1875
- type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM" | "PRODUCTION_ROLE";
1776
+ type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
1876
1777
  created_at: string;
1877
1778
  updated_at: string;
1878
1779
  }[];
@@ -2193,10 +2094,10 @@ export interface components {
2193
2094
  created_at: string;
2194
2095
  updated_at: string;
2195
2096
  }[];
2196
- profileTags: {
2097
+ tags: {
2197
2098
  id: string;
2198
2099
  name: string;
2199
- type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM" | "PRODUCTION_ROLE";
2100
+ type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
2200
2101
  group: {
2201
2102
  id: string;
2202
2103
  color: string;
@@ -2256,10 +2157,10 @@ export interface components {
2256
2157
  created_at: string;
2257
2158
  updated_at: string;
2258
2159
  }[];
2259
- profileTags: {
2160
+ tags: {
2260
2161
  id: string;
2261
2162
  name: string;
2262
- type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM" | "PRODUCTION_ROLE";
2163
+ type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
2263
2164
  group: {
2264
2165
  id: string;
2265
2166
  color: string;
@@ -2298,6 +2199,28 @@ export interface components {
2298
2199
  }[];
2299
2200
  }[];
2300
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
+ };
2301
2224
  GetByIdEventResponseDto: {
2302
2225
  id: string;
2303
2226
  name: string;
@@ -2348,11 +2271,11 @@ export interface components {
2348
2271
  type: "PARTICIPANT" | "STAFF" | "SPECTATOR";
2349
2272
  price: number | null;
2350
2273
  }[];
2351
- profileTags: {
2274
+ tags: {
2352
2275
  id: string;
2353
2276
  name: string;
2354
2277
  groupId: string;
2355
- type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM" | "PRODUCTION_ROLE";
2278
+ type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
2356
2279
  created_at: string;
2357
2280
  updated_at: string;
2358
2281
  group: {
@@ -2382,7 +2305,7 @@ export interface components {
2382
2305
  id: string;
2383
2306
  name: string;
2384
2307
  groupId: string;
2385
- type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM" | "PRODUCTION_ROLE";
2308
+ type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
2386
2309
  created_at: string;
2387
2310
  updated_at: string;
2388
2311
  group: {
@@ -2398,7 +2321,7 @@ export interface components {
2398
2321
  id: string;
2399
2322
  name: string;
2400
2323
  groupId: string;
2401
- type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM" | "PRODUCTION_ROLE";
2324
+ type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
2402
2325
  created_at: string;
2403
2326
  updated_at: string;
2404
2327
  group: {
@@ -2411,6 +2334,38 @@ export interface components {
2411
2334
  };
2412
2335
  };
2413
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: {
2353
+ id: string;
2354
+ eventId: string;
2355
+ type: "PARTICIPANT" | "STAFF" | "SPECTATOR";
2356
+ fullName: string;
2357
+ mail: string;
2358
+ dni: string;
2359
+ seat: number | null;
2360
+ scanned: boolean;
2361
+ scannedAt: string | null;
2362
+ ticketGroupId: string | null;
2363
+ created_at: string;
2364
+ updated_at: string;
2365
+ }[];
2366
+ avgAmountPerTicketGroup: number | null;
2367
+ heatMapDates: string[];
2368
+ };
2414
2369
  UpdateEventDto: {
2415
2370
  name: string;
2416
2371
  folderId: string | null;
@@ -2451,7 +2406,7 @@ export interface components {
2451
2406
  id: string;
2452
2407
  name: string;
2453
2408
  groupId: string;
2454
- type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM" | "PRODUCTION_ROLE";
2409
+ type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
2455
2410
  created_at: string;
2456
2411
  updated_at: string;
2457
2412
  group: {
@@ -2515,7 +2470,7 @@ export interface components {
2515
2470
  id: string;
2516
2471
  name: string;
2517
2472
  groupId: string;
2518
- type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM" | "PRODUCTION_ROLE";
2473
+ type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
2519
2474
  created_at: string;
2520
2475
  updated_at: string;
2521
2476
  group: {
@@ -2555,7 +2510,7 @@ export interface components {
2555
2510
  id: string;
2556
2511
  name: string;
2557
2512
  groupId: string;
2558
- type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM" | "PRODUCTION_ROLE";
2513
+ type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
2559
2514
  created_at: string;
2560
2515
  updated_at: string;
2561
2516
  }[];
@@ -2613,7 +2568,7 @@ export interface components {
2613
2568
  id: string;
2614
2569
  name: string;
2615
2570
  groupId: string;
2616
- type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM" | "PRODUCTION_ROLE";
2571
+ type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
2617
2572
  created_at: string;
2618
2573
  updated_at: string;
2619
2574
  group: {
@@ -2654,7 +2609,7 @@ export interface components {
2654
2609
  id: string;
2655
2610
  name: string;
2656
2611
  groupId: string;
2657
- type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM" | "PRODUCTION_ROLE";
2612
+ type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
2658
2613
  created_at: string;
2659
2614
  updated_at: string;
2660
2615
  }[];
@@ -2690,7 +2645,7 @@ export interface components {
2690
2645
  id: string;
2691
2646
  name: string;
2692
2647
  groupId: string;
2693
- type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM" | "PRODUCTION_ROLE";
2648
+ type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
2694
2649
  created_at: string;
2695
2650
  updated_at: string;
2696
2651
  group: {
@@ -2837,7 +2792,7 @@ export interface components {
2837
2792
  id: string;
2838
2793
  name: string;
2839
2794
  groupId: string;
2840
- type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM" | "PRODUCTION_ROLE";
2795
+ type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
2841
2796
  created_at: string;
2842
2797
  updated_at: string;
2843
2798
  group: {
@@ -3685,186 +3640,75 @@ export interface components {
3685
3640
  user_id: number;
3686
3641
  };
3687
3642
  Response: Record<string, never>;
3688
- CreateProductionDto: {
3689
- name: string;
3643
+ };
3644
+ responses: never;
3645
+ parameters: never;
3646
+ requestBodies: never;
3647
+ headers: never;
3648
+ pathItems: never;
3649
+ }
3650
+ export type $defs = Record<string, never>;
3651
+ export interface operations {
3652
+ AuthController_loginAccount: {
3653
+ parameters: {
3654
+ query?: never;
3655
+ header?: never;
3656
+ path?: never;
3657
+ cookie?: never;
3690
3658
  };
3691
- CreateProductionRoleDto: {
3692
- name: string;
3659
+ requestBody: {
3660
+ content: {
3661
+ "application/json": components["schemas"]["LoginDto"];
3662
+ };
3693
3663
  };
3694
- UpdateProductionDto: {
3695
- name?: string;
3696
- administratorId?: string | null;
3664
+ responses: {
3665
+ 200: {
3666
+ headers: {
3667
+ [name: string]: unknown;
3668
+ };
3669
+ content: {
3670
+ "application/json": components["schemas"]["LoginResponseDto"];
3671
+ };
3672
+ };
3673
+ 401: {
3674
+ headers: {
3675
+ [name: string]: unknown;
3676
+ };
3677
+ content: {
3678
+ "application/json": components["schemas"]["ErrorDto"];
3679
+ };
3680
+ };
3697
3681
  };
3698
- UpdateProductionResponseDto: {
3699
- id: string;
3700
- name: string;
3701
- administratorId: string | null;
3702
- created_at: string;
3703
- updated_at: string;
3682
+ };
3683
+ AuthController_refreshToken: {
3684
+ parameters: {
3685
+ query?: never;
3686
+ header?: never;
3687
+ path?: never;
3688
+ cookie?: never;
3704
3689
  };
3705
- DeleteProductionResponseDto: {
3706
- id: string;
3707
- name: string;
3708
- administratorId: string | null;
3709
- created_at: string;
3710
- updated_at: string;
3690
+ requestBody?: never;
3691
+ responses: {
3692
+ 200: {
3693
+ headers: {
3694
+ [name: string]: unknown;
3695
+ };
3696
+ content: {
3697
+ "application/json": components["schemas"]["RefreshResponseDto"];
3698
+ };
3699
+ };
3711
3700
  };
3712
- CreateProductionAffiliationRequestDto: {
3713
- productionId: string;
3701
+ };
3702
+ TagController_create: {
3703
+ parameters: {
3704
+ query?: never;
3705
+ header?: never;
3706
+ path?: never;
3707
+ cookie?: never;
3714
3708
  };
3715
- UpdateProductionAffiliationRequestResponseDto: {
3716
- id: string;
3717
- productionId: string;
3718
- profileId: string;
3719
- status: "APPROVED" | "PENDING" | "REJECTED";
3720
- created_at: string;
3721
- updated_at: string;
3722
- production: {
3723
- id: string;
3724
- name: string;
3725
- administratorId: string | null;
3726
- created_at: string;
3727
- updated_at: string;
3728
- };
3729
- profile: {
3730
- id: string;
3731
- shortId: number;
3732
- role: "USER" | "ADMIN" | "FORM" | "TICKETS" | "MI_EXPO";
3733
- firstTimeMiExpo: boolean;
3734
- username: string | null;
3735
- password: string | null;
3736
- phoneNumber: string;
3737
- isPhoneVerified: boolean;
3738
- secondaryPhoneNumber: string | null;
3739
- fullName: string;
3740
- firstName: string | null;
3741
- gender: string | null;
3742
- birthDate: string | null;
3743
- profilePictureUrl: string | null;
3744
- instagram: string | null;
3745
- mail: string | null;
3746
- dni: string | null;
3747
- alternativeNames: string[];
3748
- birthLocationId: string | null;
3749
- residenceLocationId: string | null;
3750
- isInTrash: boolean;
3751
- movedToTrashDate: string | null;
3752
- created_at: string;
3753
- updated_at: string;
3754
- };
3755
- };
3756
- FindByProductionAffiliationRequestResponseDto: {
3757
- productions: {
3758
- id: string;
3759
- productionId: string;
3760
- profileId: string;
3761
- status: "APPROVED" | "PENDING" | "REJECTED";
3762
- created_at: string;
3763
- updated_at: string;
3764
- production: {
3765
- id: string;
3766
- name: string;
3767
- administratorId: string | null;
3768
- created_at: string;
3769
- updated_at: string;
3770
- };
3771
- profile: {
3772
- id: string;
3773
- shortId: number;
3774
- role: "USER" | "ADMIN" | "FORM" | "TICKETS" | "MI_EXPO";
3775
- firstTimeMiExpo: boolean;
3776
- username: string | null;
3777
- password: string | null;
3778
- phoneNumber: string;
3779
- isPhoneVerified: boolean;
3780
- secondaryPhoneNumber: string | null;
3781
- fullName: string;
3782
- firstName: string | null;
3783
- gender: string | null;
3784
- birthDate: string | null;
3785
- profilePictureUrl: string | null;
3786
- instagram: string | null;
3787
- mail: string | null;
3788
- dni: string | null;
3789
- alternativeNames: string[];
3790
- birthLocationId: string | null;
3791
- residenceLocationId: string | null;
3792
- isInTrash: boolean;
3793
- movedToTrashDate: string | null;
3794
- created_at: string;
3795
- updated_at: string;
3796
- };
3797
- }[];
3798
- };
3799
- };
3800
- responses: never;
3801
- parameters: never;
3802
- requestBodies: never;
3803
- headers: never;
3804
- pathItems: never;
3805
- }
3806
- export type $defs = Record<string, never>;
3807
- export interface operations {
3808
- AuthController_loginAccount: {
3809
- parameters: {
3810
- query?: never;
3811
- header?: never;
3812
- path?: never;
3813
- cookie?: never;
3814
- };
3815
- requestBody: {
3816
- content: {
3817
- "application/json": components["schemas"]["LoginDto"];
3818
- };
3819
- };
3820
- responses: {
3821
- 200: {
3822
- headers: {
3823
- [name: string]: unknown;
3824
- };
3825
- content: {
3826
- "application/json": components["schemas"]["LoginResponseDto"];
3827
- };
3828
- };
3829
- 401: {
3830
- headers: {
3831
- [name: string]: unknown;
3832
- };
3833
- content: {
3834
- "application/json": components["schemas"]["ErrorDto"];
3835
- };
3836
- };
3837
- };
3838
- };
3839
- AuthController_refreshToken: {
3840
- parameters: {
3841
- query?: never;
3842
- header?: never;
3843
- path?: never;
3844
- cookie?: never;
3845
- };
3846
- requestBody?: never;
3847
- responses: {
3848
- 200: {
3849
- headers: {
3850
- [name: string]: unknown;
3851
- };
3852
- content: {
3853
- "application/json": components["schemas"]["RefreshResponseDto"];
3854
- };
3855
- };
3856
- };
3857
- };
3858
- TagController_create: {
3859
- parameters: {
3860
- query?: never;
3861
- header?: never;
3862
- path?: never;
3863
- cookie?: never;
3864
- };
3865
- requestBody: {
3866
- content: {
3867
- "application/json": components["schemas"]["CreateTagDto"];
3709
+ requestBody: {
3710
+ content: {
3711
+ "application/json": components["schemas"]["CreateTagDto"];
3868
3712
  };
3869
3713
  };
3870
3714
  responses: {
@@ -4841,6 +4685,25 @@ export interface operations {
4841
4685
  };
4842
4686
  };
4843
4687
  };
4688
+ EventController_getStatistics: {
4689
+ parameters: {
4690
+ query?: never;
4691
+ header?: never;
4692
+ path?: never;
4693
+ cookie?: never;
4694
+ };
4695
+ requestBody?: never;
4696
+ responses: {
4697
+ 200: {
4698
+ headers: {
4699
+ [name: string]: unknown;
4700
+ };
4701
+ content: {
4702
+ "application/json": components["schemas"]["GetAllStatisticsResponseDto"];
4703
+ };
4704
+ };
4705
+ };
4706
+ };
4844
4707
  EventController_findById: {
4845
4708
  parameters: {
4846
4709
  query?: never;
@@ -4940,6 +4803,38 @@ export interface operations {
4940
4803
  };
4941
4804
  };
4942
4805
  };
4806
+ EventController_getStatisticsById: {
4807
+ parameters: {
4808
+ query: {
4809
+ gte: string;
4810
+ lte: string;
4811
+ };
4812
+ header?: never;
4813
+ path: {
4814
+ id: string;
4815
+ };
4816
+ cookie?: never;
4817
+ };
4818
+ requestBody?: never;
4819
+ responses: {
4820
+ 200: {
4821
+ headers: {
4822
+ [name: string]: unknown;
4823
+ };
4824
+ content: {
4825
+ "application/json": components["schemas"]["GetStatisticsByIdResponseDto"];
4826
+ };
4827
+ };
4828
+ 404: {
4829
+ headers: {
4830
+ [name: string]: unknown;
4831
+ };
4832
+ content: {
4833
+ "application/json": components["schemas"]["ErrorDto"];
4834
+ };
4835
+ };
4836
+ };
4837
+ };
4943
4838
  EventController_toggleActive: {
4944
4839
  parameters: {
4945
4840
  query?: never;
@@ -6690,270 +6585,4 @@ export interface operations {
6690
6585
  };
6691
6586
  };
6692
6587
  };
6693
- ProductionController_create: {
6694
- parameters: {
6695
- query?: never;
6696
- header?: never;
6697
- path?: never;
6698
- cookie?: never;
6699
- };
6700
- requestBody: {
6701
- content: {
6702
- "application/json": components["schemas"]["CreateProductionDto"];
6703
- };
6704
- };
6705
- responses: {
6706
- 200: {
6707
- headers: {
6708
- [name: string]: unknown;
6709
- };
6710
- content: {
6711
- "application/json": components["schemas"]["CreateProductionDto"];
6712
- };
6713
- };
6714
- 409: {
6715
- headers: {
6716
- [name: string]: unknown;
6717
- };
6718
- content: {
6719
- "application/json": components["schemas"]["ErrorDto"];
6720
- };
6721
- };
6722
- };
6723
- };
6724
- ProductionController_createRole: {
6725
- parameters: {
6726
- query?: never;
6727
- header?: never;
6728
- path?: never;
6729
- cookie?: never;
6730
- };
6731
- requestBody: {
6732
- content: {
6733
- "application/json": components["schemas"]["CreateProductionRoleDto"];
6734
- };
6735
- };
6736
- responses: {
6737
- 201: {
6738
- headers: {
6739
- [name: string]: unknown;
6740
- };
6741
- content: {
6742
- "application/json": components["schemas"]["CreateProductionDto"];
6743
- };
6744
- };
6745
- };
6746
- };
6747
- ProductionController_update: {
6748
- parameters: {
6749
- query?: never;
6750
- header?: never;
6751
- path: {
6752
- id: string;
6753
- };
6754
- cookie?: never;
6755
- };
6756
- requestBody: {
6757
- content: {
6758
- "application/json": components["schemas"]["UpdateProductionDto"];
6759
- };
6760
- };
6761
- responses: {
6762
- 200: {
6763
- headers: {
6764
- [name: string]: unknown;
6765
- };
6766
- content: {
6767
- "application/json": components["schemas"]["UpdateProductionResponseDto"];
6768
- };
6769
- };
6770
- 404: {
6771
- headers: {
6772
- [name: string]: unknown;
6773
- };
6774
- content: {
6775
- "application/json": components["schemas"]["ErrorDto"];
6776
- };
6777
- };
6778
- 409: {
6779
- headers: {
6780
- [name: string]: unknown;
6781
- };
6782
- content: {
6783
- "application/json": components["schemas"]["ErrorDto"];
6784
- };
6785
- };
6786
- };
6787
- };
6788
- ProductionController_deleteProduction: {
6789
- parameters: {
6790
- query?: never;
6791
- header?: never;
6792
- path: {
6793
- id: string;
6794
- };
6795
- cookie?: never;
6796
- };
6797
- requestBody?: never;
6798
- responses: {
6799
- 200: {
6800
- headers: {
6801
- [name: string]: unknown;
6802
- };
6803
- content: {
6804
- "application/json": components["schemas"]["DeleteProductionResponseDto"];
6805
- };
6806
- };
6807
- 404: {
6808
- headers: {
6809
- [name: string]: unknown;
6810
- };
6811
- content: {
6812
- "application/json": components["schemas"]["ErrorDto"];
6813
- };
6814
- };
6815
- 409: {
6816
- headers: {
6817
- [name: string]: unknown;
6818
- };
6819
- content: {
6820
- "application/json": components["schemas"]["ErrorDto"];
6821
- };
6822
- };
6823
- };
6824
- };
6825
- ProductionAffiliationRequestController_create: {
6826
- parameters: {
6827
- query?: never;
6828
- header?: never;
6829
- path?: never;
6830
- cookie?: never;
6831
- };
6832
- requestBody: {
6833
- content: {
6834
- "application/json": components["schemas"]["CreateProductionAffiliationRequestDto"];
6835
- };
6836
- };
6837
- responses: {
6838
- 201: {
6839
- headers: {
6840
- [name: string]: unknown;
6841
- };
6842
- content: {
6843
- "application/json": components["schemas"]["CreateProductionAffiliationRequestDto"];
6844
- };
6845
- };
6846
- 409: {
6847
- headers: {
6848
- [name: string]: unknown;
6849
- };
6850
- content: {
6851
- "application/json": components["schemas"]["ErrorDto"];
6852
- };
6853
- };
6854
- };
6855
- };
6856
- ProductionAffiliationRequestController_accept: {
6857
- parameters: {
6858
- query?: never;
6859
- header?: never;
6860
- path: {
6861
- id: string;
6862
- };
6863
- cookie?: never;
6864
- };
6865
- requestBody?: never;
6866
- responses: {
6867
- 200: {
6868
- headers: {
6869
- [name: string]: unknown;
6870
- };
6871
- content: {
6872
- "application/json": components["schemas"]["UpdateProductionAffiliationRequestResponseDto"];
6873
- };
6874
- };
6875
- 401: {
6876
- headers: {
6877
- [name: string]: unknown;
6878
- };
6879
- content: {
6880
- "application/json": components["schemas"]["ErrorDto"];
6881
- };
6882
- };
6883
- 404: {
6884
- headers: {
6885
- [name: string]: unknown;
6886
- };
6887
- content: {
6888
- "application/json": components["schemas"]["ErrorDto"];
6889
- };
6890
- };
6891
- };
6892
- };
6893
- ProductionAffiliationRequestController_reject: {
6894
- parameters: {
6895
- query?: never;
6896
- header?: never;
6897
- path: {
6898
- id: string;
6899
- };
6900
- cookie?: never;
6901
- };
6902
- requestBody?: never;
6903
- responses: {
6904
- 200: {
6905
- headers: {
6906
- [name: string]: unknown;
6907
- };
6908
- content: {
6909
- "application/json": components["schemas"]["UpdateProductionAffiliationRequestResponseDto"];
6910
- };
6911
- };
6912
- 401: {
6913
- headers: {
6914
- [name: string]: unknown;
6915
- };
6916
- content: {
6917
- "application/json": components["schemas"]["ErrorDto"];
6918
- };
6919
- };
6920
- 404: {
6921
- headers: {
6922
- [name: string]: unknown;
6923
- };
6924
- content: {
6925
- "application/json": components["schemas"]["ErrorDto"];
6926
- };
6927
- };
6928
- };
6929
- };
6930
- ProductionAffiliationRequestController_findByProduction: {
6931
- parameters: {
6932
- query?: never;
6933
- header?: never;
6934
- path: {
6935
- id: string;
6936
- };
6937
- cookie?: never;
6938
- };
6939
- requestBody?: never;
6940
- responses: {
6941
- 200: {
6942
- headers: {
6943
- [name: string]: unknown;
6944
- };
6945
- content: {
6946
- "application/json": components["schemas"]["FindByProductionAffiliationRequestResponseDto"];
6947
- };
6948
- };
6949
- 404: {
6950
- headers: {
6951
- [name: string]: unknown;
6952
- };
6953
- content: {
6954
- "application/json": components["schemas"]["ErrorDto"];
6955
- };
6956
- };
6957
- };
6958
- };
6959
6588
  }