expo-backend-types 0.49.0-EXPO-343-Quique-Wolff.3 → 0.49.0-EXPO-350-ExpoBackend-Estadisticas-de-evento.12

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 (53) hide show
  1. package/dist/src/event/dto/create-event.dto.d.ts +23 -72
  2. package/dist/src/event/dto/create-event.dto.js +1 -7
  3. package/dist/src/event/dto/delete-event.dto.d.ts +0 -18
  4. package/dist/src/event/dto/event-tickets.dto.d.ts +33 -2
  5. package/dist/src/event/dto/event-tickets.dto.js +18 -8
  6. package/dist/src/event/dto/event.dto.d.ts +0 -9
  7. package/dist/src/event/dto/event.dto.js +0 -13
  8. package/dist/src/event/dto/get-active-events.dto.d.ts +23 -33
  9. package/dist/src/event/dto/get-all-event.dto.d.ts +48 -272
  10. package/dist/src/event/dto/get-all-event.dto.js +2 -2
  11. package/dist/src/event/dto/get-all-statistics.dto.d.ts +364 -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 +23 -99
  14. package/dist/src/event/dto/get-statistics-by-id-event.dto.d.ts +294 -0
  15. package/dist/src/event/dto/get-statistics-by-id-event.dto.js +40 -0
  16. package/dist/src/event/dto/toggle-active-event.dto.d.ts +0 -9
  17. package/dist/src/event/dto/update-event.dto.d.ts +119 -140
  18. package/dist/src/event/dto/update-event.dto.js +3 -10
  19. package/dist/src/event-folder/dto/get-all-event-folder.dto.d.ts +0 -42
  20. package/dist/src/event-folder/dto/get-by-id-event-folder.dto.d.ts +0 -30
  21. package/dist/src/i18n/es.d.ts +8 -8
  22. package/dist/src/i18n/es.js +10 -8
  23. package/dist/src/i18n/es.js.map +1 -1
  24. package/dist/src/mi-expo/dto/get-invitations.dto.d.ts +0 -3
  25. package/dist/src/ticket/dto/create-many-ticket.dto.d.ts +0 -30
  26. package/dist/src/ticket/dto/create-ticket.dto.d.ts +0 -30
  27. package/dist/src/ticket/dto/find-all-tickets.dto.d.ts +0 -3
  28. package/dist/src/ticket/dto/find-by-event-ticket.dto.d.ts +0 -3
  29. package/dist/src/ticket/dto/find-by-id-ticket.dto.d.ts +0 -42
  30. package/dist/src/ticket/dto/find-by-mail-ticket.dto.d.ts +0 -3
  31. package/dist/src/ticket/dto/find-by-profile-id-ticket.dto.d.ts +0 -42
  32. package/dist/src/ticket-group/dto/create-ticket-group.dto.d.ts +0 -30
  33. package/dist/types/prisma-schema/edge.js +3 -6
  34. package/dist/types/prisma-schema/index-browser.js +0 -3
  35. package/dist/types/prisma-schema/index.d.ts +1 -214
  36. package/dist/types/prisma-schema/index.js +3 -6
  37. package/dist/types/prisma-schema/package.json +1 -1
  38. package/dist/types/prisma-schema/schema.prisma +6 -9
  39. package/dist/types/prisma-schema/wasm.js +0 -3
  40. package/dist/types/schema.d.ts +165 -358
  41. package/package.json +2 -1
  42. package/dist/src/event/dto/delete-banner-event.dto.d.ts +0 -18
  43. package/dist/src/event/dto/delete-banner-event.dto.js +0 -12
  44. package/dist/src/event/dto/delete-main-picture-event.dto.d.ts +0 -18
  45. package/dist/src/event/dto/delete-main-picture-event.dto.js +0 -12
  46. package/dist/src/event/dto/update-banner-event.dto.d.ts +0 -33
  47. package/dist/src/event/dto/update-banner-event.dto.js +0 -18
  48. package/dist/src/event/dto/update-main-picture-event.dto.d.ts +0 -33
  49. package/dist/src/event/dto/update-main-picture-event.dto.js +0 -18
  50. package/dist/src/profile/dto/delete-image-profile.dto.d.ts +0 -18
  51. package/dist/src/profile/dto/delete-image-profile.dto.js +0 -12
  52. package/dist/src/profile/dto/update-image-profile.dto.d.ts +0 -33
  53. package/dist/src/profile/dto/update-image-profile.dto.js +0 -18
@@ -527,78 +527,46 @@ export interface paths {
527
527
  patch?: never;
528
528
  trace?: never;
529
529
  };
