@sortipei/api-contracts 0.2.18 → 0.3.0

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.
@@ -2,201 +2,59 @@ import { z } from 'zod';
2
2
  import { StatisticSchema } from '../../shared';
3
3
  export declare const TopEventDTOSchema: z.ZodObject<{
4
4
  count: z.ZodNumber;
5
- eventId: z.ZodBranded<z.ZodString, "EventId">;
5
+ eventId: z.core.$ZodBranded<z.ZodUUID, "EventId", "out">;
6
6
  eventTitle: z.ZodString;
7
- }, "strip", z.ZodTypeAny, {
8
- eventId: string & z.BRAND<"EventId">;
9
- count: number;
10
- eventTitle: string;
11
- }, {
12
- eventId: string;
13
- count: number;
14
- eventTitle: string;
15
- }>;
7
+ }, z.core.$strip>;
16
8
  export declare const AdStatDTOSchema: z.ZodObject<{
17
- adId: z.ZodUnion<[z.ZodBranded<z.ZodString, "MainAdId">, z.ZodBranded<z.ZodString, "RegionalAdId">]>;
9
+ adId: z.ZodUnion<readonly [z.core.$ZodBranded<z.ZodUUID, "MainAdId", "out">, z.core.$ZodBranded<z.ZodUUID, "RegionalAdId", "out">]>;
18
10
  adTitle: z.ZodString;
19
11
  pressedCount: z.ZodNumber;
20
- }, "strip", z.ZodTypeAny, {
21
- adId: (string & z.BRAND<"MainAdId">) | (string & z.BRAND<"RegionalAdId">);
22
- adTitle: string;
23
- pressedCount: number;
24
- }, {
25
- adId: string;
26
- adTitle: string;
27
- pressedCount: number;
28
- }>;
12
+ }, z.core.$strip>;
29
13
  export declare const EventStatisticsDTOSchema: z.ZodObject<{
30
- addedToCalendarCount: z.ZodNumber;
31
- favoritesCount: z.ZodNumber;
32
- openedCount: z.ZodNumber;
33
- seeMoreClickedCount: z.ZodNumber;
34
- sharedCount: z.ZodNumber;
35
- ticketsUrlClickedCount: z.ZodNumber;
36
- }, "strip", z.ZodTypeAny, {
37
- addedToCalendarCount: number;
38
- favoritesCount: number;
39
- openedCount: number;
40
- seeMoreClickedCount: number;
41
- sharedCount: number;
42
- ticketsUrlClickedCount: number;
43
- }, {
44
- addedToCalendarCount: number;
45
- favoritesCount: number;
46
- openedCount: number;
47
- seeMoreClickedCount: number;
48
- sharedCount: number;
49
- ticketsUrlClickedCount: number;
50
- }>;
14
+ addedToCalendarCount: z.ZodFloat32;
15
+ favoritesCount: z.ZodFloat32;
16
+ openedCount: z.ZodFloat32;
17
+ seeMoreClickedCount: z.ZodFloat32;
18
+ sharedCount: z.ZodFloat32;
19
+ ticketsUrlClickedCount: z.ZodFloat32;
20
+ }, z.core.$strip>;
51
21
  export declare const GlobalStatsDTOSchema: z.ZodObject<{
52
22
  allAdsStats: z.ZodArray<z.ZodObject<{
53
- adId: z.ZodUnion<[z.ZodBranded<z.ZodString, "MainAdId">, z.ZodBranded<z.ZodString, "RegionalAdId">]>;
23
+ adId: z.ZodUnion<readonly [z.core.$ZodBranded<z.ZodUUID, "MainAdId", "out">, z.core.$ZodBranded<z.ZodUUID, "RegionalAdId", "out">]>;
54
24
  adTitle: z.ZodString;
55
25
  pressedCount: z.ZodNumber;
56
- }, "strip", z.ZodTypeAny, {
57
- adId: (string & z.BRAND<"MainAdId">) | (string & z.BRAND<"RegionalAdId">);
58
- adTitle: string;
59
- pressedCount: number;
60
- }, {
61
- adId: string;
62
- adTitle: string;
63
- pressedCount: number;
64
- }>, "many">;
26
+ }, z.core.$strip>>;
65
27
  eventsCount: z.ZodNumber;
