@sortipei/api-contracts 0.2.6 → 0.2.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.
@@ -5,12 +5,12 @@ export declare const TopEventDTOSchema: z.ZodObject<{
5
5
  eventId: z.ZodBranded<z.ZodString, "EventId">;
6
6
  eventTitle: z.ZodString;
7
7
  }, "strip", z.ZodTypeAny, {
8
- count: number;
9
8
  eventId: string & z.BRAND<"EventId">;
9
+ count: number;
10
10
  eventTitle: string;
11
11
  }, {
12
- count: number;
13
12
  eventId: string;
13
+ count: number;
14
14
  eventTitle: string;
15
15
  }>;
16
16
  export declare const AdStatDTOSchema: z.ZodObject<{
@@ -71,12 +71,12 @@ export declare const GlobalStatsDTOSchema: z.ZodObject<{
71
71
  eventId: z.ZodBranded<z.ZodString, "EventId">;
72
72
  eventTitle: z.ZodString;
73
73
  }, "strip", z.ZodTypeAny, {
74
- count: number;
75
74
  eventId: string & z.BRAND<"EventId">;
75
+ count: number;
76
76
  eventTitle: string;
77
77
  }, {
78
- count: number;
79
78
  eventId: string;
79
+ count: number;
80
80
  eventTitle: string;
81
81
  }>, "many">;
82
82
  topUpcomingAddedToFavoritesEvents: z.ZodArray<z.ZodObject<{
@@ -84,12 +84,12 @@ export declare const GlobalStatsDTOSchema: z.ZodObject<{
84
84
  eventId: z.ZodBranded<z.ZodString, "EventId">;
85
85
  eventTitle: z.ZodString;
86
86
  }, "strip", z.ZodTypeAny, {
87
- count: number;
88
87
  eventId: string & z.BRAND<"EventId">;
88
+ count: number;
89
89
  eventTitle: string;
90
90
  }, {
91
- count: number;
92
91
  eventId: string;
92
+ count: number;
93
93
  eventTitle: string;
94
94
  }>, "many">;
95
95
  topUpcomingViewedEvents: z.ZodArray<z.ZodObject<{
@@ -97,12 +97,12 @@ export declare const GlobalStatsDTOSchema: z.ZodObject<{
97
97
  eventId: z.ZodBranded<z.ZodString, "EventId">;
98
98
  eventTitle: z.ZodString;
99
99
  }, "strip", z.ZodTypeAny, {
100
- count: number;
101
100
  eventId: string & z.BRAND<"EventId">;
101
+ count: number;
102
102
  eventTitle: string;
103
103
  }, {
104
- count: number;
105
104
  eventId: string;
105
+ count: number;
106
106
  eventTitle: string;
107
107
  }>, "many">;
108
108
  topViewedEvents: z.ZodArray<z.ZodObject<{
@@ -110,12 +110,12 @@ export declare const GlobalStatsDTOSchema: z.ZodObject<{
110
110
  eventId: z.ZodBranded<z.ZodString, "EventId">;
111
111
  eventTitle: z.ZodString;
112
112
  }, "strip", z.ZodTypeAny, {
113
- count: number;
114
113
  eventId: string & z.BRAND<"EventId">;
114
+ count: number;
115
115
  eventTitle: string;
116
116
  }, {
117
- count: number;
118
117
  eventId: string;
118
+ count: number;
119
119
  eventTitle: string;
120
120
  }>, "many">;
121
121
  totalAddedToCalendar: z.ZodNumber;
@@ -134,23 +134,23 @@ export declare const GlobalStatsDTOSchema: z.ZodObject<{
134
134
  presentOrFutureEventsCount: number;
135
135
  sharedEventsCount: number;
136
136
  topAddedToFavoritesEvents: {
137
- count: number;
138
137
  eventId: string & z.BRAND<"EventId">;
138
+ count: number;
139
139
  eventTitle: string;
140
140
  }[];
141
141
  topUpcomingAddedToFavoritesEvents: {
142
- count: number;
143
142
  eventId: string & z.BRAND<"EventId">;
143
+ count: number;
144
144
  eventTitle: string;
145
145
  }[];
146
146
  topUpcomingViewedEvents: {
147
- count: number;
148
147
  eventId: string & z.BRAND<"EventId">;
148
+ count: number;
149
149
  eventTitle: string;
150
150
  }[];
151
151
  topViewedEvents: {
152
- count: number;
153
152
  eventId: string & z.BRAND<"EventId">;
153
+ count: number;
154
154
  eventTitle: string;
155
155
  }[];
156
156
  totalAddedToCalendar: number;
@@ -169,23 +169,23 @@ export declare const GlobalStatsDTOSchema: z.ZodObject<{
169
169
  presentOrFutureEventsCount: number;
170
170
  sharedEventsCount: number;
171
171
  topAddedToFavoritesEvents: {
172
- count: number;
173
172
  eventId: string;
173
+ count: number;
174
174
  eventTitle: string;
175
175
  }[];
176
176
  topUpcomingAddedToFavoritesEvents: {
177
- count: number;
178
177
  eventId: string;
178
+ count: number;
179
179
  eventTitle: string;
180
180
  }[];
181
181
  topUpcomingViewedEvents: {
182
- count: number;
183
182
  eventId: string;
183
+ count: number;
184
184
  eventTitle: string;
185
185
  }[];
186
186
  topViewedEvents: {
187
- count: number;
188
187
  eventId: string;
188
+ count: number;
189
189
  eventTitle: string;
190
190
  }[];
191
191
  totalAddedToCalendar: number;
@@ -205,30 +205,30 @@ export declare const SaveStatisticDTOSchema: z.ZodObject<{
205
205
  adTitle: z.ZodString;
206
206
  userId: z.ZodString;
207
207
  }, "strip", z.ZodTypeAny, {
208
+ userId: string;
208
209
  adId: string;
209
210
  adTitle: string;
210
- userId: string;
211
211
  }, {
212
+ userId: string;
212
213
  adId: string;
213
214
  adTitle: string;
214
- userId: string;
215
215
  }>;
216
216
  time: z.ZodString;
217
217
  type: z.ZodLiteral<"ad-pressed">;
218
218
  }, "strip", z.ZodTypeAny, {
219
219
  type: "ad-pressed";
220
220
  data: {
221
+ userId: string;
221
222
  adId: string;
222
223
  adTitle: string;
223
- userId: string;
224
224
  };
225
225
  time: string;
226
226
  }, {
227
227
  type: "ad-pressed";
228
228
  data: {
229
+ userId: string;
229
230
  adId: string;
230
231
  adTitle: string;
231
- userId: string;
232
232
  };
233
233
  time: string;
234
234
  }>, z.ZodObject<{
@@ -255,14 +255,14 @@ export declare const SaveStatisticDTOSchema: z.ZodObject<{
255
255
  time: string;
256
256
  }>, z.ZodObject<{
257
257
  data: z.ZodObject<{
258
- category: z.ZodNativeEnum<typeof import("../../shared").Category>;
258
+ category: z.ZodNativeEnum<typeof import('../../shared').Category>;
259
259
  userId: z.ZodString;
260
260
  }, "strip", z.ZodTypeAny, {
261
261
  userId: string;
262
- category: import("../../shared").Category;
262
+ category: import('../../shared').Category;
263
263
  }, {
264
264
  userId: string;
265
- category: import("../../shared").Category;
265
+ category: import('../../shared').Category;
266
266
  }>;
267
267
  time: z.ZodString;
268
268
  type: z.ZodLiteral<"category-filter-applied">;
@@ -270,14 +270,14 @@ export declare const SaveStatisticDTOSchema: z.ZodObject<{
270
270
  type: "category-filter-applied";
271
271
  data: {
272
272
  userId: string;
273
- category: import("../../shared").Category;
273
+ category: import('../../shared').Category;
274
274
  };
275
275
  time: string;
276
276
  }, {
277
277
  type: "category-filter-applied";
278
278
  data: {
279
279
  userId: string;
280
- category: import("../../shared").Category;
280
+ category: import('../../shared').Category;
281
281
  };
282
282
  time: string;
283
283
  }>, z.ZodObject<{
@@ -317,26 +317,26 @@ export declare const SaveStatisticDTOSchema: z.ZodObject<{
317
317
  userId: z.ZodString;
318
318
  eventId: z.ZodString;
319
319
  }, "strip", z.ZodTypeAny, {
320
- eventId: string;
321
320
  userId: string;
322
- }, {
323
321
  eventId: string;
322
+ }, {
324
323
  userId: string;
324
+ eventId: string;
325
325
  }>;
326
326
  time: z.ZodString;
327
327
  type: z.ZodLiteral<"event-added-to-calendar">;
328
328
  }, "strip", z.ZodTypeAny, {
329
329
  type: "event-added-to-calendar";
330
330
  data: {
331
- eventId: string;
332
331
  userId: string;
332
+ eventId: string;
333
333
  };
334
334
  time: string;
335
335
  }, {
336
336
  type: "event-added-to-calendar";
337
337
  data: {
338
- eventId: string;
339
338
  userId: string;
339
+ eventId: string;
340
340
  };
341
341
  time: string;
342
342
  }>, z.ZodObject<{
@@ -344,26 +344,26 @@ export declare const SaveStatisticDTOSchema: z.ZodObject<{
344
344
  userId: z.ZodString;
345
345
  eventId: z.ZodString;
346
346
  }, "strip", z.ZodTypeAny, {
347
- eventId: string;
348
347
  userId: string;
349
- }, {
350
348
  eventId: string;
349
+ }, {
351
350
  userId: string;
351
+ eventId: string;
352
352
  }>;
353
353
  time: z.ZodString;
354
354
  type: z.ZodLiteral<"event-added-to-favorites">;
355
355
  }, "strip", z.ZodTypeAny, {
356
356
  type: "event-added-to-favorites";
357
357
  data: {
358
- eventId: string;
359
358
  userId: string;
359
+ eventId: string;
360
360
  };
361
361
  time: string;
362
362
  }, {
363
363
  type: "event-added-to-favorites";
364
364
  data: {
365
- eventId: string;
366
365
  userId: string;
366
+ eventId: string;
367
367
  };
368
368
  time: string;
369
369
  }>, z.ZodObject<{
@@ -371,26 +371,26 @@ export declare const SaveStatisticDTOSchema: z.ZodObject<{
371
371
  userId: z.ZodString;
372
372
  eventId: z.ZodString;
373
373
  }, "strip", z.ZodTypeAny, {
374
- eventId: string;
375
374
  userId: string;
376
- }, {
377
375
  eventId: string;
376
+ }, {
378
377
  userId: string;
378
+ eventId: string;
379
379
  }>;
380
380
  time: z.ZodString;
381
381
  type: z.ZodLiteral<"event-displayed">;
382
382
  }, "strip", z.ZodTypeAny, {
383
383
  type: "event-displayed";
384
384
  data: {
385
- eventId: string;
386
385
  userId: string;
386
+ eventId: string;
387
387
  };
388
388
  time: string;
389
389
  }, {
390
390
  type: "event-displayed";
391
391
  data: {
392
- eventId: string;
393
392
  userId: string;
393
+ eventId: string;
394
394
  };
395
395
  time: string;
396
396
  }>, z.ZodObject<{
@@ -398,26 +398,26 @@ export declare const SaveStatisticDTOSchema: z.ZodObject<{
398
398
  userId: z.ZodString;
399
399
  eventId: z.ZodString;
400
400
  }, "strip", z.ZodTypeAny, {
401
- eventId: string;
402
401
  userId: string;
403
- }, {
404
402
  eventId: string;
403
+ }, {
405
404
  userId: string;
405
+ eventId: string;
406
406
  }>;
407
407
  time: z.ZodString;
408
408
  type: z.ZodLiteral<"event-see-more-clicked">;
409
409
  }, "strip", z.ZodTypeAny, {
410
410
  type: "event-see-more-clicked";
411
411
  data: {
412
- eventId: string;
413
412
  userId: string;
413
+ eventId: string;
414
414
  };
415
415
  time: string;
416
416
  }, {
417
417
  type: "event-see-more-clicked";
418
418
  data: {
419
- eventId: string;
420
419
  userId: string;
420
+ eventId: string;
421
421
  };
422
422
  time: string;
423
423
  }>, z.ZodObject<{
@@ -425,26 +425,26 @@ export declare const SaveStatisticDTOSchema: z.ZodObject<{
425
425
  userId: z.ZodString;
426
426
  eventId: z.ZodString;
427
427
  }, "strip", z.ZodTypeAny, {
428
- eventId: string;
429
428
  userId: string;
430
- }, {
431
429
  eventId: string;
430
+ }, {
432
431
  userId: string;
432
+ eventId: string;
433
433
  }>;
434
434
  time: z.ZodString;
435
435
  type: z.ZodLiteral<"event-shared">;
436
436
  }, "strip", z.ZodTypeAny, {
437
437
  type: "event-shared";
438
438
  data: {
439
- eventId: string;
440
439
  userId: string;
440
+ eventId: string;
441
441
  };
442
442
  time: string;
443
443
  }, {
444
444
  type: "event-shared";
445
445
  data: {
446
- eventId: string;
447
446
  userId: string;
447
+ eventId: string;
448
448
  };
449
449
  time: string;
450
450
  }>, z.ZodObject<{
@@ -452,26 +452,26 @@ export declare const SaveStatisticDTOSchema: z.ZodObject<{
452
452
  userId: z.ZodString;
453
453
  eventId: z.ZodString;
454
454
  }, "strip", z.ZodTypeAny, {
455
- eventId: string;
456
455
  userId: string;
457
- }, {
458
456
  eventId: string;
457
+ }, {
459
458
  userId: string;
459
+ eventId: string;
460
460
  }>;
461
461
  time: z.ZodString;
462
462
  type: z.ZodLiteral<"event-tickets-clicked">;
463
463
  }, "strip", z.ZodTypeAny, {
464
464
  type: "event-tickets-clicked";
465
465
  data: {
466
- eventId: string;
467
466
  userId: string;
467
+ eventId: string;
468
468
  };
469
469
  time: string;
470
470
  }, {
471
471
  type: "event-tickets-clicked";
472
472
  data: {
473
- eventId: string;
474
473
  userId: string;
474
+ eventId: string;
475
475
  };
476
476
  time: string;
477
477
  }>, z.ZodObject<{
@@ -547,14 +547,14 @@ export declare const SaveStatisticDTOSchema: z.ZodObject<{
547
547
  time: string;
548
548
  }>, z.ZodObject<{
549
549
  data: z.ZodObject<{
550
- regions: z.ZodArray<z.ZodNativeEnum<typeof import("../../shared").Region>, "many">;
550
+ regions: z.ZodArray<z.ZodNativeEnum<typeof import('../../shared').Region>, "many">;
551
551
  userId: z.ZodString;
552
552
  }, "strip", z.ZodTypeAny, {
553
553
  userId: string;
554
- regions: import("../../shared").Region[];
554
+ regions: import('../../shared').Region[];
555
555
  }, {
556
556
  userId: string;
557
- regions: import("../../shared").Region[];
557
+ regions: import('../../shared').Region[];
558
558
  }>;
559
559
  time: z.ZodString;
560
560
  type: z.ZodLiteral<"region-filter-applied">;
@@ -562,212 +562,212 @@ export declare const SaveStatisticDTOSchema: z.ZodObject<{
562
562
  type: "region-filter-applied";
563
563
  data: {
564
564
  userId: string;
565
- regions: import("../../shared").Region[];
565
+ regions: import('../../shared').Region[];
566
566
  };
567
567
  time: string;
568
568
  }, {
569
569
  type: "region-filter-applied";
570
570
  data: {
571
571
  userId: string;
572
- regions: import("../../shared").Region[];
572
+ regions: import('../../shared').Region[];
573
573
  };
574
574
  time: string;
575
575
  }>]>;
576
576
  }, "strip", z.ZodTypeAny, {
577
577
  statistic: {
578
- type: "ad-pressed";
578
+ type: "app-started";
579
579
  data: {
580
- adId: string;
581
- adTitle: string;
582
580
  userId: string;
583
581
  };
584
582
  time: string;
585
583
  } | {
586
- type: "app-started";
584
+ type: "event-displayed";
587
585
  data: {
588
586
  userId: string;
587
+ eventId: string;
589
588
  };
590
589
  time: string;
591
590
  } | {
592
- type: "category-filter-applied";
591
+ type: "organizer-displayed";
593
592
  data: {
594
593
  userId: string;
595
- category: import("../../shared").Category;
594
+ organizerId: string;
596
595
  };
597
596
  time: string;
598
597
  } | {
599
- type: "date-filter-applied";
598
+ type: "event-added-to-favorites";
600
599
  data: {
601
600
  userId: string;
602
- startTime: string;
603
- endTime: string;
601
+ eventId: string;
604
602
  };
605
603
  time: string;
606
604
  } | {
607
605
  type: "event-added-to-calendar";
608
606
  data: {
609
- eventId: string;
610
607
  userId: string;
608
+ eventId: string;
611
609
  };
612
610
  time: string;
613
611
  } | {
614
- type: "event-added-to-favorites";
612
+ type: "event-shared";
615
613
  data: {
616
- eventId: string;
617
614
  userId: string;
615
+ eventId: string;
618
616
  };
619
617
  time: string;
620
618
  } | {
621
- type: "event-displayed";
619
+ type: "event-tickets-clicked";
622
620
  data: {
623
- eventId: string;
624
621
  userId: string;
622
+ eventId: string;
625
623
  };
626
624
  time: string;
627
625
  } | {
628
626
  type: "event-see-more-clicked";
629
627
  data: {
630
- eventId: string;
631
628
  userId: string;
629
+ eventId: string;
632
630
  };
633
631
  time: string;
634
632
  } | {
635
- type: "event-shared";
633
+ type: "region-filter-applied";
636
634
  data: {
637
- eventId: string;
638
635
  userId: string;
636
+ regions: import('../../shared').Region[];
639
637
  };
640
638
  time: string;
641
639
  } | {
642
- type: "event-tickets-clicked";
640
+ type: "free-filter-applied";
643
641
  data: {
644
- eventId: string;
645
642
  userId: string;
646
643
  };
647
644
  time: string;
648
645
  } | {
649
- type: "free-filter-applied";
646
+ type: "category-filter-applied";
650
647
  data: {
651
648
  userId: string;
649
+ category: import('../../shared').Category;
652
650
  };
653
651
  time: string;
654
652
  } | {
655
- type: "old-times-filter-applied";
653
+ type: "date-filter-applied";
656
654
  data: {
657
655
  userId: string;
656
+ startTime: string;
657
+ endTime: string;
658
658
  };
659
659
  time: string;
660
660
  } | {
661
- type: "organizer-displayed";
661
+ type: "old-times-filter-applied";
662
662
  data: {
663
663
  userId: string;
664
- organizerId: string;
665
664
  };
666
665
  time: string;
667
666
  } | {
668
- type: "region-filter-applied";
667
+ type: "ad-pressed";
669
668
  data: {
670
669
  userId: string;
671
- regions: import("../../shared").Region[];
670
+ adId: string;
671
+ adTitle: string;
672
672
  };
673
673
  time: string;
674
674
  };
675
675
  }, {
676
676
  statistic: {
677
- type: "ad-pressed";
677
+ type: "app-started";
678
678
  data: {
679
- adId: string;
680
- adTitle: string;
681
679
  userId: string;
682
680
  };
683
681
  time: string;
684
682
  } | {
685
- type: "app-started";
683
+ type: "event-displayed";
686
684
  data: {
687
685
  userId: string;
686
+ eventId: string;
688
687
  };
689
688
  time: string;
690
689
  } | {
691
- type: "category-filter-applied";
690
+ type: "organizer-displayed";
692
691
  data: {
693
692
  userId: string;
694
- category: import("../../shared").Category;
693
+ organizerId: string;
695
694
  };
696
695
  time: string;
697
696
  } | {
698
- type: "date-filter-applied";
697
+ type: "event-added-to-favorites";
699
698
  data: {
700
699
  userId: string;
701
- startTime: string;
702
- endTime: string;
700
+ eventId: string;
703
701
  };
704
702
  time: string;
705
703
  } | {
706
704
  type: "event-added-to-calendar";
707
705
  data: {
708
- eventId: string;
709
706
  userId: string;
707
+ eventId: string;
710
708
  };
711
709
  time: string;
712
710
  } | {
713
- type: "event-added-to-favorites";
711
+ type: "event-shared";
714
712
  data: {
715
- eventId: string;
716
713
  userId: string;
714
+ eventId: string;
717
715
  };
718
716
  time: string;
719
717
  } | {
720
- type: "event-displayed";
718
+ type: "event-tickets-clicked";
721
719
  data: {
722
- eventId: string;
723
720
  userId: string;
721
+ eventId: string;
724
722
  };
725
723
  time: string;
726
724
  } | {
727
725
  type: "event-see-more-clicked";
728
726
  data: {
729
- eventId: string;
730
727
  userId: string;
728
+ eventId: string;
731
729
  };
732
730
  time: string;
733
731
  } | {
734
- type: "event-shared";
732
+ type: "region-filter-applied";
735
733
  data: {
736
- eventId: string;
737
734
  userId: string;
735
+ regions: import('../../shared').Region[];
738
736
  };
739
737
  time: string;
740
738
  } | {
741
- type: "event-tickets-clicked";
739
+ type: "free-filter-applied";
742
740
  data: {
743
- eventId: string;
744
741
  userId: string;
745
742
  };
746
743
  time: string;
747
744
  } | {
748
- type: "free-filter-applied";
745
+ type: "category-filter-applied";
749
746
  data: {
750
747
  userId: string;
748
+ category: import('../../shared').Category;
751
749
  };
752
750
  time: string;
753
751
  } | {
754
- type: "old-times-filter-applied";
752
+ type: "date-filter-applied";
755
753
  data: {
756
754
  userId: string;
755
+ startTime: string;
756
+ endTime: string;
757
757
  };
758
758
  time: string;
759
759
  } | {
760
- type: "organizer-displayed";
760
+ type: "old-times-filter-applied";
761
761
  data: {
762
762
  userId: string;
763
- organizerId: string;
764
763
  };
765
764
  time: string;
766
765
  } | {
767
- type: "region-filter-applied";
766
+ type: "ad-pressed";
768
767
  data: {
769
768
  userId: string;
770
- regions: import("../../shared").Region[];
769
+ adId: string;
770
+ adTitle: string;
771
771
  };
772
772
  time: string;
773
773
  };