expo-backend-types 0.49.0-EXPO-355-ExpoBackend-Rutas-de-produccion.5 → 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 (62) 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 -48
  16. package/dist/src/i18n/es.js +7 -48
  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 +4 -7
  25. package/dist/src/tag/dto/delete-tag.dto.d.ts +4 -6
  26. package/dist/src/tag/dto/find-all-tag.dto.d.ts +8 -10
  27. package/dist/src/tag/dto/find-by-group-tag.dto.d.ts +8 -10
  28. package/dist/src/tag/dto/find-one-tag.dto.d.ts +4 -6
  29. package/dist/src/tag/dto/tag.dto.d.ts +4 -6
  30. package/dist/src/tag/dto/update-tag.dto.d.ts +4 -7
  31. package/dist/src/tag-group/dto/find-all-tag-group.dto.d.ts +12 -14
  32. package/dist/src/tag-group/dto/find-all-with-tags.dto.d.ts +12 -14
  33. package/dist/src/tag-group/dto/find-one-tag-group.dto.d.ts +8 -10
  34. package/dist/types/prisma-schema/edge.js +5 -32
  35. package/dist/types/prisma-schema/index-browser.js +2 -29
  36. package/dist/types/prisma-schema/index.d.ts +6849 -11395
  37. package/dist/types/prisma-schema/index.js +5 -32
  38. package/dist/types/prisma-schema/package.json +1 -1
  39. package/dist/types/prisma-schema/schema.prisma +4 -54
  40. package/dist/types/prisma-schema/wasm.js +2 -29
  41. package/dist/types/schema.d.ts +165 -491
  42. package/package.json +1 -1
  43. package/dist/src/production/dto/create-production.dto.d.ts +0 -36
  44. package/dist/src/production/dto/create-production.dto.js +0 -17
  45. package/dist/src/production/dto/delete-production.dto.d.ts +0 -41
  46. package/dist/src/production/dto/delete-production.dto.js +0 -10
  47. package/dist/src/production/dto/production.dto.d.ts +0 -20
  48. package/dist/src/production/dto/production.dto.js +0 -21
  49. package/dist/src/production/dto/update-production.dto.d.ts +0 -63
  50. package/dist/src/production/dto/update-production.dto.js +0 -19
  51. package/dist/src/production/exports.d.ts +0 -4
  52. package/dist/src/production/exports.js +0 -21
  53. package/dist/src/production-affiliation-request/dto/create-production-affiliation-request.dto.d.ts +0 -80
  54. package/dist/src/production-affiliation-request/dto/create-production-affiliation-request.dto.js +0 -16
  55. package/dist/src/production-affiliation-request/dto/find-by-production-affiliation-request.dto.d.ts +0 -563
  56. package/dist/src/production-affiliation-request/dto/find-by-production-affiliation-request.dto.js +0 -21
  57. package/dist/src/production-affiliation-request/dto/production-affiliation-request.dto.d.ts +0 -27
  58. package/dist/src/production-affiliation-request/dto/production-affiliation-request.dto.js +0 -22
  59. package/dist/src/production-affiliation-request/dto/update-production-affiliation-request.dto.d.ts +0 -390
  60. package/dist/src/production-affiliation-request/dto/update-production-affiliation-request.dto.js +0 -15
  61. package/dist/src/production-affiliation-request/exports.d.ts +0 -4
  62. 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,118 +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/update/{id}": {