530
- "/event/update-banner/{id}": {
530
+ "/event/all": {
531
531
  parameters: {
532
532
  query?: never;
533
533
  header?: never;
534
534
  path?: never;
535
535
  cookie?: never;
536
536
  };
537
- get?: never;
537
+ get: operations["EventController_findAll"];
538
538
  put?: never;
539
539
  post?: never;
540
540
  delete?: never;
541
541
  options?: never;
542
542
  head?: never;
543
- patch: operations["EventController_updateBanner"];
544
- trace?: never;
545
- };
546
- "/event/delete-banner/{id}": {
547
- parameters: {
548
- query?: never;
549
- header?: never;
550
- path?: never;
551
- cookie?: never;
552
- };
553
- get?: never;
554
- put?: never;
555
- post?: never;
556
- delete: operations["EventController_deleteBanner"];
557
- options?: never;
558
- head?: never;
559
543
  patch?: never;
560
544
  trace?: never;
561
545
  };
562
- "/event/update-main-picture/{id}": {
546
+ "/event/find-active": {
563
547
  parameters: {
564
548
  query?: never;
565
549
  header?: never;
566
550
  path?: never;
567
551
  cookie?: never;
568
552
  };
569
- get?: never;
553
+ get: operations["EventController_getActive"];
570
554
  put?: never;
571
555
  post?: never;
572
556
  delete?: never;
573
557
  options?: never;
574
558
  head?: never;
575
- patch: operations["EventController_updateMainPicture"];
576
- trace?: never;
577
- };
578
- "/event/delete-main-picture/{id}": {
579
- parameters: {
580
- query?: never;
581
- header?: never;
582
- path?: never;
583
- cookie?: never;
584
- };
585
- get?: never;
586
- put?: never;
587
- post?: never;
588
- delete: operations["EventController_deleteMainPicture"];
589
- options?: never;
590
- head?: never;
591
559
  patch?: never;
592
560
  trace?: never;
593
561
  };
594
- "/event/all": {
562
+ "/event/statistics": {
595
563
  parameters: {
596
564
  query?: never;
597
565
  header?: never;
598
566
  path?: never;
599
567
  cookie?: never;
600
568
  };
601
- get: operations["EventController_findAll"];
569
+ get: operations["EventController_getStatistics"];
602
570
  put?: never;
603
571
  post?: never;
604
572
  delete?: never;
@@ -607,36 +575,36 @@ export interface paths {
607
575
  patch?: never;
608
576
  trace?: never;
609
577
  };
610
- "/event/find-active": {
578
+ "/event/{id}": {
611
579
  parameters: {
612
580
  query?: never;
613
581
  header?: never;
614
582
  path?: never;
615
583
  cookie?: never;
616
584
  };
617
- get: operations["EventController_getActive"];
585
+ get: operations["EventController_findById"];
618
586
  put?: never;
619
587
  post?: never;
620
- delete?: never;
588
+ delete: operations["EventController_remove"];
621
589
  options?: never;
622
590
  head?: never;
623
- patch?: never;
591
+ patch: operations["EventController_update"];
624
592
  trace?: never;
625
593
  };
626
- "/event/{id}": {
594
+ "/event/{id}/statistics": {
627
595
  parameters: {
628
596
  query?: never;
629
597
  header?: never;
630
598
  path?: never;
631
599
  cookie?: never;
632
600
  };
633
- get: operations["EventController_findById"];
601
+ get: operations["EventController_getStatisticsById"];
634
602
  put?: never;
635
603
  post?: never;
636
- delete: operations["EventController_remove"];
604
+ delete?: never;
637
605
  options?: never;
638
606
  head?: never;
639
- patch: operations["EventController_update"];
607
+ patch?: never;
640
608
  trace?: never;
641
609
  };
642
610
  "/event/toggle-active/{id}": {
@@ -783,23 +751,23 @@ export interface paths {
783
751
  patch?: never;
784
752
  trace?: never;
785
753
  };
786
- "/profile/update-image/{id}": {
754
+ "/profile/{id}": {
787
755
  parameters: {
788
756
  query?: never;
789
757
  header?: never;
790
758
  path?: never;
791
759
  cookie?: never;
792
760
  };
793
- get?: never;
761
+ get: operations["ProfileController_findById"];
794
762
  put?: never;
795
763
  post?: never;
796
- delete?: never;
764
+ delete: operations["ProfileController_delete"];
797
765
  options?: never;
798
766
  head?: never;
799
- patch: operations["ProfileController_updateImage"];
767
+ patch: operations["ProfileController_update"];
800
768
  trace?: never;
801
769
  };
802
- "/profile/delete-image/{id}": {
770
+ "/image/update/{id}": {
803
771
  parameters: {
804
772
  query?: never;
805
773
  header?: never;
@@ -809,26 +777,26 @@ export interface paths {
809
777
  get?: never;
810
778
  put?: never;
811
779
  post?: never;
812
- delete: operations["ProfileController_deleteImage"];
780
+ delete?: never;
813
781
  options?: never;
814
782
  head?: never;
815
- patch?: never;
783
+ patch: operations["ImageController_updateImage"];
816
784
  trace?: never;
817
785
  };
818
- "/profile/{id}": {
786
+ "/image/delete/{id}": {
819
787
  parameters: {
820
788
  query?: never;
821
789
  header?: never;
822
790
  path?: never;
823
791
  cookie?: never;
824
792
  };
825
- get: operations["ProfileController_findById"];
793
+ get?: never;
826
794
  put?: never;
827
795
  post?: never;
828
- delete: operations["ProfileController_delete"];
796
+ delete: operations["ImageController_deleteImage"];
829
797
  options?: never;
830
798
  head?: never;
831
- patch: operations["ProfileController_update"];
799
+ patch?: never;
832
800
  trace?: never;
833
801
  };
834
802
  "/csv/download-profiles": {
@@ -1989,9 +1957,6 @@ export interface components {
1989
1957
  startingDate: string;
1990
1958
  endingDate: string;
1991
1959
  location: string;
1992
- mainPictureUrl: string | null;
1993
- bannerUrl: string | null;
1994
- description: string | null;
1995
1960
  folderId: string | null;
1996
1961
  tagAssistedId: string;
1997
1962
  tagConfirmedId: string;
@@ -2015,9 +1980,6 @@ export interface components {
2015
1980
  startingDate: string;
2016
1981
  endingDate: string;
2017
1982
  location: string;
2018
- mainPictureUrl: string | null;
2019
- bannerUrl: string | null;
2020
- description: string | null;
2021
1983
  folderId: string | null;
2022
1984
  tagAssistedId: string;
2023
1985
  tagConfirmedId: string;
@@ -2052,18 +2014,12 @@ export interface components {
2052
2014
  endingDate: string;
2053
2015
  location: string;
2054
2016
  folderId: string | null;
2055
- mainPictureUrl: string | null;
2056
- bannerUrl: string | null;
2057
- description: string | null;
2058
2017
  subEvents?: {
2059
2018
  name: string;
2060
2019
  date: string;
2061
2020
  startingDate: string;
2062
2021
  endingDate: string;
2063
2022
  location: string;
2064
- mainPictureUrl: string | null;
2065
- bannerUrl: string | null;
2066
- description: string | null;
2067
2023
  }[];
2068
2024
  tagsId: string[];
2069
2025
  eventTickets: {
@@ -2079,9 +2035,6 @@ export interface components {
2079
2035
  startingDate: string;
2080
2036
  endingDate: string;
2081
2037
  location: string;
2082
- mainPictureUrl: string | null;
2083
- bannerUrl: string | null;
2084
- description: string | null;
2085
2038
  folderId: string | null;
2086
2039
  tagAssistedId: string;
2087
2040
  tagConfirmedId: string;
@@ -2090,18 +2043,6 @@ export interface components {
2090
2043
  created_at: string;
2091
2044
  updated_at: string;
2092
2045
  };
2093
- UpdateBannerEventDto: {
2094
- image?: Record<string, never>;
2095
- };
2096
- UpdateBannerEventResponseDto: {
2097
- message: string;
2098
- };
2099
- UpdateMainPictureEventResponseDto: {
2100
- message: string;
2101
- };
2102
- UpdateMainPictureEventDto: {
2103
- image?: Record<string, never>;
2104
- };
2105
2046
  GetAllEventsResponseDto: {
2106
2047
  folders: {
2107
2048
  id: string;
@@ -2116,9 +2057,6 @@ export interface components {
2116
2057
  startingDate: string;
2117
2058
  endingDate: string;
2118
2059
  location: string;
2119
- mainPictureUrl: string | null;
2120
- bannerUrl: string | null;
2121
- description: string | null;
2122
2060
  folderId: string | null;
2123
2061
  tagAssistedId: string;
2124
2062
  tagConfirmedId: string;
@@ -2133,9 +2071,6 @@ export interface components {
2133
2071
  startingDate: string;
2134
2072
  endingDate: string;
2135
2073
  location: string;
2136
- mainPictureUrl: string | null;
2137
- bannerUrl: string | null;
2138
- description: string | null;
2139
2074
  folderId: string | null;
2140
2075
  tagAssistedId: string;
2141
2076
  tagConfirmedId: string;
@@ -2151,9 +2086,6 @@ export interface components {
2151
2086
  startingDate: string;
2152
2087
  endingDate: string;
2153
2088
  location: string;
2154
- mainPictureUrl: string | null;
2155
- bannerUrl: string | null;
2156
- description: string | null;
2157
2089
  folderId: string | null;
2158
2090
  tagAssistedId: string;
2159
2091
  tagConfirmedId: string;
@@ -2188,9 +2120,6 @@ export interface components {
2188
2120
  startingDate: string;
2189
2121
  endingDate: string;
2190
2122
  location: string;
2191
- mainPictureUrl: string | null;
2192
- bannerUrl: string | null;
2193
- description: string | null;
2194
2123
  folderId: string | null;
2195
2124
  tagAssistedId: string;
2196
2125
  tagConfirmedId: string;
@@ -2205,9 +2134,6 @@ export interface components {
2205
2134
  startingDate: string;
2206
2135
  endingDate: string;
2207
2136
  location: string;
2208
- mainPictureUrl: string | null;
2209
- bannerUrl: string | null;
2210
- description: string | null;
2211
2137
  folderId: string | null;
2212
2138
  tagAssistedId: string;
2213
2139
  tagConfirmedId: string;
@@ -2223,9 +2149,6 @@ export interface components {
2223
2149
  startingDate: string;
2224
2150
  endingDate: string;
2225
2151
  location: string;
2226
- mainPictureUrl: string | null;
2227
- bannerUrl: string | null;
2228
- description: string | null;
2229
2152
  folderId: string | null;
2230
2153
  tagAssistedId: string;
2231
2154
  tagConfirmedId: string;
@@ -2261,9 +2184,6 @@ export interface components {
2261
2184
  startingDate: string;
2262
2185
  endingDate: string;
2263
2186
  location: string;
2264
- mainPictureUrl: string | null;
2265
- bannerUrl: string | null;
2266
- description: string | null;
2267
2187
  folderId: string | null;
2268
2188
  tagAssistedId: string;
2269
2189
  tagConfirmedId: 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;
@@ -2286,9 +2228,6 @@ export interface components {
2286
2228
  startingDate: string;
2287
2229
  endingDate: string;
2288
2230
  location: string;
2289
- mainPictureUrl: string | null;
2290
- bannerUrl: string | null;
2291
- description: string | null;
2292
2231
  folderId: string | null;
2293
2232
  tagAssistedId: string;
2294
2233
  tagConfirmedId: string;
@@ -2303,9 +2242,6 @@ export interface components {
2303
2242
  startingDate: string;
2304
2243
  endingDate: string;
2305
2244
  location: string;
2306
- mainPictureUrl: string | null;
2307
- bannerUrl: string | null;
2308
- description: string | null;
2309
2245
  folderId: string | null;
2310
2246
  tagAssistedId: string;
2311
2247
  tagConfirmedId: string;
@@ -2321,9 +2257,6 @@ export interface components {
2321
2257
  startingDate: string;
2322
2258
  endingDate: string;
2323
2259
  location: string;
2324
- mainPictureUrl: string | null;
2325
- bannerUrl: string | null;
2326
- description: string | null;
2327
2260
  folderId: string | null;
2328
2261
  tagAssistedId: string;
2329
2262
  tagConfirmedId: string;
@@ -2401,29 +2334,45 @@ export interface components {
2401
2334
  };
2402
2335
  };
2403
2336
  };
2337
+ GetStatisticsByIdResponseDto: {
2338
+ maxTickets: number;
2339
+ emmitedTickets: number;
2340
+ emittedTicketsPercent: number;
2341
+ emmitedticketPerType: {
2342
+ [key: string]: number | undefined;
2343
+ };
2344
+ totalIncome: number;
2345
+ maxTotalIncome: number;
2346
+ maxTicketPerType: {
2347
+ [key: string]: number | undefined;
2348
+ };
2349
+ totalTicketsScanned: number;
2350
+ notScanned: number;
2351
+ attendancePercent: number;
2352
+ attendancePerHour: (string | null)[];
2353
+ avgAmountPerTicketGroup: number | null;
2354
+ heatMapDates: {
2355
+ date: string;
2356
+ count: number;
2357
+ }[];
2358
+ };
2404
2359
  UpdateEventDto: {
2405
- name?: string;
2406
- folderId?: string | null;
2407
- date?: string;
2408
- location?: string;
2409
- startingDate?: string;
2410
- endingDate?: string;
2411
- bannerUrl?: string | null;
2412
- mainPictureUrl?: string | null;
2413
- description?: string | null;
2414
- tagsId?: string[];
2415
- subEvents?: {
2360
+ name: string;
2361
+ folderId: string | null;
2362
+ date: string;
2363
+ location: string;
2364
+ startingDate: string;
2365
+ endingDate: string;
2366
+ tagsId: string[];
2367
+ subEvents: {
2416
2368
  name: string;
2417
2369
  location: string;
2418
2370
  date: string;
2419
2371
  startingDate: string;
2420
2372
  endingDate: string;
2421
- bannerUrl: string | null;
2422
- mainPictureUrl: string | null;
2423
- description: string | null;
2424
2373
  id: string | "";
2425
2374
  }[];
2426
- eventTickets?: {
2375
+ eventTickets: {
2427
2376
  amount: number | null;
2428
2377
  type: "PARTICIPANT" | "STAFF" | "SPECTATOR";
2429
2378
  price: number | null;
@@ -2436,9 +2385,6 @@ export interface components {
2436
2385
  startingDate: string;
2437
2386
  endingDate: string;
2438
2387
  location: string;
2439
- mainPictureUrl: string | null;
2440
- bannerUrl: string | null;
2441
- description: string | null;
2442
2388
  folderId: string | null;
2443
2389
  tagAssistedId: string;
2444
2390
  tagConfirmedId: string;
@@ -2476,9 +2422,6 @@ export interface components {
2476
2422
  startingDate: string;
2477
2423
  endingDate: string;
2478
2424
  location: string;
2479
- mainPictureUrl: string | null;
2480
- bannerUrl: string | null;
2481
- description: string | null;
2482
2425
  folderId: string | null;
2483
2426
  tagAssistedId: string;
2484
2427
  tagConfirmedId: string;
@@ -2791,15 +2734,6 @@ export interface components {
2791
2734
  type: "created";
2792
2735
  };
2793
2736
  };
2794
- UpdateImageProfileDto: {
2795
- image?: Record<string, never>;
2796
- };
2797
- UpdateImageProfileResponseDto: {
2798
- message: string;
2799
- };
2800
- DeleteImageProfileResponseDto: {
2801
- message: string;
2802
- };
2803
2737
  FindByIdProfileResponseDto: {
2804
2738
  id: string;
2805
2739
  shortId: number;
@@ -2916,6 +2850,15 @@ export interface components {
2916
2850
  };
2917
2851
  tags?: string[];
2918
2852
  };
2853
+ UpdateImageDto: {
2854
+ image?: Record<string, never>;
2855
+ };
2856
+ UpdateImageResponseDto: {
2857
+ message: string;
2858
+ };
2859
+ DeleteImageResponseDto: {
2860
+ message: string;
2861
+ };
2919
2862
  DownloadProfilesDto: {
2920
2863
  password: string;
2921
2864
  };
@@ -3046,9 +2989,6 @@ export interface components {
3046
2989
  startingDate: string;
3047
2990
  endingDate: string;
3048
2991
  location: string;
3049
- mainPictureUrl: string | null;
3050
- bannerUrl: string | null;
3051
- description: string | null;
3052
2992
  folderId: string | null;
3053
2993
  tagAssistedId: string;
3054
2994
  tagConfirmedId: string;
@@ -3089,9 +3029,6 @@ export interface components {
3089
3029
  startingDate: string;
3090
3030
  endingDate: string;
3091
3031
  location: string;
3092
- mainPictureUrl: string | null;
3093
- bannerUrl: string | null;
3094
- description: string | null;
3095
3032
  folderId: string | null;
3096
3033
  tagAssistedId: string;
3097
3034
  tagConfirmedId: string;
@@ -3149,9 +3086,6 @@ export interface components {
3149
3086
  startingDate: string;
3150
3087
  endingDate: string;
3151
3088
  location: string;
3152
- mainPictureUrl: string | null;
3153
- bannerUrl: string | null;
3154
- description: string | null;
3155
3089
  folderId: string | null;
3156
3090
  tagAssistedId: string;
3157
3091
  tagConfirmedId: string;
@@ -3304,9 +3238,6 @@ export interface components {
3304
3238
  startingDate: string;
3305
3239
  endingDate: string;
3306
3240
  location: string;
3307
- mainPictureUrl: string | null;
3308
- bannerUrl: string | null;
3309
- description: string | null;
3310
3241
  folderId: string | null;
3311
3242
  tagAssistedId: string;
3312
3243
  tagConfirmedId: string;
@@ -3419,9 +3350,6 @@ export interface components {
3419
3350
  startingDate: string;
3420
3351
  endingDate: string;
3421
3352
  location: string;
3422
- mainPictureUrl: string | null;
3423
- bannerUrl: string | null;
3424
- description: string | null;
3425
3353
  folderId: string | null;
3426
3354
  tagAssistedId: string;
3427
3355
  tagConfirmedId: string;
@@ -4701,46 +4629,24 @@ export interface operations {
4701
4629
  };
4702
4630
  };
4703
4631
  };
4704
- EventController_updateBanner: {
4632
+ EventController_findAll: {
4705
4633
  parameters: {
4706
4634
  query?: never;
4707
4635
  header?: never;
4708
- path: {
4709
- id: string;
4710
- };
4636
+ path?: never;
4711
4637
  cookie?: never;
4712
4638
  };
4713
- requestBody: {
4714
- content: {
4715
- "multipart/form-data": components["schemas"]["UpdateBannerEventDto"];
4716
- };
4717
- };
4639
+ requestBody?: never;
4718
4640
  responses: {
4719
4641
  200: {
4720
4642
  headers: {
4721
4643
  [name: string]: unknown;
4722
4644
  };
4723
4645
  content: {
4724
- "application/json": components["schemas"]["UpdateBannerEventResponseDto"];
4725
- };
4726
- };
4727
- 409: {
4728
- headers: {
4729
- [name: string]: unknown;
4730
- };
4731
- content: {
4732
- "application/json": components["schemas"]["ErrorDto"];
4733
- };
4734
- };
4735
- 422: {
4736
- headers: {
4737
- [name: string]: unknown;
4738
- };
4739
- content: {
4740
- "application/json": components["schemas"]["ErrorDto"];
4646
+ "application/json": components["schemas"]["GetAllEventsResponseDto"];
4741
4647
  };
4742
4648
  };
4743
- 500: {
4649
+ 404: {
4744
4650
  headers: {
4745
4651
  [name: string]: unknown;
4746
4652
  };
@@ -4750,13 +4656,11 @@ export interface operations {
4750
4656
  };
4751
4657
  };
4752
4658
  };
4753
- EventController_deleteBanner: {
4659
+ EventController_getActive: {
4754
4660
  parameters: {
4755
4661
  query?: never;
4756
4662
  header?: never;
4757
- path: {
4758
- id: string;
4759
- };
4663
+ path?: never;
4760
4664
  cookie?: never;
4761
4665
  };
4762
4666
  requestBody?: never;
@@ -4766,77 +4670,31 @@ export interface operations {
4766
4670
  [name: string]: unknown;
4767
4671
  };
4768
4672
  content: {
4769
- "application/json": components["schemas"]["UpdateMainPictureEventResponseDto"];
4770
- };
4771
- };
4772
- 404: {
4773
- headers: {
4774
- [name: string]: unknown;
4775
- };
4776
- content: {
4777
- "application/json": components["schemas"]["ErrorDto"];
4778
- };
4779
- };
4780
- 500: {
4781
- headers: {
4782
- [name: string]: unknown;
4783
- };
4784
- content: {
4785
- "application/json": components["schemas"]["ErrorDto"];
4673
+ "application/json": components["schemas"]["GetActiveEventsResponseDto"];
4786
4674
  };
4787
4675
  };
4788
4676
  };
4789
4677
  };
4790
- EventController_updateMainPicture: {
4678
+ EventController_getStatistics: {
4791
4679
  parameters: {
4792
4680
  query?: never;
4793
4681
  header?: never;
4794
- path: {
4795
- id: string;
4796
- };
4682
+ path?: never;
4797
4683
  cookie?: never;
4798
4684
  };
4799
- requestBody: {
4800
- content: {
4801
- "multipart/form-data": components["schemas"]["UpdateMainPictureEventDto"];
4802
- };
4803
- };
4685
+ requestBody?: never;
4804
4686
  responses: {
4805
4687
  200: {
4806
4688
  headers: {
4807
4689
  [name: string]: unknown;
4808
4690
  };
4809
4691
  content: {
4810
- "application/json": components["schemas"]["UpdateMainPictureEventResponseDto"];
4811
- };
4812
- };
4813
- 409: {
4814
- headers: {
4815
- [name: string]: unknown;
4816
- };
4817
- content: {
4818
- "application/json": components["schemas"]["ErrorDto"];
4819
- };
4820
- };
4821
- 422: {
4822
- headers: {
4823
- [name: string]: unknown;
4824
- };
4825
- content: {
4826
- "application/json": components["schemas"]["ErrorDto"];
4827
- };
4828
- };
4829
- 500: {
4830
- headers: {
4831
- [name: string]: unknown;
4832
- };
4833
- content: {
4834
- "application/json": components["schemas"]["ErrorDto"];
4692
+ "application/json": components["schemas"]["GetAllStatisticsResponseDto"];
4835
4693
  };
4836
4694
  };
4837
4695
  };
4838
4696
  };
4839
- EventController_deleteMainPicture: {
4697
+ EventController_findById: {
4840
4698
  parameters: {
4841
4699
  query?: never;
4842
4700
  header?: never;
@@ -4852,7 +4710,7 @@ export interface operations {
4852
4710
  [name: string]: unknown;
4853
4711
  };
4854
4712
  content: {
4855
- "application/json": components["schemas"]["UpdateMainPictureEventResponseDto"];
4713
+ "application/json": components["schemas"]["GetByIdEventResponseDto"];
4856
4714
  };
4857
4715
  };
4858
4716
  404: {
@@ -4863,33 +4721,19 @@ export interface operations {
4863
4721
  "application/json": components["schemas"]["ErrorDto"];
4864
4722
  };
4865
4723
  };
4866
- 500: {
4867
- headers: {
4868
- [name: string]: unknown;
4869
- };
4870
- content: {
4871
- "application/json": components["schemas"]["ErrorDto"];
4872
- };
4873
- };
4874
4724
  };
4875
4725
  };
4876
- EventController_findAll: {
4726
+ EventController_remove: {
4877
4727
  parameters: {
4878
4728
  query?: never;
4879
4729
  header?: never;
4880
- path?: never;
4730
+ path: {
4731
+ id: string;
4732
+ };
4881
4733
  cookie?: never;
4882
4734
  };
4883
4735
  requestBody?: never;
4884
4736
  responses: {
4885
- 200: {
4886
- headers: {
4887
- [name: string]: unknown;
4888
- };
4889
- content: {
4890
- "application/json": components["schemas"]["GetAllEventsResponseDto"];
4891
- };
4892
- };
4893
4737
  404: {
4894
4738
  headers: {
4895
4739
  [name: string]: unknown;
@@ -4898,28 +4742,17 @@ export interface operations {
4898
4742
  "application/json": components["schemas"]["ErrorDto"];
4899
4743
  };
4900
4744
  };
4901
- };
4902
- };
4903
- EventController_getActive: {
4904
- parameters: {
4905
- query?: never;
4906
- header?: never;
4907
- path?: never;
4908
- cookie?: never;
4909
- };
4910
- requestBody?: never;
4911
- responses: {
4912
- 200: {
4745
+ 410: {
4913
4746
  headers: {
4914
4747
  [name: string]: unknown;
4915
4748
  };
4916
4749
  content: {
4917
- "application/json": components["schemas"]["GetActiveEventsResponseDto"];
4750
+ "application/json": components["schemas"]["DeleteEventResponseDto"];
4918
4751
  };
4919
4752
  };
4920
4753
  };
4921
4754
  };
4922
- EventController_findById: {
4755
+ EventController_update: {
4923
4756
  parameters: {
4924
4757
  query?: never;
4925
4758
  header?: never;
@@ -4928,14 +4761,18 @@ export interface operations {
4928
4761
  };
4929
4762
  cookie?: never;
4930
4763
  };
4931
- requestBody?: never;
4764
+ requestBody: {
4765
+ content: {
4766
+ "application/json": components["schemas"]["UpdateEventDto"];
4767
+ };
4768
+ };
4932
4769
  responses: {
4933
4770
  200: {
4934
4771
  headers: {
4935
4772
  [name: string]: unknown;
4936
4773
  };
4937
4774
  content: {
4938
- "application/json": components["schemas"]["GetByIdEventResponseDto"];
4775
+ "application/json": components["schemas"]["UpdateEventResponseDto"];
4939
4776
  };
4940
4777
  };
4941
4778
  404: {
@@ -4946,20 +4783,7 @@ export interface operations {
4946
4783
  "application/json": components["schemas"]["ErrorDto"];
4947
4784
  };
4948
4785
  };
4949
- };
4950
- };
4951
- EventController_remove: {
4952
- parameters: {
4953
- query?: never;
4954
- header?: never;
4955
- path: {
4956
- id: string;
4957
- };
4958
- cookie?: never;
4959
- };
4960
- requestBody?: never;
4961
- responses: {
4962
- 404: {
4786
+ 409: {
4963
4787
  headers: {
4964
4788
  [name: string]: unknown;
4965
4789
  };
@@ -4967,37 +4791,28 @@ export interface operations {
4967
4791
  "application/json": components["schemas"]["ErrorDto"];
4968
4792
  };
4969
4793
  };
4970
- 410: {
4971
- headers: {
4972
- [name: string]: unknown;
4973
- };
4974
- content: {
4975
- "application/json": components["schemas"]["DeleteEventResponseDto"];
4976
- };
4977
- };
4978
4794
  };
4979
4795
  };
4980
- EventController_update: {
4796
+ EventController_getStatisticsById: {
4981
4797
  parameters: {
4982
- query?: never;
4798
+ query: {
4799
+ gte: string;
4800
+ lte: string;
4801
+ };
4983
4802
  header?: never;
4984
4803
  path: {
4985
4804
  id: string;
4986
4805
  };
4987
4806
  cookie?: never;
4988
4807
  };
4989
- requestBody: {
4990
- content: {
4991
- "application/json": components["schemas"]["UpdateEventDto"];
4992
- };
4993
- };
4808
+ requestBody?: never;
4994
4809
  responses: {
4995
4810
  200: {
4996
4811
  headers: {
4997
4812
  [name: string]: unknown;
4998
4813
  };
4999
4814
  content: {
5000
- "application/json": components["schemas"]["UpdateEventResponseDto"];
4815
+ "application/json": components["schemas"]["GetStatisticsByIdResponseDto"];
5001
4816
  };
5002
4817
  };
5003
4818
  404: {
@@ -5008,14 +4823,6 @@ export interface operations {
5008
4823
  "application/json": components["schemas"]["ErrorDto"];
5009
4824
  };
5010
4825
  };
5011
- 409: {
5012
- headers: {
5013
- [name: string]: unknown;
5014
- };
5015
- content: {
5016
- "application/json": components["schemas"]["ErrorDto"];
5017
- };
5018
- };
5019
4826
  };
5020
4827
  };
5021
4828
  EventController_toggleActive: {
@@ -5268,7 +5075,7 @@ export interface operations {
5268
5075
  };
5269
5076
  };
5270
5077
  };
5271
- ProfileController_updateImage: {
5078
+ ProfileController_findById: {
5272
5079
  parameters: {
5273
5080
  query?: never;
5274
5081
  header?: never;
@@ -5277,21 +5084,17 @@ export interface operations {
5277
5084
  };
5278
5085
  cookie?: never;
5279
5086
  };
5280
- requestBody: {
5281
- content: {
5282
- "multipart/form-data": components["schemas"]["UpdateImageProfileDto"];
5283
- };
5284
- };
5087
+ requestBody?: never;
5285
5088
  responses: {
5286
5089
  200: {
5287
5090
  headers: {
5288
5091
  [name: string]: unknown;
5289
5092
  };
5290
5093
  content: {
5291
- "application/json": components["schemas"]["UpdateImageProfileResponseDto"];
5094
+ "application/json": components["schemas"]["FindByIdProfileResponseDto"];
5292
5095
  };
5293
5096
  };
5294
- 409: {
5097
+ 404: {
5295
5098
  headers: {
5296
5099
  [name: string]: unknown;
5297
5100
  };
@@ -5299,15 +5102,28 @@ export interface operations {
5299
5102
  "application/json": components["schemas"]["ErrorDto"];
5300
5103
  };
5301
5104
  };
5302
- 422: {
5105
+ };
5106
+ };
5107
+ ProfileController_delete: {
5108
+ parameters: {
5109
+ query?: never;
5110
+ header?: never;
5111
+ path: {
5112
+ id: string;
5113
+ };
5114
+ cookie?: never;
5115
+ };
5116
+ requestBody?: never;
5117
+ responses: {
5118
+ 200: {
5303
5119
  headers: {
5304
5120
  [name: string]: unknown;
5305
5121
  };
5306
5122
  content: {
5307
- "application/json": components["schemas"]["ErrorDto"];
5123
+ "application/json": components["schemas"]["DeleteProfileResponseDto"];
5308
5124
  };
5309
5125
  };
5310
- 500: {
5126
+ 404: {
5311
5127
  headers: {
5312
5128
  [name: string]: unknown;
5313
5129
  };
@@ -5317,7 +5133,7 @@ export interface operations {
5317
5133
  };
5318
5134
  };
5319
5135
  };
5320
- ProfileController_deleteImage: {
5136
+ ProfileController_update: {
5321
5137
  parameters: {
5322
5138
  query?: never;
5323
5139
  header?: never;
@@ -5326,14 +5142,18 @@ export interface operations {
5326
5142
  };
5327
5143
  cookie?: never;
5328
5144
  };
5329
- requestBody?: never;
5145
+ requestBody: {
5146
+ content: {
5147
+ "application/json": components["schemas"]["UpdateProfileDto"];
5148
+ };
5149
+ };
5330
5150
  responses: {
5331
5151
  200: {
5332
5152
  headers: {
5333
5153
  [name: string]: unknown;
5334
5154
  };
5335
5155
  content: {
5336
- "application/json": components["schemas"]["DeleteImageProfileResponseDto"];
5156
+ "application/json": components["schemas"]["UpdateProfileDto"];
5337
5157
  };
5338
5158
  };
5339
5159
  404: {
@@ -5344,7 +5164,7 @@ export interface operations {
5344
5164
  "application/json": components["schemas"]["ErrorDto"];
5345
5165
  };
5346
5166
  };
5347
- 500: {
5167
+ 409: {
5348
5168
  headers: {
5349
5169
  [name: string]: unknown;
5350
5170
  };
@@ -5354,7 +5174,7 @@ export interface operations {
5354
5174
  };
5355
5175
  };
5356
5176
  };
5357
- ProfileController_findById: {
5177
+ ImageController_updateImage: {
5358
5178
  parameters: {
5359
5179
  query?: never;
5360
5180
  header?: never;
@@ -5363,17 +5183,21 @@ export interface operations {
5363
5183
  };
5364
5184
  cookie?: never;
5365
5185
  };
5366
- requestBody?: never;
5186
+ requestBody: {
5187
+ content: {
5188
+ "multipart/form-data": components["schemas"]["UpdateImageDto"];
5189
+ };
5190
+ };
5367
5191
  responses: {
5368
5192
  200: {
5369
5193
  headers: {
5370
5194
  [name: string]: unknown;
5371
5195
  };
5372
5196
  content: {
5373
- "application/json": components["schemas"]["FindByIdProfileResponseDto"];
5197
+ "application/json": components["schemas"]["UpdateImageResponseDto"];
5374
5198
  };
5375
5199
  };
5376
- 404: {
5200
+ 409: {
5377
5201
  headers: {
5378
5202
  [name: string]: unknown;
5379
5203
  };
@@ -5381,28 +5205,15 @@ export interface operations {
5381
5205
  "application/json": components["schemas"]["ErrorDto"];
5382
5206
  };
5383
5207
  };
5384
- };
5385
- };
5386
- ProfileController_delete: {
5387
- parameters: {
5388
- query?: never;
5389
- header?: never;
5390
- path: {
5391
- id: string;
5392
- };
5393
- cookie?: never;
5394
- };
5395
- requestBody?: never;
5396
- responses: {
5397
- 200: {
5208
+ 422: {
5398
5209
  headers: {
5399
5210
  [name: string]: unknown;
5400
5211
  };
5401
5212
  content: {
5402
- "application/json": components["schemas"]["DeleteProfileResponseDto"];
5213
+ "application/json": components["schemas"]["ErrorDto"];
5403
5214
  };
5404
5215
  };
5405
- 404: {
5216
+ 500: {
5406
5217
  headers: {
5407
5218
  [name: string]: unknown;
5408
5219
  };
@@ -5412,7 +5223,7 @@ export interface operations {
5412
5223
  };
5413
5224
  };
5414
5225
  };
5415
- ProfileController_update: {
5226
+ ImageController_deleteImage: {
5416
5227
  parameters: {
5417
5228
  query?: never;
5418
5229
  header?: never;
@@ -5421,18 +5232,14 @@ export interface operations {
5421
5232
  };
5422
5233
  cookie?: never;
5423
5234
  };
5424
- requestBody: {
5425
- content: {
5426
- "application/json": components["schemas"]["UpdateProfileDto"];
5427
- };
5428
- };
5235
+ requestBody?: never;
5429
5236
  responses: {
5430
5237
  200: {
5431
5238
  headers: {
5432
5239
  [name: string]: unknown;
5433
5240
  };
5434
5241
  content: {
5435
- "application/json": components["schemas"]["UpdateProfileDto"];
5242
+ "application/json": components["schemas"]["DeleteImageResponseDto"];
5436
5243
  };
5437
5244
  };
5438
5245
  404: {
@@ -5443,7 +5250,7 @@ export interface operations {
5443
5250
  "application/json": components["schemas"]["ErrorDto"];
5444
5251
  };
5445
5252
  };
5446
- 409: {
5253
+ 500: {
5447
5254
  headers: {
5448
5255
  [name: string]: unknown;
5449
5256
  };