66
28
  openedEventsCount: z.ZodNumber;
67
29
  presentOrFutureEventsCount: z.ZodNumber;
68
30
  sharedEventsCount: z.ZodNumber;
69
31
  topAddedToFavoritesEvents: z.ZodArray<z.ZodObject<{
70
32
  count: z.ZodNumber;
71
- eventId: z.ZodBranded<z.ZodString, "EventId">;
33
+ eventId: z.core.$ZodBranded<z.ZodUUID, "EventId", "out">;
72
34
  eventTitle: z.ZodString;
73
- }, "strip", z.ZodTypeAny, {
74
- eventId: string & z.BRAND<"EventId">;
75
- count: number;
76
- eventTitle: string;
77
- }, {
78
- eventId: string;
79
- count: number;
80
- eventTitle: string;
81
- }>, "many">;
35
+ }, z.core.$strip>>;
82
36
  topUpcomingAddedToFavoritesEvents: z.ZodArray<z.ZodObject<{
83
37
  count: z.ZodNumber;
84
- eventId: z.ZodBranded<z.ZodString, "EventId">;
38
+ eventId: z.core.$ZodBranded<z.ZodUUID, "EventId", "out">;
85
39
  eventTitle: z.ZodString;
86
- }, "strip", z.ZodTypeAny, {
87
- eventId: string & z.BRAND<"EventId">;
88
- count: number;
89
- eventTitle: string;
90
- }, {
91
- eventId: string;
92
- count: number;
93
- eventTitle: string;
94
- }>, "many">;
40
+ }, z.core.$strip>>;
95
41
  topUpcomingViewedEvents: z.ZodArray<z.ZodObject<{
96
42
  count: z.ZodNumber;
97
- eventId: z.ZodBranded<z.ZodString, "EventId">;
43
+ eventId: z.core.$ZodBranded<z.ZodUUID, "EventId", "out">;
98
44
  eventTitle: z.ZodString;
99
- }, "strip", z.ZodTypeAny, {
100
- eventId: string & z.BRAND<"EventId">;
101
- count: number;
102
- eventTitle: string;
103
- }, {
104
- eventId: string;
105
- count: number;
106
- eventTitle: string;
107
- }>, "many">;
45
+ }, z.core.$strip>>;
108
46
  topViewedEvents: z.ZodArray<z.ZodObject<{
109
47
  count: z.ZodNumber;
110
- eventId: z.ZodBranded<z.ZodString, "EventId">;
48
+ eventId: z.core.$ZodBranded<z.ZodUUID, "EventId", "out">;
111
49
  eventTitle: z.ZodString;
112
- }, "strip", z.ZodTypeAny, {
113
- eventId: string & z.BRAND<"EventId">;
114
- count: number;
115
- eventTitle: string;
116
- }, {
117
- eventId: string;
118
- count: number;
119
- eventTitle: string;
120
- }>, "many">;
50
+ }, z.core.$strip>>;
121
51
  totalAddedToCalendar: z.ZodNumber;
122
52
  totalFavoritesCount: z.ZodNumber;
123
53
  totalShared: z.ZodNumber;
124
54
  usersCount: z.ZodNumber;
125
55
  usersWithMultipleDayAppOpened: z.ZodNumber;
126
56
  appOpenedCount: z.ZodNumber;
