expo-backend-types 0.52.0-EXPO-343-Quique-Wolff.1 → 0.52.0-EXPO-343-Quique-Wolff.3

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 (73) hide show
  1. package/dist/src/account/dto/get-global-filter.dto.d.ts +10 -8
  2. package/dist/src/account/dto/get-me.dto.d.ts +20 -16
  3. package/dist/src/account/dto/update-global-filter.dto.d.ts +10 -8
  4. package/dist/src/event/dto/create-event.dto.d.ts +21 -4
  5. package/dist/src/event/dto/create-event.dto.js +1 -1
  6. package/dist/src/event/dto/event-tickets.dto.d.ts +33 -2
  7. package/dist/src/event/dto/event-tickets.dto.js +18 -8
  8. package/dist/src/event/dto/get-active-events.dto.d.ts +23 -3
  9. package/dist/src/event/dto/get-all-event.dto.d.ts +284 -240
  10. package/dist/src/event/dto/get-all-event.dto.js +3 -3
  11. package/dist/src/event/dto/get-all-statistics.dto.d.ts +373 -0
  12. package/dist/src/event/dto/get-all-statistics.dto.js +40 -0
  13. package/dist/src/event/dto/get-by-id-event.dto.d.ts +159 -129
  14. package/dist/src/event/dto/get-by-id-event.dto.js +1 -1
  15. package/dist/src/event/dto/get-statistics-by-id-event.dto.d.ts +303 -0
  16. package/dist/src/event/dto/get-statistics-by-id-event.dto.js +40 -0
  17. package/dist/src/event/dto/update-event.dto.d.ts +87 -47
  18. package/dist/src/event/dto/update-event.dto.js +2 -4
  19. package/dist/src/exports.d.ts +1 -0
  20. package/dist/src/exports.js +1 -0
  21. package/dist/src/i18n/es.d.ts +65 -1
  22. package/dist/src/i18n/es.js +67 -1
  23. package/dist/src/i18n/es.js.map +1 -1
  24. package/dist/src/production/dto/create-production.dto.d.ts +41 -0
  25. package/dist/src/production/dto/create-production.dto.js +18 -0
  26. package/dist/src/production/dto/create-role.dto.d.ts +86 -0
  27. package/dist/src/production/dto/create-role.dto.js +16 -0
  28. package/dist/src/production/dto/delete-production.dto.d.ts +41 -0
  29. package/dist/src/production/dto/delete-production.dto.js +10 -0
  30. package/dist/src/production/dto/get-all-production.dto.d.ts +451 -0
  31. package/dist/src/production/dto/get-all-production.dto.js +21 -0
  32. package/dist/src/production/dto/production.dto.d.ts +20 -0
  33. package/dist/src/production/dto/production.dto.js +21 -0
  34. package/dist/src/production/dto/update-production.dto.d.ts +63 -0
  35. package/dist/src/production/dto/update-production.dto.js +19 -0
  36. package/dist/src/production/exports.d.ts +6 -0
  37. package/dist/src/production/exports.js +23 -0
  38. package/dist/src/production-affiliation-request/dto/create-production-affiliation-request.dto.d.ts +80 -0
  39. package/dist/src/production-affiliation-request/dto/create-production-affiliation-request.dto.js +16 -0
  40. package/dist/src/production-affiliation-request/dto/find-by-production-affiliation-request.dto.d.ts +563 -0
  41. package/dist/src/production-affiliation-request/dto/find-by-production-affiliation-request.dto.js +21 -0
  42. package/dist/src/production-affiliation-request/dto/production-affiliation-request.dto.d.ts +27 -0
  43. package/dist/src/production-affiliation-request/dto/production-affiliation-request.dto.js +22 -0
  44. package/dist/src/production-affiliation-request/dto/update-production-affiliation-request.dto.d.ts +390 -0
  45. package/dist/src/production-affiliation-request/dto/update-production-affiliation-request.dto.js +15 -0
  46. package/dist/src/production-affiliation-request/exports.d.ts +4 -0
  47. package/dist/src/production-affiliation-request/exports.js +21 -0
  48. package/dist/src/profile/dto/find-all-profile.dto.d.ts +14 -12
  49. package/dist/src/profile/dto/find-by-date-range-profile.dto.d.ts +24 -20
  50. package/dist/src/profile/dto/find-by-id-profile.dto.d.ts +10 -8
  51. package/dist/src/profile/dto/find-by-tag-groups-profile.dto.d.ts +14 -12
  52. package/dist/src/profile/dto/find-by-tags-profile.dto.d.ts +14 -12
  53. package/dist/src/profile/dto/find-with-active-chat.dto.d.ts +14 -12
  54. package/dist/src/tag/dto/create-tag.dto.d.ts +41 -9
  55. package/dist/src/tag/dto/create-tag.dto.js +6 -5
  56. package/dist/src/tag/dto/delete-tag.dto.d.ts +6 -4
  57. package/dist/src/tag/dto/find-all-tag.dto.d.ts +10 -8
  58. package/dist/src/tag/dto/find-by-group-tag.dto.d.ts +10 -8
  59. package/dist/src/tag/dto/find-one-tag.dto.d.ts +6 -4
  60. package/dist/src/tag/dto/tag.dto.d.ts +6 -4
  61. package/dist/src/tag/dto/update-tag.dto.d.ts +7 -4
  62. package/dist/src/tag-group/dto/find-all-tag-group.dto.d.ts +14 -12
  63. package/dist/src/tag-group/dto/find-all-with-tags.dto.d.ts +14 -12
  64. package/dist/src/tag-group/dto/find-one-tag-group.dto.d.ts +10 -8
  65. package/dist/types/prisma-schema/edge.js +32 -5
  66. package/dist/types/prisma-schema/index-browser.js +29 -2
  67. package/dist/types/prisma-schema/index.d.ts +11960 -6876
  68. package/dist/types/prisma-schema/index.js +32 -5
  69. package/dist/types/prisma-schema/package.json +1 -1
  70. package/dist/types/prisma-schema/schema.prisma +56 -4
  71. package/dist/types/prisma-schema/wasm.js +29 -2
  72. package/dist/types/schema.d.ts +785 -79
  73. package/package.json +2 -1