1443
- parameters: {
1444
- query?: never;
1445
- header?: never;
1446
- path?: never;
1447
- cookie?: never;
1448
- };
1449
- get?: never;
1450
- put?: never;
1451
- post?: never;
1452
- delete?: never;
1453
- options?: never;
1454
- head?: never;
1455
- patch: operations["ProductionController_update"];
1456
- trace?: never;
1457
- };
1458
- "/production/delete/{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: operations["ProductionController_deleteProduction"];
1469
- options?: never;
1470
- head?: never;
1471
- patch?: never;
1472
- trace?: never;
1473
- };
1474
- "/production-affiliation-request/create": {
1475
- parameters: {
1476
- query?: never;
1477
- header?: never;
1478
- path?: never;
1479
- cookie?: never;
1480
- };
1481
- get?: never;
1482
- put?: never;
1483
- post: operations["ProductionAffiliationRequestController_create"];
1484
- delete?: never;
1485
- options?: never;
1486
- head?: never;
1487
- patch?: never;
1488
- trace?: never;
1489
- };
1490
- "/production-affiliation-request/accept/{id}": {
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_accept"];
1500
- delete?: never;
1501
- options?: never;
1502
- head?: never;
1503
- patch?: never;
1504
- trace?: never;
1505
- };
1506
- "/production-affiliation-request/reject/{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_reject"];
1516
- delete?: never;
1517
- options?: never;
1518
- head?: never;
1519
- patch?: never;
1520
- trace?: never;
1521
- };
1522
- "/production-affiliation-request/get-by-production/{id}": {
1523
- parameters: {
1524
- query?: never;
1525
- header?: never;
1526
- path?: never;
1527
- cookie?: never;
1528
- };
1529
- get: operations["ProductionAffiliationRequestController_findByProduction"];
1530
- put?: never;
1531
- post?: never;
1532
- delete?: never;
1533
- options?: never;
1534
- head?: never;
1535
- patch?: never;
1536
- trace?: never;
1537
- };
1538
1458
  }
1539
1459
  export type webhooks = Record<string, never>;