127
- }, "strip", z.ZodTypeAny, {
128
- allAdsStats: {
129
- adId: (string & z.BRAND<"MainAdId">) | (string & z.BRAND<"RegionalAdId">);
130
- adTitle: string;
131
- pressedCount: number;
132
- }[];
133
- eventsCount: number;
134
- openedEventsCount: number;
135
- presentOrFutureEventsCount: number;
136
- sharedEventsCount: number;
137
- topAddedToFavoritesEvents: {
138
- eventId: string & z.BRAND<"EventId">;
139
- count: number;
140
- eventTitle: string;
141
- }[];
142
- topUpcomingAddedToFavoritesEvents: {
143
- eventId: string & z.BRAND<"EventId">;
144
- count: number;
145
- eventTitle: string;
146
- }[];
147
- topUpcomingViewedEvents: {
148
- eventId: string & z.BRAND<"EventId">;
149
- count: number;
150
- eventTitle: string;
151
- }[];
152
- topViewedEvents: {
153
- eventId: string & z.BRAND<"EventId">;
154
- count: number;
155
- eventTitle: string;
156
- }[];
157
- totalAddedToCalendar: number;
158
- totalFavoritesCount: number;
159
- totalShared: number;
160
- usersCount: number;
161
- usersWithMultipleDayAppOpened: number;
162
- appOpenedCount: number;
163
- }, {
164
- allAdsStats: {
165
- adId: string;
166
- adTitle: string;
167
- pressedCount: number;
168
- }[];
169
- eventsCount: number;
170
- openedEventsCount: number;
171
- presentOrFutureEventsCount: number;
172
- sharedEventsCount: number;
173
- topAddedToFavoritesEvents: {
174
- eventId: string;
175
- count: number;
176
- eventTitle: string;
177
- }[];
178
- topUpcomingAddedToFavoritesEvents: {
179
- eventId: string;
180
- count: number;
181
- eventTitle: string;
182
- }[];
183
- topUpcomingViewedEvents: {
184
- eventId: string;
185
- count: number;
186
- eventTitle: string;
187
- }[];
188
- topViewedEvents: {
189
- eventId: string;
190
- count: number;
191
- eventTitle: string;
192
- }[];
193
- totalAddedToCalendar: number;
194
- totalFavoritesCount: number;
195
- totalShared: number;
196
- usersCount: number;
197
- usersWithMultipleDayAppOpened: number;
198
- appOpenedCount: number;
199
- }>;
57
+ }, z.core.$strip>;
200
58
  export declare const TemporalStatsWeekDTOSchema: z.ZodObject<{
201
59
  appOpenedCount: z.ZodNumber;
202
60
  eventsCount: z.ZodNumber;
@@ -206,31 +64,9 @@ export declare const TemporalStatsWeekDTOSchema: z.ZodObject<{
206
64
  totalFavoritesCount: z.ZodNumber;
207
65
  totalShared: z.ZodNumber;
208
66
  usersCount: z.ZodNumber;
209
- weekEnd: z.ZodDate;
210
- weekStart: z.ZodDate;
211
- }, "strip", z.ZodTypeAny, {
212
- eventsCount: number;
213
- openedEventsCount: number;
214
- sharedEventsCount: number;
215
- totalAddedToCalendar: number;
216
- totalFavoritesCount: number;
217
- totalShared: number;
218
- usersCount: number;
219
- appOpenedCount: number;
220
- weekEnd: Date;
221
- weekStart: Date;
222
- }, {
223
- eventsCount: number;
224
- openedEventsCount: number;
225
- sharedEventsCount: number;
226
- totalAddedToCalendar: number;
227
- totalFavoritesCount: number;
228
- totalShared: number;
229
- usersCount: number;
230
- appOpenedCount: number;
231
- weekEnd: Date;
232
- weekStart: Date;
233
- }>;
67
+ weekEnd: z.ZodCoercedDate<unknown>;
68
+ weekStart: z.ZodCoercedDate<unknown>;
69
+ }, z.core.$strip>;
234
70
  export declare const TemporalStatsDTOSchema: z.ZodArray<z.ZodObject<{
235
71
  appOpenedCount: z.ZodNumber;
236
72
  eventsCount: z.ZodNumber;
@@ -240,31 +76,9 @@ export declare const TemporalStatsDTOSchema: z.ZodArray<z.ZodObject<{
240
76
  totalFavoritesCount: z.ZodNumber;
241
77
  totalShared: z.ZodNumber;
242
78
  usersCount: z.ZodNumber;
243
- weekEnd: z.ZodDate;
244
- weekStart: z.ZodDate;
245
- }, "strip", z.ZodTypeAny, {
246
- eventsCount: number;
247
- openedEventsCount: number;
248
- sharedEventsCount: number;
249
- totalAddedToCalendar: number;
250
- totalFavoritesCount: number;
251
- totalShared: number;
252
- usersCount: number;
253
- appOpenedCount: number;
254
- weekEnd: Date;
255
- weekStart: Date;
256
- }, {
257
- eventsCount: number;
258
- openedEventsCount: number;
259
- sharedEventsCount: number;
260
- totalAddedToCalendar: number;
261
- totalFavoritesCount: number;
262
- totalShared: number;
263
- usersCount: number;
264
- appOpenedCount: number;
265
- weekEnd: Date;
266
- weekStart: Date;
267
- }>, "many">;
79
+ weekEnd: z.ZodCoercedDate<unknown>;
80
+ weekStart: z.ZodCoercedDate<unknown>;
81
+ }, z.core.$strip>>;
268
82
  export type AdStatDTO = z.infer<typeof AdStatDTOSchema>;