@@ -623,6 +623,22 @@ export interface paths {
623
623
  patch?: never;
624
624
  trace?: never;
625
625
  };
626
+ "/event/statistics": {
627
+ parameters: {
628
+ query?: never;
629
+ header?: never;
630
+ path?: never;
631
+ cookie?: never;
632
+ };
633
+ get: operations["EventController_getStatistics"];
634
+ put?: never;
635
+ post?: never;
636
+ delete?: never;
637
+ options?: never;
638
+ head?: never;
639
+ patch?: never;
640
+ trace?: never;
641
+ };
626
642
  "/event/{id}": {
627
643
  parameters: {
628
644
  query?: never;
@@ -639,6 +655,22 @@ export interface paths {
639
655
  patch: operations["EventController_update"];
640
656
  trace?: never;
641
657
  };
658
+ "/event/{id}/statistics": {
659
+ parameters: {
660
+ query?: never;
661
+ header?: never;
662
+ path?: never;
663
+ cookie?: never;
664
+ };
665
+ get: operations["EventController_getStatisticsById"];
666
+ put?: never;
667
+ post?: never;
668
+ delete?: never;
669
+ options?: never;
670
+ head?: never;
671
+ patch?: never;
672
+ trace?: never;
673
+ };
642
674
  "/event/toggle-active/{id}": {
643
675
  parameters: {
644
676
  query?: never;
@@ -1487,6 +1519,150 @@ export interface paths {
1487
1519
  patch?: never;
1488
1520
  trace?: never;
1489
1521
  };
1522
+ "/production/all": {
1523
+ parameters: {
1524
+ query?: never;
1525
+ header?: never;
1526
+ path?: never;
1527
+ cookie?: never;
1528
+ };
1529
+ get: operations["ProductionController_getAll"];
1530
+ put?: never;
1531
+ post?: never;
1532
+ delete?: never;
1533
+ options?: never;
1534
+ head?: never;
1535
+ patch?: never;
1536
+ trace?: never;
1537
+ };
1538
+ "/production/create": {
1539
+ parameters: {
1540
+ query?: never;
1541
+ header?: never;
1542
+ path?: never;
1543
+ cookie?: never;
1544
+ };
1545
+ get?: never;
1546
+ put?: never;
1547
+ post: operations["ProductionController_create"];
1548
+ delete?: never;
1549
+ options?: never;
1550
+ head?: never;
1551
+ patch?: never;
1552
+ trace?: never;
1553
+ };
1554
+ "/production/create-role": {
1555
+ parameters: {
1556
+ query?: never;
1557
+ header?: never;
1558
+ path?: never;
1559
+ cookie?: never;
1560
+ };
1561
+ get?: never;
1562
+ put?: never;
1563
+ post: operations["ProductionController_createRole"];
1564
+ delete?: never;
1565
+ options?: never;
1566
+ head?: never;
1567
+ patch?: never;
1568
+ trace?: never;
1569
+ };
1570
+ "/production/update/{id}": {
1571
+ parameters: {
1572
+ query?: never;
1573
+ header?: never;
1574
+ path?: never;
1575
+ cookie?: never;
1576
+ };
1577
+ get?: never;
1578
+ put?: never;
1579
+ post?: never;
1580
+ delete?: never;
1581
+ options?: never;
1582
+ head?: never;
1583
+ patch: operations["ProductionController_update"];
1584
+ trace?: never;
1585
+ };
1586
+ "/production/delete/{id}": {
1587
+ parameters: {
1588
+ query?: never;
1589
+ header?: never;
1590
+ path?: never;
1591
+ cookie?: never;
1592
+ };
1593
+ get?: never;
1594
+ put?: never;
1595
+ post?: never;
1596
+ delete: operations["ProductionController_deleteProduction"];
1597
+ options?: never;
1598
+ head?: never;
1599
+ patch?: never;
1600
+ trace?: never;
1601
+ };
1602
+ "/production-affiliation-request/create": {
1603
+ parameters: {
1604
+ query?: never;
1605
+ header?: never;
1606
+ path?: never;
1607
+ cookie?: never;
1608
+ };
1609
+ get?: never;
1610
+ put?: never;
1611
+ post: operations["ProductionAffiliationRequestController_create"];
1612
+ delete?: never;
1613
+ options?: never;
1614
+ head?: never;
1615
+ patch?: never;
1616
+ trace?: never;
1617
+ };
1618
+ "/production-affiliation-request/accept/{id}": {
1619
+ parameters: {
1620
+ query?: never;
1621
+ header?: never;
1622
+ path?: never;
1623
+ cookie?: never;
1624
+ };
1625
+ get?: never;
1626
+ put?: never;
1627
+ post: operations["ProductionAffiliationRequestController_accept"];
1628
+ delete?: never;
1629
+ options?: never;
1630
+ head?: never;
1631
+ patch?: never;
1632
+ trace?: never;
1633
+ };
1634
+ "/production-affiliation-request/reject/{id}": {
1635
+ parameters: {
1636
+ query?: never;
1637
+ header?: never;
1638
+ path?: never;
1639
+ cookie?: never;
1640
+ };
1641
+ get?: never;
1642
+ put?: never;
1643
+ post: operations["ProductionAffiliationRequestController_reject"];
1644
+ delete?: never;
1645
+ options?: never;
1646
+ head?: never;
1647
+ patch?: never;
1648
+ trace?: never;
1649
+ };
1650
+ "/production-affiliation-request/get-by-production/{id}": {
1651
+ parameters: {
1652
+ query?: never;
1653
+ header?: never;
1654
+ path?: never;
1655
+ cookie?: never;
1656
+ };
1657
+ get: operations["ProductionAffiliationRequestController_findByProduction"];
1658
+ put?: never;
1659
+ post?: never;
1660
+ delete?: never;
1661
+ options?: never;
1662
+ head?: never;
1663
+ patch?: never;
1664
+ trace?: never;
1665
+ };
1490
1666
  }
1491
1667
  export type webhooks = Record<string, never>;
1492
1668
  export interface components {
@@ -1524,19 +1700,22 @@ export interface components {
1524
1700
  CreateTagDto: {
1525
1701
  name: string;
1526
1702
  groupId: string;
1703
+ type?: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM" | "PRODUCTION_ROLE";
1527
1704
  };
1528
1705
  CreateTagResponseDto: {
1529
1706
  id: string;
1530
1707
  name: string;
1531
1708
  groupId: string;
1532
- type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
1709
+ type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM" | "PRODUCTION_ROLE";
1710
+ created_at: string;
1711
+ updated_at: string;
1533
1712
  };
1534
1713
  FindAllTagResponseDto: {
1535
1714
  tags: {
1536
1715
  id: string;
1537
1716
  name: string;
1538
1717
  groupId: string;
1539
- type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
1718
+ type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM" | "PRODUCTION_ROLE";
1540
1719
  created_at: string;
1541
1720
  updated_at: string;
1542
1721
  group: {
@@ -1554,7 +1733,7 @@ export interface components {
1554
1733
  id: string;
1555
1734
  name: string;
1556
1735
  groupId: string;
1557
- type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
1736
+ type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM" | "PRODUCTION_ROLE";
1558
1737
  created_at: string;
1559
1738
  updated_at: string;
1560
1739
  group: {
@@ -1571,7 +1750,7 @@ export interface components {
1571
1750
  id: string;
1572
1751
  name: string;
1573
1752
  groupId: string;
1574
- type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
1753
+ type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM" | "PRODUCTION_ROLE";
1575
1754
  created_at: string;
1576
1755
  updated_at: string;
1577
1756
  group: {
@@ -1591,7 +1770,7 @@ export interface components {
1591
1770
  id: string;
1592
1771
  name: string;
1593
1772
  groupId: string;
1594
- type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
1773
+ type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM" | "PRODUCTION_ROLE";
1595
1774
  created_at: string;
1596
1775
  updated_at: string;
1597
1776
  };
@@ -1599,7 +1778,7 @@ export interface components {
1599
1778
  id: string;
1600
1779
  name: string;
1601
1780
  groupId: string;
1602
- type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
1781
+ type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM" | "PRODUCTION_ROLE";
1603
1782
  created_at: string;
1604
1783
  updated_at: string;
1605
1784
  };
@@ -1696,7 +1875,7 @@ export interface components {
1696
1875
  id: string;
1697
1876
  name: string;
1698
1877
  groupId: string;
1699
- type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
1878
+ type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM" | "PRODUCTION_ROLE";
1700
1879
  created_at: string;
1701
1880
  updated_at: string;
1702
1881
  }[];
@@ -1706,7 +1885,7 @@ export interface components {
1706
1885
  globalFilter: {
1707
1886
  id: string;
1708
1887
  name: string;
1709
- type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
1888
+ type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM" | "PRODUCTION_ROLE";
1710
1889
  group: {
1711
1890
  id: string;
1712
1891
  color: string;
@@ -1725,7 +1904,7 @@ export interface components {
1725
1904
  globalFilter: {
1726
1905
  id: string;
1727
1906
  name: string;
1728
- type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
1907
+ type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM" | "PRODUCTION_ROLE";
1729
1908
  group: {
1730
1909
  id: string;
1731
1910
  color: string;
@@ -1736,7 +1915,7 @@ export interface components {
1736
1915
  id: string;
1737
1916
  name: string;
1738
1917
  groupId: string;
1739
- type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
1918
+ type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM" | "PRODUCTION_ROLE";
1740
1919
  created_at: string;
1741
1920
  updated_at: string;
1742
1921
  }[];
@@ -1766,7 +1945,7 @@ export interface components {
1766
1945
  id: string;
1767
1946
  name: string;
1768
1947
  groupId: string;
1769
- type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
1948
+ type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM" | "PRODUCTION_ROLE";
1770
1949
  created_at: string;
1771
1950
  updated_at: string;
1772
1951
  }[];
@@ -1782,7 +1961,7 @@ export interface components {
1782
1961
  id: string;
1783
1962
  name: string;
1784
1963
  groupId: string;
1785
- type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
1964
+ type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM" | "PRODUCTION_ROLE";
1786
1965
  created_at: string;
1787
1966
  updated_at: string;
1788
1967
  _count: {
@@ -1805,7 +1984,7 @@ export interface components {
1805
1984
  id: string;
1806
1985
  name: string;
1807
1986
  groupId: string;
1808
- type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
1987
+ type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM" | "PRODUCTION_ROLE";
1809
1988
  created_at: string;
1810
1989
  updated_at: string;
1811
1990
  }[];
@@ -2162,10 +2341,10 @@ export interface components {
2162
2341
  created_at: string;
2163
2342
  updated_at: string;
2164
2343
  }[];
2165
- tags: {
2344
+ profileTags: {
2166
2345
  id: string;
2167
2346
  name: string;
2168
- type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
2347
+ type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM" | "PRODUCTION_ROLE";
2169
2348
  group: {
2170
2349
  id: string;
2171
2350
  color: string;
@@ -2234,10 +2413,10 @@ export interface components {
2234
2413
  created_at: string;
2235
2414
  updated_at: string;
2236
2415
  }[];
2237
- tags: {
2416
+ profileTags: {
2238
2417
  id: string;
2239
2418
  name: string;
2240
- type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
2419
+ type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM" | "PRODUCTION_ROLE";
2241
2420
  group: {
2242
2421
  id: string;
2243
2422
  color: string;
@@ -2279,6 +2458,28 @@ export interface components {
2279
2458
  }[];
2280
2459
  }[];
2281
2460
  };
2461
+ GetAllStatisticsResponseDto: {
2462
+ totalIncome: number;
2463
+ emailByPurchasedTickets: {
2464
+ mail: string;
2465
+ ticketsPurchased: number;
2466
+ }[];
2467
+ attendancePercent: number;
2468
+ maxTicketPerTypeAll: {
2469
+ [key: string]: number | undefined;
2470
+ };
2471
+ emmitedticketPerTypeAll: {
2472
+ [key: string]: number | undefined;
2473
+ };
2474
+ eventDataIndividual: {
2475
+ id: string;
2476
+ name: string;
2477
+ price: number | null;
2478
+ purchasePercent: number;
2479
+ spectatorEventTicket: number | null;
2480
+ spectatorTicketsSold: number;
2481
+ }[];
2482
+ };
2282
2483
  GetByIdEventResponseDto: {
2283
2484
  id: string;
2284
2485
  name: string;
@@ -2338,11 +2539,11 @@ export interface components {
2338
2539
  type: "PARTICIPANT" | "STAFF" | "SPECTATOR";
2339
2540
  price: number | null;
2340
2541
  }[];
2341
- tags: {
2542
+ profileTags: {
2342
2543
  id: string;
2343
2544
  name: string;
2344
2545
  groupId: string;
2345
- type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
2546
+ type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM" | "PRODUCTION_ROLE";
2346
2547
  created_at: string;
2347
2548
  updated_at: string;
2348
2549
  group: {
@@ -2372,7 +2573,7 @@ export interface components {
2372
2573
  id: string;
2373
2574
  name: string;
2374
2575
  groupId: string;
2375
- type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
2576
+ type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM" | "PRODUCTION_ROLE";
2376
2577
  created_at: string;
2377
2578
  updated_at: string;
2378
2579
  group: {
@@ -2388,7 +2589,7 @@ export interface components {
2388
2589
  id: string;
2389
2590
  name: string;
2390
2591
  groupId: string;
2391
- type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
2592
+ type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM" | "PRODUCTION_ROLE";
2392
2593
  created_at: string;
2393
2594
  updated_at: string;
2394
2595
  group: {
@@ -2401,6 +2602,28 @@ export interface components {
2401
2602
  };
2402
2603
  };
2403
2604
  };
2605
+ GetStatisticsByIdResponseDto: {
2606
+ maxTickets: number;
2607
+ emmitedTickets: number;
2608
+ emittedTicketsPercent: number;
2609
+ emmitedticketPerType: {
2610
+ [key: string]: number | undefined;
2611
+ };
2612
+ totalIncome: number;
2613
+ maxTotalIncome: number;
2614
+ maxTicketPerType: {
2615
+ [key: string]: number | undefined;
2616
+ };
2617
+ totalTicketsScanned: number;
2618
+ notScanned: number;
2619
+ attendancePercent: number;
2620
+ attendancePerHour: (string | null)[];
2621
+ avgAmountPerTicketGroup: number | null;
2622
+ heatMapDates: {
2623
+ date: string;
2624
+ count: number;
2625
+ }[];
2626
+ };
2404
2627
  UpdateEventDto: {
2405
2628
  name?: string;
2406
2629
  folderId?: string | null;
@@ -2424,9 +2647,9 @@ export interface components {
2424
2647
  id: string | "";
2425
2648
  }[];
2426
2649
  eventTickets?: {
2427
- amount?: number | null;
2428
- type?: "PARTICIPANT" | "STAFF" | "SPECTATOR";
2429
- price?: number | null;
2650
+ amount: number | null;
2651
+ type: "PARTICIPANT" | "STAFF" | "SPECTATOR";
2652
+ price: number | null;
2430
2653
  }[];
2431
2654
  };
2432
2655
  UpdateEventResponseDto: {
@@ -2450,7 +2673,7 @@ export interface components {
2450
2673
  id: string;
2451
2674
  name: string;
2452
2675
  groupId: string;
2453
- type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
2676
+ type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM" | "PRODUCTION_ROLE";
2454
2677
  created_at: string;
2455
2678
  updated_at: string;
2456
2679
  group: {
@@ -2517,7 +2740,7 @@ export interface components {
2517
2740
  id: string;
2518
2741
  name: string;
2519
2742
  groupId: string;
2520
- type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
2743
+ type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM" | "PRODUCTION_ROLE";
2521
2744
  created_at: string;
2522
2745
  updated_at: string;
2523
2746
  group: {
@@ -2557,7 +2780,7 @@ export interface components {
2557
2780
  id: string;
2558
2781
  name: string;
2559
2782
  groupId: string;
2560
- type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
2783
+ type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM" | "PRODUCTION_ROLE";
2561
2784
  created_at: string;
2562
2785
  updated_at: string;
2563
2786
  }[];
@@ -2615,7 +2838,7 @@ export interface components {
2615
2838
  id: string;
2616
2839
  name: string;
2617
2840
  groupId: string;
2618
- type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
2841
+ type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM" | "PRODUCTION_ROLE";
2619
2842
  created_at: string;
2620
2843
  updated_at: string;
2621
2844
  group: {
@@ -2656,7 +2879,7 @@ export interface components {
2656
2879
  id: string;
2657
2880
  name: string;
2658
2881
  groupId: string;
2659
- type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
2882
+ type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM" | "PRODUCTION_ROLE";
2660
2883
  created_at: string;
2661
2884
  updated_at: string;
2662
2885
  }[];
@@ -2692,7 +2915,7 @@ export interface components {
2692
2915
  id: string;
2693
2916
  name: string;
2694
2917
  groupId: string;
2695
- type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
2918
+ type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM" | "PRODUCTION_ROLE";
2696
2919
  created_at: string;
2697
2920
  updated_at: string;
2698
2921
  group: {
@@ -2848,7 +3071,7 @@ export interface components {
2848
3071
  id: string;
2849
3072
  name: string;
2850
3073
  groupId: string;
2851
- type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
3074
+ type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM" | "PRODUCTION_ROLE";
2852
3075
  created_at: string;
2853
3076
  updated_at: string;
2854
3077
  group: {
@@ -3702,58 +3925,205 @@ export interface components {
3702
3925
  user_id: number;
3703
3926
  };
3704
3927
  Response: Record<string, never>;
3705
- };
3706
- responses: never;
3707
- parameters: never;
3708
- requestBodies: never;
3709
- headers: never;
3710
- pathItems: never;
3711
- }
3712
- export type $defs = Record<string, never>;
3713
- export interface operations {
3714
- AuthController_loginAccount: {
3715
- parameters: {
3716
- query?: never;
3717
- header?: never;
3718
- path?: never;
3719
- cookie?: never;
3928
+ GetAllProductionResponseDto: {
3929
+ productions: {
3930
+ id: string;
3931
+ name: string;
3932
+ administratorId: string | null;
3933
+ created_at: string;
3934
+ updated_at: string;
3935
+ administrator: {
3936
+ id: string;
3937
+ shortId: number;
3938
+ role: "USER" | "ADMIN" | "FORM" | "TICKETS" | "MI_EXPO";
3939
+ firstTimeMiExpo: boolean;
3940
+ username: string | null;
3941
+ password: string | null;
3942
+ phoneNumber: string;
3943
+ isPhoneVerified: boolean;
3944
+ secondaryPhoneNumber: string | null;
3945
+ fullName: string;
3946
+ firstName: string | null;
3947
+ gender: string | null;
3948
+ birthDate: string | null;
3949
+ profilePictureUrl: string | null;
3950
+ instagram: string | null;
3951
+ mail: string | null;
3952
+ dni: string | null;
3953
+ alternativeNames: string[];
3954
+ birthLocationId: string | null;
3955
+ residenceLocationId: string | null;
3956
+ isInTrash: boolean;
3957
+ movedToTrashDate: string | null;
3958
+ created_at: string;
3959
+ updated_at: string;
3960
+ } | null;
3961
+ }[];
3720
3962
  };
3721
- requestBody: {
3722
- content: {
3723
- "application/json": components["schemas"]["LoginDto"];
3724
- };
3963
+ CreateProductionDto: {
3964
+ name: string;
3965
+ administratorId: string | null;
3725
3966
  };
3726
- responses: {
3727
- 200: {
3728
- headers: {
3729
- [name: string]: unknown;
3730
- };
3731
- content: {
3732
- "application/json": components["schemas"]["LoginResponseDto"];
3733
- };
3734
- };
3735
- 401: {
3736
- headers: {
3737
- [name: string]: unknown;
3738
- };
3739
- content: {
3740
- "application/json": components["schemas"]["ErrorDto"];
3741
- };
3742
- };
3967
+ CreateProductionRoleDto: {
3968
+ name: string;
3743
3969
  };
3744
- };
3745
- AuthController_refreshToken: {
3746
- parameters: {
3747
- query?: never;
3748
- header?: never;
3749
- path?: never;
3750
- cookie?: never;
3970
+ UpdateProductionDto: {
3971
+ name?: string;
3972
+ administratorId?: string | null;
3751
3973
  };
3752
- requestBody?: never;
3753
- responses: {
3754
- 200: {
3755
- headers: {
3756
- [name: string]: unknown;
3974
+ UpdateProductionResponseDto: {
3975
+ id: string;
3976
+ name: string;
3977
+ administratorId: string | null;
3978
+ created_at: string;
3979
+ updated_at: string;
3980
+ };
3981
+ DeleteProductionResponseDto: {
3982
+ id: string;
3983
+ name: string;
3984
+ administratorId: string | null;
3985
+ created_at: string;
3986
+ updated_at: string;
3987
+ };
3988
+ CreateProductionAffiliationRequestDto: {
3989
+ productionId: string;
3990
+ };
3991
+ UpdateProductionAffiliationRequestResponseDto: {
3992
+ id: string;
3993
+ productionId: string;
3994
+ profileId: string;
3995
+ status: "APPROVED" | "PENDING" | "REJECTED";
3996
+ created_at: string;
3997
+ updated_at: string;
3998
+ production: {
3999
+ id: string;
4000
+ name: string;
4001
+ administratorId: string | null;
4002
+ created_at: string;
4003
+ updated_at: string;
4004
+ };
4005
+ profile: {
4006
+ id: string;
4007
+ shortId: number;
4008
+ role: "USER" | "ADMIN" | "FORM" | "TICKETS" | "MI_EXPO";
4009
+ firstTimeMiExpo: boolean;
4010
+ username: string | null;
4011
+ password: string | null;
4012
+ phoneNumber: string;
4013
+ isPhoneVerified: boolean;
4014
+ secondaryPhoneNumber: string | null;
4015
+ fullName: string;
4016
+ firstName: string | null;
4017
+ gender: string | null;
4018
+ birthDate: string | null;
4019
+ profilePictureUrl: string | null;
4020
+ instagram: string | null;
4021
+ mail: string | null;
4022
+ dni: string | null;
4023
+ alternativeNames: string[];
4024
+ birthLocationId: string | null;
4025
+ residenceLocationId: string | null;
4026
+ isInTrash: boolean;
4027
+ movedToTrashDate: string | null;
4028
+ created_at: string;
4029
+ updated_at: string;
4030
+ };
4031
+ };
4032
+ FindByProductionAffiliationRequestResponseDto: {
4033
+ productions: {
4034
+ id: string;
4035
+ productionId: string;
4036
+ profileId: string;
4037
+ status: "APPROVED" | "PENDING" | "REJECTED";
4038
+ created_at: string;
4039
+ updated_at: string;
4040
+ production: {
4041
+ id: string;
4042
+ name: string;
4043
+ administratorId: string | null;
4044
+ created_at: string;
4045
+ updated_at: string;
4046
+ };
4047
+ profile: {
4048
+ id: string;
4049
+ shortId: number;
4050
+ role: "USER" | "ADMIN" | "FORM" | "TICKETS" | "MI_EXPO";
4051
+ firstTimeMiExpo: boolean;
4052
+ username: string | null;
4053
+ password: string | null;
4054
+ phoneNumber: string;
4055
+ isPhoneVerified: boolean;
4056
+ secondaryPhoneNumber: string | null;
4057
+ fullName: string;
4058
+ firstName: string | null;
4059
+ gender: string | null;
4060
+ birthDate: string | null;
4061
+ profilePictureUrl: string | null;
4062
+ instagram: string | null;
4063
+ mail: string | null;
4064
+ dni: string | null;
4065
+ alternativeNames: string[];
4066
+ birthLocationId: string | null;
4067
+ residenceLocationId: string | null;
4068
+ isInTrash: boolean;
4069
+ movedToTrashDate: string | null;
4070
+ created_at: string;
4071
+ updated_at: string;
4072
+ };
4073
+ }[];
4074
+ };
4075
+ };
4076
+ responses: never;
4077
+ parameters: never;
4078
+ requestBodies: never;
4079
+ headers: never;
4080
+ pathItems: never;
4081
+ }
4082
+ export type $defs = Record<string, never>;
4083
+ export interface operations {
4084
+ AuthController_loginAccount: {
4085
+ parameters: {
4086
+ query?: never;
4087
+ header?: never;
4088
+ path?: never;
4089
+ cookie?: never;
4090
+ };
4091
+ requestBody: {
4092
+ content: {
4093
+ "application/json": components["schemas"]["LoginDto"];
4094
+ };
4095
+ };
4096
+ responses: {
4097
+ 200: {
4098
+ headers: {
4099
+ [name: string]: unknown;
4100
+ };
4101
+ content: {
4102
+ "application/json": components["schemas"]["LoginResponseDto"];
4103
+ };
4104
+ };
4105
+ 401: {
4106
+ headers: {
4107
+ [name: string]: unknown;
4108
+ };
4109
+ content: {
4110
+ "application/json": components["schemas"]["ErrorDto"];
4111
+ };
4112
+ };
4113
+ };
4114
+ };
4115
+ AuthController_refreshToken: {
4116
+ parameters: {
4117
+ query?: never;
4118
+ header?: never;
4119
+ path?: never;
4120
+ cookie?: never;
4121
+ };
4122
+ requestBody?: never;
4123
+ responses: {
4124
+ 200: {
4125
+ headers: {
4126
+ [name: string]: unknown;
3757
4127
  };
3758
4128
  content: {
3759
4129
  "application/json": components["schemas"]["RefreshResponseDto"];
@@ -4919,6 +5289,25 @@ export interface operations {
4919
5289
  };
4920
5290
  };
4921
5291
  };
5292
+ EventController_getStatistics: {
5293
+ parameters: {
5294
+ query?: never;
5295
+ header?: never;
5296
+ path?: never;
5297
+ cookie?: never;
5298
+ };
5299
+ requestBody?: never;
5300
+ responses: {
5301
+ 200: {
5302
+ headers: {
5303
+ [name: string]: unknown;
5304
+ };
5305
+ content: {
5306
+ "application/json": components["schemas"]["GetAllStatisticsResponseDto"];
5307
+ };
5308
+ };
5309
+ };
5310
+ };
4922
5311
  EventController_findById: {
4923
5312
  parameters: {
4924
5313
  query?: never;
@@ -5018,6 +5407,38 @@ export interface operations {
5018
5407
  };
5019
5408
  };
5020
5409
  };
5410
+ EventController_getStatisticsById: {
5411
+ parameters: {
5412
+ query: {
5413
+ gte: string;
5414
+ lte: string;
5415
+ };
5416
+ header?: never;
5417
+ path: {
5418
+ id: string;
5419
+ };
5420
+ cookie?: never;
5421
+ };
5422
+ requestBody?: never;
5423
+ responses: {
5424
+ 200: {
5425
+ headers: {
5426
+ [name: string]: unknown;
5427
+ };
5428
+ content: {
5429
+ "application/json": components["schemas"]["GetStatisticsByIdResponseDto"];
5430
+ };
5431
+ };
5432
+ 404: {
5433
+ headers: {
5434
+ [name: string]: unknown;
5435
+ };
5436
+ content: {
5437
+ "application/json": components["schemas"]["ErrorDto"];
5438
+ };
5439
+ };
5440
+ };
5441
+ };
5021
5442
  EventController_toggleActive: {
5022
5443
  parameters: {
5023
5444
  query?: never;
@@ -6768,4 +7189,289 @@ export interface operations {
6768
7189
  };
6769
7190
  };
6770
7191
  };
7192
+ ProductionController_getAll: {
7193
+ parameters: {
7194
+ query?: never;
7195
+ header?: never;
7196
+ path?: never;
7197
+ cookie?: never;
7198
+ };
7199
+ requestBody?: never;
7200
+ responses: {
7201
+ 200: {
7202
+ headers: {
7203
+ [name: string]: unknown;
7204
+ };
7205
+ content: {
7206
+ "application/json": components["schemas"]["GetAllProductionResponseDto"];
7207
+ };
7208
+ };
7209
+ };
7210
+ };
7211
+ ProductionController_create: {
7212
+ parameters: {
7213
+ query?: never;
7214
+ header?: never;
7215
+ path?: never;
7216
+ cookie?: never;
7217
+ };
7218
+ requestBody: {
7219
+ content: {
7220
+ "application/json": components["schemas"]["CreateProductionDto"];
7221
+ };
7222
+ };
7223
+ responses: {
7224
+ 200: {
7225
+ headers: {
7226
+ [name: string]: unknown;
7227
+ };
7228
+ content: {
7229
+ "application/json": components["schemas"]["CreateProductionDto"];
7230
+ };
7231
+ };
7232
+ 409: {
7233
+ headers: {
7234
+ [name: string]: unknown;
7235
+ };
7236
+ content: {
7237
+ "application/json": components["schemas"]["ErrorDto"];
7238
+ };
7239
+ };
7240
+ };
7241
+ };
7242
+ ProductionController_createRole: {
7243
+ parameters: {
7244
+ query?: never;
7245
+ header?: never;
7246
+ path?: never;
7247
+ cookie?: never;
7248
+ };
7249
+ requestBody: {
7250
+ content: {
7251
+ "application/json": components["schemas"]["CreateProductionRoleDto"];
7252
+ };
7253
+ };
7254
+ responses: {
7255
+ 201: {
7256
+ headers: {
7257
+ [name: string]: unknown;
7258
+ };
7259
+ content: {
7260
+ "application/json": components["schemas"]["CreateProductionDto"];
7261
+ };
7262
+ };
7263
+ };
7264
+ };
7265
+ ProductionController_update: {
7266
+ parameters: {
7267
+ query?: never;
7268
+ header?: never;
7269
+ path: {
7270
+ id: string;
7271
+ };
7272
+ cookie?: never;
7273
+ };
7274
+ requestBody: {
7275
+ content: {
7276
+ "application/json": components["schemas"]["UpdateProductionDto"];
7277
+ };
7278
+ };
7279
+ responses: {
7280
+ 200: {
7281
+ headers: {
7282
+ [name: string]: unknown;
7283
+ };
7284
+ content: {
7285
+ "application/json": components["schemas"]["UpdateProductionResponseDto"];
7286
+ };
7287
+ };
7288
+ 404: {
7289
+ headers: {
7290
+ [name: string]: unknown;
7291
+ };
7292
+ content: {
7293
+ "application/json": components["schemas"]["ErrorDto"];
7294
+ };
7295
+ };
7296
+ 409: {
7297
+ headers: {
7298
+ [name: string]: unknown;
7299
+ };
7300
+ content: {
7301
+ "application/json": components["schemas"]["ErrorDto"];
7302
+ };
7303
+ };
7304
+ };
7305
+ };
7306
+ ProductionController_deleteProduction: {
7307
+ parameters: {
7308
+ query?: never;
7309
+ header?: never;
7310
+ path: {
7311
+ id: string;
7312
+ };
7313
+ cookie?: never;
7314
+ };
7315
+ requestBody?: never;
7316
+ responses: {
7317
+ 200: {
7318
+ headers: {
7319
+ [name: string]: unknown;
7320
+ };
7321
+ content: {
7322
+ "application/json": components["schemas"]["DeleteProductionResponseDto"];
7323
+ };
7324
+ };
7325
+ 404: {
7326
+ headers: {
7327
+ [name: string]: unknown;
7328
+ };
7329
+ content: {
7330
+ "application/json": components["schemas"]["ErrorDto"];
7331
+ };
7332
+ };
7333
+ 409: {
7334
+ headers: {
7335
+ [name: string]: unknown;
7336
+ };
7337
+ content: {
7338
+ "application/json": components["schemas"]["ErrorDto"];
7339
+ };
7340
+ };
7341
+ };
7342
+ };
7343
+ ProductionAffiliationRequestController_create: {
7344
+ parameters: {
7345
+ query?: never;
7346
+ header?: never;
7347
+ path?: never;
7348
+ cookie?: never;
7349
+ };
7350
+ requestBody: {
7351
+ content: {
7352
+ "application/json": components["schemas"]["CreateProductionAffiliationRequestDto"];
7353
+ };
7354
+ };
7355
+ responses: {
7356
+ 201: {
7357
+ headers: {
7358
+ [name: string]: unknown;
7359
+ };
7360
+ content: {
7361
+ "application/json": components["schemas"]["CreateProductionAffiliationRequestDto"];
7362
+ };
7363
+ };
7364
+ 409: {
7365
+ headers: {
7366
+ [name: string]: unknown;
7367
+ };
7368
+ content: {
7369
+ "application/json": components["schemas"]["ErrorDto"];
7370
+ };
7371
+ };
7372
+ };
7373
+ };
7374
+ ProductionAffiliationRequestController_accept: {
7375
+ parameters: {
7376
+ query?: never;
7377
+ header?: never;
7378
+ path: {
7379
+ id: string;
7380
+ };
7381
+ cookie?: never;
7382
+ };
7383
+ requestBody?: never;
7384
+ responses: {
7385
+ 200: {
7386
+ headers: {
7387
+ [name: string]: unknown;
7388
+ };
7389
+ content: {
7390
+ "application/json": components["schemas"]["UpdateProductionAffiliationRequestResponseDto"];
7391
+ };
7392
+ };
7393
+ 401: {
7394
+ headers: {
7395
+ [name: string]: unknown;
7396
+ };
7397
+ content: {
7398
+ "application/json": components["schemas"]["ErrorDto"];
7399
+ };
7400
+ };
7401
+ 404: {
7402
+ headers: {
7403
+ [name: string]: unknown;
7404
+ };
7405
+ content: {
7406
+ "application/json": components["schemas"]["ErrorDto"];
7407
+ };
7408
+ };
7409
+ };
7410
+ };
7411
+ ProductionAffiliationRequestController_reject: {
7412
+ parameters: {
7413
+ query?: never;
7414
+ header?: never;
7415
+ path: {
7416
+ id: string;
7417
+ };
7418
+ cookie?: never;
7419
+ };
7420
+ requestBody?: never;
7421
+ responses: {
7422
+ 200: {
7423
+ headers: {
7424
+ [name: string]: unknown;
7425
+ };
7426
+ content: {
7427
+ "application/json": components["schemas"]["UpdateProductionAffiliationRequestResponseDto"];
7428
+ };
7429
+ };
7430
+ 401: {
7431
+ headers: {
7432
+ [name: string]: unknown;
7433
+ };
7434
+ content: {
7435
+ "application/json": components["schemas"]["ErrorDto"];
7436
+ };
7437
+ };
7438
+ 404: {
7439
+ headers: {
7440
+ [name: string]: unknown;
7441
+ };
7442
+ content: {
7443
+ "application/json": components["schemas"]["ErrorDto"];
7444
+ };
7445
+ };
7446
+ };
7447
+ };
7448
+ ProductionAffiliationRequestController_findByProduction: {
7449
+ parameters: {
7450
+ query?: never;
7451
+ header?: never;
7452
+ path: {
7453
+ id: string;
7454
+ };
7455
+ cookie?: never;
7456
+ };
7457
+ requestBody?: never;
7458
+ responses: {
7459
+ 200: {
7460
+ headers: {
7461
+ [name: string]: unknown;
7462
+ };
7463
+ content: {
7464
+ "application/json": components["schemas"]["FindByProductionAffiliationRequestResponseDto"];
7465
+ };
7466
+ };
7467
+ 404: {
7468
+ headers: {
7469
+ [name: string]: unknown;
7470
+ };
7471
+ content: {
7472
+ "application/json": components["schemas"]["ErrorDto"];
7473
+ };
7474
+ };
7475
+ };
7476
+ };
6771
7477
  }