1540
1460
  export interface components {
@@ -1577,14 +1497,14 @@ export interface components {
1577
1497
  id: string;
1578
1498
  name: string;
1579
1499
  groupId: string;
1580
- type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM" | "PRODUCTION_ROLE";
1500
+ type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
1581
1501
  };
1582
1502
  FindAllTagResponseDto: {
1583
1503
  tags: {
1584
1504
  id: string;
1585
1505
  name: string;
1586
1506
  groupId: string;
1587
- type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM" | "PRODUCTION_ROLE";
1507
+ type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
1588
1508
  created_at: string;
1589
1509
  updated_at: string;
1590
1510
  group: {
@@ -1602,7 +1522,7 @@ export interface components {
1602
1522
  id: string;
1603
1523
  name: string;
1604
1524
  groupId: string;
1605
- type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM" | "PRODUCTION_ROLE";
1525
+ type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
1606
1526
  created_at: string;
1607
1527
  updated_at: string;
1608
1528
  group: {
@@ -1619,7 +1539,7 @@ export interface components {
1619
1539
  id: string;
1620
1540
  name: string;
1621
1541
  groupId: string;
1622
- type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM" | "PRODUCTION_ROLE";
1542
+ type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
1623
1543
  created_at: string;
1624
1544
  updated_at: string;
1625
1545
  group: {
@@ -1639,7 +1559,7 @@ export interface components {
1639
1559
  id: string;
1640
1560
  name: string;
1641
1561
  groupId: string;
1642
- type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM" | "PRODUCTION_ROLE";
1562
+ type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
1643
1563
  created_at: string;
1644
1564
  updated_at: string;
1645
1565
  };
@@ -1647,7 +1567,7 @@ export interface components {
1647
1567
  id: string;
1648
1568
  name: string;
1649
1569
  groupId: string;
1650
- type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM" | "PRODUCTION_ROLE";
1570
+ type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
1651
1571
  created_at: string;
1652
1572
  updated_at: string;
1653
1573
  };
@@ -1744,7 +1664,7 @@ export interface components {
1744
1664
  id: string;
1745
1665
  name: string;
1746
1666
  groupId: string;
1747
- type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM" | "PRODUCTION_ROLE";
1667
+ type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
1748
1668
  created_at: string;
1749
1669
  updated_at: string;
1750
1670
  }[];
@@ -1754,7 +1674,7 @@ export interface components {
1754
1674
  globalFilter: {
1755
1675
  id: string;
1756
1676
  name: string;
1757
- type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM" | "PRODUCTION_ROLE";
1677
+ type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
1758
1678
  group: {
1759
1679
  id: string;
1760
1680
  color: string;
@@ -1773,7 +1693,7 @@ export interface components {
1773
1693
  globalFilter: {
1774
1694
  id: string;
1775
1695
  name: string;
1776
- type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM" | "PRODUCTION_ROLE";
1696
+ type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
1777
1697
  group: {
1778
1698
  id: string;
1779
1699
  color: string;
@@ -1784,7 +1704,7 @@ export interface components {
1784
1704
  id: string;
1785
1705
  name: string;
1786
1706
  groupId: string;
1787
- type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM" | "PRODUCTION_ROLE";
1707
+ type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
1788
1708
  created_at: string;
1789
1709
  updated_at: string;
1790
1710
  }[];
@@ -1814,7 +1734,7 @@ export interface components {
1814
1734
  id: string;
1815
1735
  name: string;
1816
1736
  groupId: string;
1817
- type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM" | "PRODUCTION_ROLE";
1737
+ type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
1818
1738
  created_at: string;
1819
1739
  updated_at: string;
1820
1740
  }[];
@@ -1830,7 +1750,7 @@ export interface components {
1830
1750
  id: string;
1831
1751
  name: string;
1832
1752
  groupId: string;
1833
- type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM" | "PRODUCTION_ROLE";
1753
+ type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
1834
1754
  created_at: string;
1835
1755
  updated_at: string;
1836
1756
  _count: {
@@ -1853,7 +1773,7 @@ export interface components {
1853
1773
  id: string;
1854
1774
  name: string;
1855
1775
  groupId: string;
1856
- type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM" | "PRODUCTION_ROLE";
1776
+ type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
1857
1777
  created_at: string;
1858
1778
  updated_at: string;
1859
1779
  }[];
@@ -2174,10 +2094,10 @@ export interface components {
2174
2094
  created_at: string;
2175
2095
  updated_at: string;
2176
2096
  }[];
2177
- profileTags: {
2097
+ tags: {
2178
2098
  id: string;
2179
2099
  name: string;
2180
- type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM" | "PRODUCTION_ROLE";
2100
+ type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
2181
2101
  group: {
2182
2102
  id: string;
2183
2103
  color: string;
@@ -2237,10 +2157,10 @@ export interface components {
2237
2157
  created_at: string;
2238
2158
  updated_at: string;
2239
2159
  }[];
2240
- profileTags: {
2160
+ tags: {
2241
2161
  id: string;
2242
2162
  name: string;
2243
- type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM" | "PRODUCTION_ROLE";
2163
+ type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
2244
2164
  group: {
2245
2165
  id: string;
2246
2166
  color: string;
@@ -2279,6 +2199,28 @@ export interface components {
2279
2199
  }[];
2280
2200
  }[];
2281
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
+ };
2282
2224
  GetByIdEventResponseDto: {
2283
2225
  id: string;
2284
2226
  name: string;
@@ -2329,11 +2271,11 @@ export interface components {
2329
2271
  type: "PARTICIPANT" | "STAFF" | "SPECTATOR";
2330
2272
  price: number | null;
2331
2273
  }[];
2332
- profileTags: {
2274
+ tags: {
2333
2275
  id: string;
2334
2276
  name: string;
2335
2277
  groupId: string;
2336
- type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM" | "PRODUCTION_ROLE";
2278
+ type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
2337
2279
  created_at: string;
2338
2280
  updated_at: string;
2339
2281
  group: {
@@ -2363,7 +2305,7 @@ export interface components {
2363
2305
  id: string;
2364
2306
  name: string;
2365
2307
  groupId: string;
2366
- type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM" | "PRODUCTION_ROLE";
2308
+ type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
2367
2309
  created_at: string;
2368
2310
  updated_at: string;
2369
2311
  group: {
@@ -2379,7 +2321,7 @@ export interface components {
2379
2321
  id: string;
2380
2322
  name: string;
2381
2323
  groupId: string;
2382
- type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM" | "PRODUCTION_ROLE";
2324
+ type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
2383
2325
  created_at: string;
2384
2326
  updated_at: string;
2385
2327
  group: {
@@ -2392,6 +2334,38 @@ export interface components {
2392
2334
  };
2393
2335
  };
2394
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
+ };
2395
2369
  UpdateEventDto: {
2396
2370
  name: string;
2397
2371
  folderId: string | null;
@@ -2432,7 +2406,7 @@ export interface components {
2432
2406
  id: string;
2433
2407
  name: string;
2434
2408
  groupId: string;
2435
- type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM" | "PRODUCTION_ROLE";
2409
+ type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
2436
2410
  created_at: string;
2437
2411
  updated_at: string;
2438
2412
  group: {
@@ -2496,7 +2470,7 @@ export interface components {
2496
2470
  id: string;
2497
2471
  name: string;
2498
2472
  groupId: string;
2499
- type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM" | "PRODUCTION_ROLE";
2473
+ type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
2500
2474
  created_at: string;
2501
2475
  updated_at: string;
2502
2476
  group: {
@@ -2536,7 +2510,7 @@ export interface components {
2536
2510
  id: string;
2537
2511
  name: string;
2538
2512
  groupId: string;
2539
- type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM" | "PRODUCTION_ROLE";
2513
+ type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
2540
2514
  created_at: string;
2541
2515
  updated_at: string;
2542
2516
  }[];
@@ -2594,7 +2568,7 @@ export interface components {
2594
2568
  id: string;
2595
2569
  name: string;
2596
2570
  groupId: string;
2597
- type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM" | "PRODUCTION_ROLE";
2571
+ type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
2598
2572
  created_at: string;
2599
2573
  updated_at: string;
2600
2574
  group: {
@@ -2635,7 +2609,7 @@ export interface components {
2635
2609
  id: string;
2636
2610
  name: string;
2637
2611
  groupId: string;
2638
- type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM" | "PRODUCTION_ROLE";
2612
+ type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
2639
2613
  created_at: string;
2640
2614
  updated_at: string;
2641
2615
  }[];
@@ -2671,7 +2645,7 @@ export interface components {
2671
2645
  id: string;
2672
2646
  name: string;
2673
2647
  groupId: string;
2674
- type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM" | "PRODUCTION_ROLE";
2648
+ type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
2675
2649
  created_at: string;
2676
2650
  updated_at: string;
2677
2651
  group: {
@@ -2818,7 +2792,7 @@ export interface components {
2818
2792
  id: string;
2819
2793
  name: string;
2820
2794
  groupId: string;
2821
- type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM" | "PRODUCTION_ROLE";
2795
+ type: "PROFILE" | "EVENT" | "PARTICIPANT" | "NOT_IN_SYSTEM";
2822
2796
  created_at: string;
2823
2797
  updated_at: string;
2824
2798
  group: {
@@ -3666,114 +3640,6 @@ export interface components {
3666
3640
  user_id: number;
3667
3641
  };
3668
3642
  Response: Record<string, never>;
3669
- CreateProductionDto: {
3670
- name: string;
3671
- };
3672
- UpdateProductionDto: {
3673
- name?: string;
3674
- administratorId?: string | null;
3675
- };
3676
- UpdateProductionResponseDto: {
3677
- id: string;
3678
- name: string;
3679
- administratorId: string | null;
3680
- created_at: string;
3681
- updated_at: string;
3682
- };
3683
- DeleteProductionResponseDto: {
3684
- id: string;
3685
- name: string;
3686
- administratorId: string | null;
3687
- created_at: string;
3688
- updated_at: string;
3689
- };
3690
- CreateProductionAffiliationRequestDto: {
3691
- productionId: string;
3692
- };
3693
- UpdateProductionAffiliationRequestResponseDto: {
3694
- id: string;
3695
- productionId: string;
3696
- profileId: string;
3697
- status: "APPROVED" | "PENDING" | "REJECTED";
3698
- created_at: string;
3699
- updated_at: string;
3700
- production: {
3701
- id: string;
3702
- name: string;
3703
- administratorId: string | null;
3704
- created_at: string;
3705
- updated_at: string;
3706
- };
3707
- profile: {
3708
- id: string;
3709
- shortId: number;
3710
- role: "USER" | "ADMIN" | "FORM" | "TICKETS" | "MI_EXPO";
3711
- firstTimeMiExpo: boolean;
3712
- username: string | null;
3713
- password: string | null;
3714
- phoneNumber: string;
3715
- isPhoneVerified: boolean;
3716
- secondaryPhoneNumber: string | null;
3717
- fullName: string;
3718
- firstName: string | null;
3719
- gender: string | null;
3720
- birthDate: string | null;
3721
- profilePictureUrl: string | null;
3722
- instagram: string | null;
3723
- mail: string | null;
3724
- dni: string | null;
3725
- alternativeNames: string[];
3726
- birthLocationId: string | null;
3727
- residenceLocationId: string | null;
3728
- isInTrash: boolean;
3729
- movedToTrashDate: string | null;
3730
- created_at: string;
3731
- updated_at: string;
3732
- };
3733
- };
3734
- FindByProductionAffiliationRequestResponseDto: {
3735
- productions: {
3736
- id: string;
3737
- productionId: string;
3738
- profileId: string;
3739
- status: "APPROVED" | "PENDING" | "REJECTED";
3740
- created_at: string;
3741
- updated_at: string;
3742
- production: {
3743
- id: string;
3744
- name: string;
3745
- administratorId: string | null;
3746
- created_at: string;
3747
- updated_at: string;
3748
- };
3749
- profile: {
3750
- id: string;
3751
- shortId: number;
3752
- role: "USER" | "ADMIN" | "FORM" | "TICKETS" | "MI_EXPO";
3753
- firstTimeMiExpo: boolean;
3754
- username: string | null;
3755
- password: string | null;
3756
- phoneNumber: string;
3757
- isPhoneVerified: boolean;
3758
- secondaryPhoneNumber: string | null;
3759
- fullName: string;
3760
- firstName: string | null;
3761
- gender: string | null;
3762
- birthDate: string | null;
3763
- profilePictureUrl: string | null;
3764
- instagram: string | null;
3765
- mail: string | null;
3766
- dni: string | null;
3767
- alternativeNames: string[];
3768
- birthLocationId: string | null;
3769
- residenceLocationId: string | null;
3770
- isInTrash: boolean;
3771
- movedToTrashDate: string | null;
3772
- created_at: string;
3773
- updated_at: string;
3774
- };
3775
- }[];
3776
- };
3777
3643
  };
3778
3644
  responses: never;
3779
3645
  parameters: never;
@@ -4819,6 +4685,25 @@ export interface operations {
4819
4685
  };
4820
4686
  };
4821
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
+ };
4822
4707
  EventController_findById: {
4823
4708
  parameters: {
4824
4709
  query?: never;
@@ -4918,6 +4803,38 @@ export interface operations {
4918
4803
  };
4919
4804
  };
4920
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
+ };
4921
4838
  EventController_toggleActive: {
4922
4839
  parameters: {
4923
4840
  query?: never;
@@ -6668,247 +6585,4 @@ export interface operations {
6668
6585
  };
6669
6586
  };
6670
6587
  };
6671
- ProductionController_create: {
6672
- parameters: {
6673
- query?: never;
6674
- header?: never;
6675
- path?: never;
6676
- cookie?: never;
6677
- };
6678
- requestBody: {
6679
- content: {
6680
- "application/json": components["schemas"]["CreateProductionDto"];
6681
- };
6682
- };
6683
- responses: {
6684
- 200: {
6685
- headers: {
6686
- [name: string]: unknown;
6687
- };
6688
- content: {
6689
- "application/json": components["schemas"]["CreateProductionDto"];
6690
- };
6691
- };
6692
- 409: {
6693
- headers: {
6694
- [name: string]: unknown;
6695
- };
6696
- content: {
6697
- "application/json": components["schemas"]["ErrorDto"];
6698
- };
6699
- };
6700
- };
6701
- };
6702
- ProductionController_update: {
6703
- parameters: {
6704
- query?: never;
6705
- header?: never;
6706
- path: {
6707
- id: string;
6708
- };
6709
- cookie?: never;
6710
- };
6711
- requestBody: {
6712
- content: {
6713
- "application/json": components["schemas"]["UpdateProductionDto"];
6714
- };
6715
- };
6716
- responses: {
6717
- 200: {
6718
- headers: {
6719
- [name: string]: unknown;
6720
- };
6721
- content: {
6722
- "application/json": components["schemas"]["UpdateProductionResponseDto"];
6723
- };
6724
- };
6725
- 404: {
6726
- headers: {
6727
- [name: string]: unknown;
6728
- };
6729
- content: {
6730
- "application/json": components["schemas"]["ErrorDto"];
6731
- };
6732
- };
6733
- 409: {
6734
- headers: {
6735
- [name: string]: unknown;
6736
- };
6737
- content: {
6738
- "application/json": components["schemas"]["ErrorDto"];
6739
- };
6740
- };
6741
- };
6742
- };
6743
- ProductionController_deleteProduction: {
6744
- parameters: {
6745
- query?: never;
6746
- header?: never;
6747
- path: {
6748
- id: string;
6749
- };
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"]["DeleteProductionResponseDto"];
6760
- };
6761
- };
6762
- 404: {
6763
- headers: {
6764
- [name: string]: unknown;
6765
- };
6766
- content: {
6767
- "application/json": components["schemas"]["ErrorDto"];
6768
- };
6769
- };
6770
- 409: {
6771
- headers: {
6772
- [name: string]: unknown;
6773
- };
6774
- content: {
6775
- "application/json": components["schemas"]["ErrorDto"];
6776
- };
6777
- };
6778
- };
6779
- };
6780
- ProductionAffiliationRequestController_create: {
6781
- parameters: {
6782
- query?: never;
6783
- header?: never;
6784
- path?: never;
6785
- cookie?: never;
6786
- };
6787
- requestBody: {
6788
- content: {
6789
- "application/json": components["schemas"]["CreateProductionAffiliationRequestDto"];
6790
- };
6791
- };
6792
- responses: {
6793
- 201: {
6794
- headers: {
6795
- [name: string]: unknown;
6796
- };
6797
- content: {
6798
- "application/json": components["schemas"]["CreateProductionAffiliationRequestDto"];
6799
- };
6800
- };
6801
- 409: {
6802
- headers: {
6803
- [name: string]: unknown;
6804
- };
6805
- content: {
6806
- "application/json": components["schemas"]["ErrorDto"];
6807
- };
6808
- };
6809
- };
6810
- };
6811
- ProductionAffiliationRequestController_accept: {
6812
- parameters: {
6813
- query?: never;
6814
- header?: never;
6815
- path: {
6816
- id: string;
6817
- };
6818
- cookie?: never;
6819
- };
6820
- requestBody?: never;
6821
- responses: {
6822
- 200: {
6823
- headers: {
6824
- [name: string]: unknown;
6825
- };
6826
- content: {
6827
- "application/json": components["schemas"]["UpdateProductionAffiliationRequestResponseDto"];
6828
- };
6829
- };
6830
- 401: {
6831
- headers: {
6832
- [name: string]: unknown;
6833
- };
6834
- content: {
6835
- "application/json": components["schemas"]["ErrorDto"];
6836
- };
6837
- };
6838
- 404: {
6839
- headers: {
6840
- [name: string]: unknown;
6841
- };
6842
- content: {
6843
- "application/json": components["schemas"]["ErrorDto"];
6844
- };
6845
- };
6846
- };
6847
- };
6848
- ProductionAffiliationRequestController_reject: {
6849
- parameters: {
6850
- query?: never;
6851
- header?: never;
6852
- path: {
6853
- id: string;
6854
- };
6855
- cookie?: never;
6856
- };
6857
- requestBody?: never;
6858
- responses: {
6859
- 200: {
6860
- headers: {
6861
- [name: string]: unknown;
6862
- };
6863
- content: {
6864
- "application/json": components["schemas"]["UpdateProductionAffiliationRequestResponseDto"];
6865
- };
6866
- };
6867
- 401: {
6868
- headers: {
6869
- [name: string]: unknown;
6870
- };
6871
- content: {
6872
- "application/json": components["schemas"]["ErrorDto"];
6873
- };
6874
- };
6875
- 404: {
6876
- headers: {
6877
- [name: string]: unknown;
6878
- };
6879
- content: {
6880
- "application/json": components["schemas"]["ErrorDto"];
6881
- };
6882
- };
6883
- };
6884
- };
6885
- ProductionAffiliationRequestController_findByProduction: {
6886
- parameters: {
6887
- query?: never;
6888
- header?: never;
6889
- path: {
6890
- id: string;
6891
- };
6892
- cookie?: never;
6893
- };
6894
- requestBody?: never;
6895
- responses: {
6896
- 200: {
6897
- headers: {
6898
- [name: string]: unknown;
6899
- };
6900
- content: {
6901
- "application/json": components["schemas"]["FindByProductionAffiliationRequestResponseDto"];
6902
- };
6903
- };
6904
- 404: {
6905
- headers: {
6906
- [name: string]: unknown;
6907
- };
6908
- content: {
6909
- "application/json": components["schemas"]["ErrorDto"];
6910
- };
6911
- };
6912
- };
6913
- };
6914
6588
  }