269
83
  export type EventStatisticsDTO = z.infer<typeof EventStatisticsDTOSchema>;
270
84
  export type GlobalStatsDTO = z.infer<typeof GlobalStatsDTOSchema>;
@@ -272,579 +86,105 @@ export type TopEventDTO = z.infer<typeof TopEventDTOSchema>;
272
86
  export type TemporalStatsWeekDTO = z.infer<typeof TemporalStatsWeekDTOSchema>;
273
87
  export type TemporalStatsDTO = z.infer<typeof TemporalStatsDTOSchema>;
274
88
  export declare const SaveStatisticDTOSchema: z.ZodObject<{
275
- statistic: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
89
+ statistic: z.ZodDiscriminatedUnion<[z.ZodObject<{
276
90
  data: z.ZodObject<{
277
- adId: z.ZodString;
91
+ adId: z.ZodUUID;
278
92
  adTitle: z.ZodString;
279
- userId: z.ZodString;
280
- }, "strip", z.ZodTypeAny, {
281
- userId: string;
282
- adId: string;
283
- adTitle: string;
284
- }, {
285
- userId: string;
286
- adId: string;
287
- adTitle: string;
288
- }>;
289
- time: z.ZodString;
93
+ userId: z.ZodUUID;
94
+ }, z.core.$strip>;
95
+ time: z.ZodISODateTime;
290
96
  type: z.ZodLiteral<"ad-pressed">;
291
- }, "strip", z.ZodTypeAny, {
292
- type: "ad-pressed";
293
- data: {
294
- userId: string;
295
- adId: string;
296
- adTitle: string;
297
- };
298
- time: string;
299
- }, {
300
- type: "ad-pressed";
301
- data: {
302
- userId: string;
303
- adId: string;
304
- adTitle: string;
305
- };
306
- time: string;
307
- }>, z.ZodObject<{
97
+ }, z.core.$strip>, z.ZodObject<{
308
98
  data: z.ZodObject<{
309
- userId: z.ZodString;
310
- }, "strip", z.ZodTypeAny, {
311
- userId: string;
312
- }, {
313
- userId: string;
314
- }>;
315
- time: z.ZodString;
99
+ userId: z.ZodUUID;
100
+ }, z.core.$strip>;
101
+ time: z.ZodISODateTime;
316
102
  type: z.ZodLiteral<"app-started">;
317
- }, "strip", z.ZodTypeAny, {
318
- type: "app-started";
319
- data: {
320
- userId: string;
321
- };
322
- time: string;
323
- }, {
324
- type: "app-started";
325
- data: {
326
- userId: string;
327
- };
328
- time: string;
329
- }>, z.ZodObject<{
103
+ }, z.core.$strip>, z.ZodObject<{
330
104
  data: z.ZodObject<{
331
- category: z.ZodNativeEnum<typeof import('../../shared').Category>;
332
- userId: z.ZodString;
333
- }, "strip", z.ZodTypeAny, {
334
- userId: string;
335
- category: import('../../shared').Category;
336
- }, {
337
- userId: string;
338
- category: import('../../shared').Category;
339
- }>;
340
- time: z.ZodString;
105
+ category: z.ZodEnum<typeof import('../../shared').Category>;
106
+ userId: z.ZodUUID;
107
+ }, z.core.$strip>;
108
+ time: z.ZodISODateTime;
341
109
  type: z.ZodLiteral<"category-filter-applied">;
342
- }, "strip", z.ZodTypeAny, {
343
- type: "category-filter-applied";
344
- data: {
345
- userId: string;
346
- category: import('../../shared').Category;
347
- };
348
- time: string;
349
- }, {
350
- type: "category-filter-applied";
351
- data: {
352
- userId: string;
353
- category: import('../../shared').Category;
354
- };
355
- time: string;
356
- }>, z.ZodObject<{
110
+ }, z.core.$strip>, z.ZodObject<{
357
111
  data: z.ZodObject<{
358
- startTime: z.ZodString;
359
- endTime: z.ZodString;
360
- userId: z.ZodString;
361
- }, "strip", z.ZodTypeAny, {
362
- userId: string;
363
- startTime: string;
364
- endTime: string;
365
- }, {
366
- userId: string;
367
- startTime: string;
368
- endTime: string;
369
- }>;
370
- time: z.ZodString;
112
+ startTime: z.ZodISODateTime;
113
+ endTime: z.ZodISODateTime;
114
+ userId: z.ZodUUID;
115
+ }, z.core.$strip>;
116
+ time: z.ZodISODateTime;
371
117
  type: z.ZodLiteral<"date-filter-applied">;
372
- }, "strip", z.ZodTypeAny, {
373
- type: "date-filter-applied";
374
- data: {
375
- userId: string;
376
- startTime: string;
377
- endTime: string;
378
- };
379
- time: string;
380
- }, {
381
- type: "date-filter-applied";
382
- data: {
383
- userId: string;
384
- startTime: string;
385
- endTime: string;
386
- };
387
- time: string;
388
- }>, z.ZodObject<{
118
+ }, z.core.$strip>, z.ZodObject<{
389
119
  data: z.ZodObject<{
390
- userId: z.ZodString;
391
- eventId: z.ZodString;
392
- }, "strip", z.ZodTypeAny, {
393
- userId: string;
394
- eventId: string;
395
- }, {
396
- userId: string;
397
- eventId: string;
398
- }>;
399
- time: z.ZodString;
120
+ userId: z.ZodUUID;
121
+ eventId: z.ZodUUID;
122
+ }, z.core.$strip>;
123
+ time: z.ZodISODateTime;
400
124
  type: z.ZodLiteral<"event-added-to-calendar">;
401
- }, "strip", z.ZodTypeAny, {
402
- type: "event-added-to-calendar";
403
- data: {
404
- userId: string;
405
- eventId: string;
406
- };
407
- time: string;
408
- }, {
409
- type: "event-added-to-calendar";
410
- data: {
411
- userId: string;
412
- eventId: string;
413
- };
414
- time: string;
415
- }>, z.ZodObject<{
125
+ }, z.core.$strip>, z.ZodObject<{
416
126
  data: z.ZodObject<{
417
- userId: z.ZodString;
418
- eventId: z.ZodString;
419
- }, "strip", z.ZodTypeAny, {
420
- userId: string;
421
- eventId: string;
422
- }, {
423
- userId: string;
424
- eventId: string;
425
- }>;
426
- time: z.ZodString;
127
+ userId: z.ZodUUID;
128
+ eventId: z.ZodUUID;
129
+ }, z.core.$strip>;
130
+ time: z.ZodISODateTime;
427
131
  type: z.ZodLiteral<"event-added-to-favorites">;
428
- }, "strip", z.ZodTypeAny, {
429
- type: "event-added-to-favorites";
430
- data: {
431
- userId: string;
432
- eventId: string;
433
- };
434
- time: string;
435
- }, {
436
- type: "event-added-to-favorites";
437
- data: {
438
- userId: string;
439
- eventId: string;
440
- };
441
- time: string;
442
- }>, z.ZodObject<{
132
+ }, z.core.$strip>, z.ZodObject<{
443
133
  data: z.ZodObject<{
444
- userId: z.ZodString;
445
- eventId: z.ZodString;
446
- }, "strip", z.ZodTypeAny, {
447
- userId: string;
448
- eventId: string;
449
- }, {
450
- userId: string;
451
- eventId: string;
452
- }>;
453
- time: z.ZodString;
134
+ userId: z.ZodUUID;
135
+ eventId: z.ZodUUID;
136
+ }, z.core.$strip>;
137
+ time: z.ZodISODateTime;
454
138
  type: z.ZodLiteral<"event-displayed">;
455
- }, "strip", z.ZodTypeAny, {
456
- type: "event-displayed";
457
- data: {
458
- userId: string;
459
- eventId: string;
460
- };
461
- time: string;
462
- }, {
463
- type: "event-displayed";
464
- data: {
465
- userId: string;
466
- eventId: string;
467
- };
468
- time: string;
469
- }>, z.ZodObject<{
139
+ }, z.core.$strip>, z.ZodObject<{
470
140
  data: z.ZodObject<{
471
- userId: z.ZodString;
472
- eventId: z.ZodString;
473
- }, "strip", z.ZodTypeAny, {
474
- userId: string;
475
- eventId: string;
476
- }, {
477
- userId: string;
478
- eventId: string;
479
- }>;
480
- time: z.ZodString;
141
+ userId: z.ZodUUID;
142
+ eventId: z.ZodUUID;
143
+ }, z.core.$strip>;
144
+ time: z.ZodISODateTime;
481
145
  type: z.ZodLiteral<"event-see-more-clicked">;
482
- }, "strip", z.ZodTypeAny, {
483
- type: "event-see-more-clicked";
484
- data: {
485
- userId: string;
486
- eventId: string;
487
- };
488
- time: string;
489
- }, {
490
- type: "event-see-more-clicked";
491
- data: {
492
- userId: string;
493
- eventId: string;
494
- };
495
- time: string;
496
- }>, z.ZodObject<{
146
+ }, z.core.$strip>, z.ZodObject<{
497
147
  data: z.ZodObject<{
498
- userId: z.ZodString;
499
- eventId: z.ZodString;
500
- }, "strip", z.ZodTypeAny, {
501
- userId: string;
502
- eventId: string;
503
- }, {
504
- userId: string;
505
- eventId: string;
506
- }>;
507
- time: z.ZodString;
148
+ userId: z.ZodUUID;
149
+ eventId: z.ZodUUID;
150
+ }, z.core.$strip>;
151
+ time: z.ZodISODateTime;
508
152
  type: z.ZodLiteral<"event-shared">;
509
- }, "strip", z.ZodTypeAny, {
510
- type: "event-shared";
511
- data: {
512
- userId: string;
513
- eventId: string;
514
- };
515
- time: string;
516
- }, {
517
- type: "event-shared";
518
- data: {
519
- userId: string;
520
- eventId: string;
521
- };
522
- time: string;
523
- }>, z.ZodObject<{
153
+ }, z.core.$strip>, z.ZodObject<{
524
154
  data: z.ZodObject<{
525
- userId: z.ZodString;
526
- eventId: z.ZodString;
527
- }, "strip", z.ZodTypeAny, {
528
- userId: string;
529
- eventId: string;
530
- }, {
531
- userId: string;
532
- eventId: string;
533
- }>;
534
- time: z.ZodString;
155
+ userId: z.ZodUUID;
156
+ eventId: z.ZodUUID;
157
+ }, z.core.$strip>;
158
+ time: z.ZodISODateTime;
535
159
  type: z.ZodLiteral<"event-tickets-clicked">;
536
- }, "strip", z.ZodTypeAny, {
537
- type: "event-tickets-clicked";
538
- data: {
539
- userId: string;
540
- eventId: string;
541
- };
542
- time: string;
543
- }, {
544
- type: "event-tickets-clicked";
545
- data: {
546
- userId: string;
547
- eventId: string;
548
- };
549
- time: string;
550
- }>, z.ZodObject<{
160
+ }, z.core.$strip>, z.ZodObject<{
551
161
  data: z.ZodObject<{
552
- userId: z.ZodString;
553
- }, "strip", z.ZodTypeAny, {
554
- userId: string;
555
- }, {
556
- userId: string;
557
- }>;
558
- time: z.ZodString;
162
+ userId: z.ZodUUID;
163
+ }, z.core.$strip>;
164
+ time: z.ZodISODateTime;
559
165
  type: z.ZodLiteral<"free-filter-applied">;
560
- }, "strip", z.ZodTypeAny, {
561
- type: "free-filter-applied";
562
- data: {
563
- userId: string;
564
- };
565
- time: string;
566
- }, {
567
- type: "free-filter-applied";
568
- data: {
569
- userId: string;
570
- };
571
- time: string;
572
- }>, z.ZodObject<{
166
+ }, z.core.$strip>, z.ZodObject<{
573
167
  data: z.ZodObject<{
574
- userId: z.ZodString;
575
- }, "strip", z.ZodTypeAny, {
576
- userId: string;
577
- }, {
578
- userId: string;
579
- }>;
580
- time: z.ZodString;
168
+ userId: z.ZodUUID;
169
+ }, z.core.$strip>;
170
+ time: z.ZodISODateTime;
581
171
  type: z.ZodLiteral<"old-times-filter-applied">;
582
- }, "strip", z.ZodTypeAny, {
583
- type: "old-times-filter-applied";
584
- data: {
585
- userId: string;
586
- };
587
- time: string;
588
- }, {
589
- type: "old-times-filter-applied";
590
- data: {
591
- userId: string;
592
- };
593
- time: string;
594
- }>, z.ZodObject<{
172
+ }, z.core.$strip>, z.ZodObject<{
595
173
  data: z.ZodObject<{
596
- userId: z.ZodString;
597
- organizerId: z.ZodString;
598
- }, "strip", z.ZodTypeAny, {
599
- userId: string;
600
- organizerId: string;
601
- }, {
602
- userId: string;
603
- organizerId: string;
604
- }>;
605
- time: z.ZodString;
174
+ userId: z.ZodUUID;
175
+ organizerId: z.ZodUUID;
176
+ }, z.core.$strip>;
177
+ time: z.ZodISODateTime;
606
178
  type: z.ZodLiteral<"organizer-displayed">;
607
- }, "strip", z.ZodTypeAny, {
608
- type: "organizer-displayed";
609
- data: {
610
- userId: string;
611
- organizerId: string;
612
- };
613
- time: string;
614
- }, {
615
- type: "organizer-displayed";
616
- data: {
617
- userId: string;
618
- organizerId: string;
619
- };
620
- time: string;
621
- }>, z.ZodObject<{
179
+ }, z.core.$strip>, z.ZodObject<{
622
180
  data: z.ZodObject<{
623
- regions: z.ZodArray<z.ZodNativeEnum<typeof import('../../shared').Region>, "many">;
624
- userId: z.ZodString;
625
- }, "strip", z.ZodTypeAny, {
626
- userId: string;
627
- regions: import('../../shared').Region[];
628
- }, {
629
- userId: string;
630
- regions: import('../../shared').Region[];
631
- }>;
632
- time: z.ZodString;
181
+ regions: z.ZodArray<z.ZodEnum<typeof import('../../shared').Region>>;
182
+ userId: z.ZodUUID;
183
+ }, z.core.$strip>;
184
+ time: z.ZodISODateTime;
633
185
  type: z.ZodLiteral<"region-filter-applied">;
634
- }, "strip", z.ZodTypeAny, {
635
- type: "region-filter-applied";
636
- data: {
637
- userId: string;
638
- regions: import('../../shared').Region[];
639
- };
640
- time: string;
641
- }, {
642
- type: "region-filter-applied";
643
- data: {
644
- userId: string;
645
- regions: import('../../shared').Region[];
646
- };
647
- time: string;
648
- }>]>;
649
- }, "strip", z.ZodTypeAny, {
650
- statistic: {
651
- type: "app-started";
652
- data: {
653
- userId: string;
654
- };
655
- time: string;
656
- } | {
657
- type: "event-displayed";
658
- data: {
659
- userId: string;
660
- eventId: string;
661
- };
662
- time: string;
663
- } | {
664
- type: "organizer-displayed";
665
- data: {
666
- userId: string;
667
- organizerId: string;
668
- };
669
- time: string;
670
- } | {
671
- type: "event-added-to-favorites";
672
- data: {
673
- userId: string;
674
- eventId: string;
675
- };
676
- time: string;
677
- } | {
678
- type: "event-added-to-calendar";
679
- data: {
680
- userId: string;
681
- eventId: string;
682
- };
683
- time: string;
684
- } | {
685
- type: "event-shared";
686
- data: {
687
- userId: string;
688
- eventId: string;
689
- };
690
- time: string;
691
- } | {
692
- type: "event-tickets-clicked";
693
- data: {
694
- userId: string;
695
- eventId: string;
696
- };
697
- time: string;
698
- } | {
699
- type: "event-see-more-clicked";
700
- data: {
701
- userId: string;
702
- eventId: string;
703
- };
704
- time: string;
705
- } | {
706
- type: "region-filter-applied";
707
- data: {
708
- userId: string;
709
- regions: import('../../shared').Region[];
710
- };
711
- time: string;
712
- } | {
713
- type: "free-filter-applied";
714
- data: {
715
- userId: string;
716
- };
717
- time: string;
718
- } | {
719
- type: "category-filter-applied";
720
- data: {
721
- userId: string;
722
- category: import('../../shared').Category;
723
- };
724
- time: string;
725
- } | {
726
- type: "date-filter-applied";
727
- data: {
728
- userId: string;
729
- startTime: string;
730
- endTime: string;
731
- };
732
- time: string;
733
- } | {
734
- type: "old-times-filter-applied";
735
- data: {
736
- userId: string;
737
- };
738
- time: string;
739
- } | {
740
- type: "ad-pressed";
741
- data: {
742
- userId: string;
743
- adId: string;
744
- adTitle: string;
745
- };
746
- time: string;
747
- };
748
- }, {
749
- statistic: {
750
- type: "app-started";
751
- data: {
752
- userId: string;
753
- };
754
- time: string;
755
- } | {
756
- type: "event-displayed";
757
- data: {
758
- userId: string;
759
- eventId: string;
760
- };
761
- time: string;
762
- } | {
763
- type: "organizer-displayed";
764
- data: {
765
- userId: string;
766
- organizerId: string;
767
- };
768
- time: string;
769
- } | {
770
- type: "event-added-to-favorites";
771
- data: {
772
- userId: string;
773
- eventId: string;
774
- };
775
- time: string;
776
- } | {
777
- type: "event-added-to-calendar";
778
- data: {
779
- userId: string;
780
- eventId: string;
781
- };
782
- time: string;
783
- } | {
784
- type: "event-shared";
785
- data: {
786
- userId: string;
787
- eventId: string;
788
- };
789
- time: string;
790
- } | {
791
- type: "event-tickets-clicked";
792
- data: {
793
- userId: string;
794
- eventId: string;
795
- };
796
- time: string;
797
- } | {
798
- type: "event-see-more-clicked";
799
- data: {
800
- userId: string;
801
- eventId: string;
802
- };
803
- time: string;
804
- } | {
805
- type: "region-filter-applied";
806
- data: {
807
- userId: string;
808
- regions: import('../../shared').Region[];
809
- };
810
- time: string;
811
- } | {
812
- type: "free-filter-applied";
813
- data: {
814
- userId: string;
815
- };
816
- time: string;
817
- } | {
818
- type: "category-filter-applied";
819
- data: {
820
- userId: string;
821
- category: import('../../shared').Category;
822
- };
823
- time: string;
824
- } | {
825
- type: "date-filter-applied";
826
- data: {
827
- userId: string;
828
- startTime: string;
829
- endTime: string;
830
- };
831
- time: string;
832
- } | {
833
- type: "old-times-filter-applied";
834
- data: {
835
- userId: string;
836
- };
837
- time: string;
838
- } | {
839
- type: "ad-pressed";
840
- data: {
841
- userId: string;
842
- adId: string;
843
- adTitle: string;
844
- };
845
- time: string;
846
- };
847
- }>;
186
+ }, z.core.$strip>], "type">;
187
+ }, z.core.$strip>;
848
188
  export type SaveStatisticDTO = z.infer<typeof SaveStatisticDTOSchema>;
849
189
  export type StatisticDTO = z.infer<typeof StatisticSchema>;
850
190
  //# sourceMappingURL=statistics.d.ts.map