@sortipei/api-contracts 0.2.10 → 0.2.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.
|
@@ -1,19 +1,35 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
+
export declare const PublicOrganizerDTOSchema: z.ZodObject<{
|
|
3
|
+
id: z.ZodBranded<z.ZodString, "OrganizerId">;
|
|
4
|
+
imageUrl: z.ZodNullable<z.ZodString>;
|
|
5
|
+
name: z.ZodString;
|
|
6
|
+
}, "strip", z.ZodTypeAny, {
|
|
7
|
+
id: string & z.BRAND<"OrganizerId">;
|
|
8
|
+
imageUrl: string | null;
|
|
9
|
+
name: string;
|
|
10
|
+
}, {
|
|
11
|
+
id: string;
|
|
12
|
+
imageUrl: string | null;
|
|
13
|
+
name: string;
|
|
14
|
+
}>;
|
|
2
15
|
export declare const OrganizerDTOSchema: z.ZodObject<{
|
|
3
16
|
eventsIds: z.ZodArray<z.ZodBranded<z.ZodString, "EventId">, "many">;
|
|
4
17
|
id: z.ZodBranded<z.ZodString, "OrganizerId">;
|
|
5
18
|
imageUrl: z.ZodNullable<z.ZodString>;
|
|
19
|
+
isDuplicate: z.ZodBoolean;
|
|
6
20
|
name: z.ZodString;
|
|
7
21
|
}, "strip", z.ZodTypeAny, {
|
|
8
22
|
id: string & z.BRAND<"OrganizerId">;
|
|
9
23
|
imageUrl: string | null;
|
|
10
24
|
name: string;
|
|
11
25
|
eventsIds: (string & z.BRAND<"EventId">)[];
|
|
26
|
+
isDuplicate: boolean;
|
|
12
27
|
}, {
|
|
13
28
|
id: string;
|
|
14
29
|
imageUrl: string | null;
|
|
15
30
|
name: string;
|
|
16
31
|
eventsIds: string[];
|
|
32
|
+
isDuplicate: boolean;
|
|
17
33
|
}>;
|
|
18
34
|
export declare const CreateOrganizerDTOSchema: z.ZodObject<{
|
|
19
35
|
id: z.ZodBranded<z.ZodString, "OrganizerId">;
|
|
@@ -34,16 +50,20 @@ export declare const UpdateOrganizerDTOSchema: z.ZodObject<z.objectUtil.extendSh
|
|
|
34
50
|
name: z.ZodString;
|
|
35
51
|
}, "id">, {
|
|
36
52
|
imageUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
53
|
+
isDuplicate: z.ZodOptional<z.ZodBoolean>;
|
|
37
54
|
}>, "strip", z.ZodTypeAny, {
|
|
38
55
|
name: string;
|
|
39
56
|
imageUrl?: string | null | undefined;
|
|
57
|
+
isDuplicate?: boolean | undefined;
|
|
40
58
|
}, {
|
|
41
59
|
name: string;
|
|
42
60
|
imageUrl?: string | null | undefined;
|
|
61
|
+
isDuplicate?: boolean | undefined;
|
|
43
62
|
}>;
|
|
44
63
|
export type CreateOrganizerDTO = z.infer<typeof CreateOrganizerDTOSchema>;
|
|
45
64
|
export type UpdateOrganizerDTO = z.infer<typeof UpdateOrganizerDTOSchema>;
|
|
46
65
|
export type OrganizerDTO = z.infer<typeof OrganizerDTOSchema>;
|
|
66
|
+
export type PublicOrganizerDTO = z.infer<typeof PublicOrganizerDTOSchema>;
|
|
47
67
|
export declare const constraints: {
|
|
48
68
|
name: {
|
|
49
69
|
minLength: number;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"organizer.d.ts","sourceRoot":"","sources":["../../../src/V1/api/organizer.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;
|
|
1
|
+
{"version":3,"file":"organizer.d.ts","sourceRoot":"","sources":["../../../src/V1/api/organizer.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,eAAO,MAAM,wBAAwB;;;;;;;;;;;;EAInC,CAAC;AAGH,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;EAM7B,CAAC;AAEH,eAAO,MAAM,wBAAwB;;;;;;;;;;;;EAInC,CAAC;AAEH,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;EAGnC,CAAC;AAEH,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,wBAAwB,CAAC,CAAC;AAC1E,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,wBAAwB,CAAC,CAAC;AAC1E,MAAM,MAAM,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAC;AAC9D,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,wBAAwB,CAAC,CAAC;AAE1E,eAAO,MAAM,WAAW;;;;;CAKvB,CAAC"}
|
|
@@ -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;
|
|
@@ -135,23 +135,23 @@ export declare const GlobalStatsDTOSchema: z.ZodObject<{
|
|
|
135
135
|
presentOrFutureEventsCount: number;
|
|
136
136
|
sharedEventsCount: number;
|
|
137
137
|
topAddedToFavoritesEvents: {
|
|
138
|
-
count: number;
|
|
139
138
|
eventId: string & z.BRAND<"EventId">;
|
|
139
|
+
count: number;
|
|
140
140
|
eventTitle: string;
|
|
141
141
|
}[];
|
|
142
142
|
topUpcomingAddedToFavoritesEvents: {
|
|
143
|
-
count: number;
|
|
144
143
|
eventId: string & z.BRAND<"EventId">;
|
|
144
|
+
count: number;
|
|
145
145
|
eventTitle: string;
|
|
146
146
|
}[];
|
|
147
147
|
topUpcomingViewedEvents: {
|
|
148
|
-
count: number;
|
|
149
148
|
eventId: string & z.BRAND<"EventId">;
|
|
149
|
+
count: number;
|
|
150
150
|
eventTitle: string;
|
|
151
151
|
}[];
|
|
152
152
|
topViewedEvents: {
|
|
153
|
-
count: number;
|
|
154
153
|
eventId: string & z.BRAND<"EventId">;
|
|
154
|
+
count: number;
|
|
155
155
|
eventTitle: string;
|
|
156
156
|
}[];
|
|
157
157
|
totalAddedToCalendar: number;
|
|
@@ -171,23 +171,23 @@ export declare const GlobalStatsDTOSchema: z.ZodObject<{
|
|
|
171
171
|
presentOrFutureEventsCount: number;
|
|
172
172
|
sharedEventsCount: number;
|
|
173
173
|
topAddedToFavoritesEvents: {
|
|
174
|
-
count: number;
|
|
175
174
|
eventId: string;
|
|
175
|
+
count: number;
|
|
176
176
|
eventTitle: string;
|
|
177
177
|
}[];
|
|
178
178
|
topUpcomingAddedToFavoritesEvents: {
|
|
179
|
-
count: number;
|
|
180
179
|
eventId: string;
|
|
180
|
+
count: number;
|
|
181
181
|
eventTitle: string;
|
|
182
182
|
}[];
|
|
183
183
|
topUpcomingViewedEvents: {
|
|
184
|
-
count: number;
|
|
185
184
|
eventId: string;
|
|
185
|
+
count: number;
|
|
186
186
|
eventTitle: string;
|
|
187
187
|
}[];
|
|
188
188
|
topViewedEvents: {
|
|
189
|
-
count: number;
|
|
190
189
|
eventId: string;
|
|
190
|
+
count: number;
|
|
191
191
|
eventTitle: string;
|
|
192
192
|
}[];
|
|
193
193
|
totalAddedToCalendar: number;
|
|
@@ -197,10 +197,80 @@ export declare const GlobalStatsDTOSchema: z.ZodObject<{
|
|
|
197
197
|
usersWithMultipleDayAppOpened: number;
|
|
198
198
|
appOpenedCount: number;
|
|
199
199
|
}>;
|
|
200
|
+
export declare const TemporalStatsWeekDTOSchema: z.ZodObject<{
|
|
201
|
+
appOpenedCount: z.ZodNumber;
|
|
202
|
+
eventsCount: z.ZodNumber;
|
|
203
|
+
openedEventsCount: z.ZodNumber;
|
|
204
|
+
sharedEventsCount: z.ZodNumber;
|
|
205
|
+
totalAddedToCalendar: z.ZodNumber;
|
|
206
|
+
totalFavoritesCount: z.ZodNumber;
|
|
207
|
+
totalShared: z.ZodNumber;
|
|
208
|
+
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
|
+
}>;
|
|
234
|
+
export declare const TemporalStatsDTOSchema: z.ZodArray<z.ZodObject<{
|
|
235
|
+
appOpenedCount: z.ZodNumber;
|
|
236
|
+
eventsCount: z.ZodNumber;
|
|
237
|
+
openedEventsCount: z.ZodNumber;
|
|
238
|
+
sharedEventsCount: z.ZodNumber;
|
|
239
|
+
totalAddedToCalendar: z.ZodNumber;
|
|
240
|
+
totalFavoritesCount: z.ZodNumber;
|
|
241
|
+
totalShared: z.ZodNumber;
|
|
242
|
+
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">;
|
|
200
268
|
export type AdStatDTO = z.infer<typeof AdStatDTOSchema>;
|
|
201
269
|
export type EventStatisticsDTO = z.infer<typeof EventStatisticsDTOSchema>;
|
|
202
270
|
export type GlobalStatsDTO = z.infer<typeof GlobalStatsDTOSchema>;
|
|
203
271
|
export type TopEventDTO = z.infer<typeof TopEventDTOSchema>;
|
|
272
|
+
export type TemporalStatsWeekDTO = z.infer<typeof TemporalStatsWeekDTOSchema>;
|
|
273
|
+
export type TemporalStatsDTO = z.infer<typeof TemporalStatsDTOSchema>;
|
|
204
274
|
export declare const SaveStatisticDTOSchema: z.ZodObject<{
|
|
205
275
|
statistic: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
206
276
|
data: z.ZodObject<{
|
|
@@ -208,30 +278,30 @@ export declare const SaveStatisticDTOSchema: z.ZodObject<{
|
|
|
208
278
|
adTitle: z.ZodString;
|
|
209
279
|
userId: z.ZodString;
|
|
210
280
|
}, "strip", z.ZodTypeAny, {
|
|
281
|
+
userId: string;
|
|
211
282
|
adId: string;
|
|
212
283
|
adTitle: string;
|
|
213
|
-
userId: string;
|
|
214
284
|
}, {
|
|
285
|
+
userId: string;
|
|
215
286
|
adId: string;
|
|
216
287
|
adTitle: string;
|
|
217
|
-
userId: string;
|
|
218
288
|
}>;
|
|
219
289
|
time: z.ZodString;
|
|
220
290
|
type: z.ZodLiteral<"ad-pressed">;
|
|
221
291
|
}, "strip", z.ZodTypeAny, {
|
|
222
292
|
type: "ad-pressed";
|
|
223
293
|
data: {
|
|
294
|
+
userId: string;
|
|
224
295
|
adId: string;
|
|
225
296
|
adTitle: string;
|
|
226
|
-
userId: string;
|
|
227
297
|
};
|
|
228
298
|
time: string;
|
|
229
299
|
}, {
|
|
230
300
|
type: "ad-pressed";
|
|
231
301
|
data: {
|
|
302
|
+
userId: string;
|
|
232
303
|
adId: string;
|
|
233
304
|
adTitle: string;
|
|
234
|
-
userId: string;
|
|
235
305
|
};
|
|
236
306
|
time: string;
|
|
237
307
|
}>, z.ZodObject<{
|
|
@@ -258,14 +328,14 @@ export declare const SaveStatisticDTOSchema: z.ZodObject<{
|
|
|
258
328
|
time: string;
|
|
259
329
|
}>, z.ZodObject<{
|
|
260
330
|
data: z.ZodObject<{
|
|
261
|
-
category: z.ZodNativeEnum<typeof import(
|
|
331
|
+
category: z.ZodNativeEnum<typeof import('../../shared').Category>;
|
|
262
332
|
userId: z.ZodString;
|
|
263
333
|
}, "strip", z.ZodTypeAny, {
|
|
264
334
|
userId: string;
|
|
265
|
-
category: import(
|
|
335
|
+
category: import('../../shared').Category;
|
|
266
336
|
}, {
|
|
267
337
|
userId: string;
|
|
268
|
-
category: import(
|
|
338
|
+
category: import('../../shared').Category;
|
|
269
339
|
}>;
|
|
270
340
|
time: z.ZodString;
|
|
271
341
|
type: z.ZodLiteral<"category-filter-applied">;
|
|
@@ -273,14 +343,14 @@ export declare const SaveStatisticDTOSchema: z.ZodObject<{
|
|
|
273
343
|
type: "category-filter-applied";
|
|
274
344
|
data: {
|
|
275
345
|
userId: string;
|
|
276
|
-
category: import(
|
|
346
|
+
category: import('../../shared').Category;
|
|
277
347
|
};
|
|
278
348
|
time: string;
|
|
279
349
|
}, {
|
|
280
350
|
type: "category-filter-applied";
|
|
281
351
|
data: {
|
|
282
352
|
userId: string;
|
|
283
|
-
category: import(
|
|
353
|
+
category: import('../../shared').Category;
|
|
284
354
|
};
|
|
285
355
|
time: string;
|
|
286
356
|
}>, z.ZodObject<{
|
|
@@ -320,26 +390,26 @@ export declare const SaveStatisticDTOSchema: z.ZodObject<{
|
|
|
320
390
|
userId: z.ZodString;
|
|
321
391
|
eventId: z.ZodString;
|
|
322
392
|
}, "strip", z.ZodTypeAny, {
|
|
323
|
-
eventId: string;
|
|
324
393
|
userId: string;
|
|
325
|
-
}, {
|
|
326
394
|
eventId: string;
|
|
395
|
+
}, {
|
|
327
396
|
userId: string;
|
|
397
|
+
eventId: string;
|
|
328
398
|
}>;
|
|
329
399
|
time: z.ZodString;
|
|
330
400
|
type: z.ZodLiteral<"event-added-to-calendar">;
|
|
331
401
|
}, "strip", z.ZodTypeAny, {
|
|
332
402
|
type: "event-added-to-calendar";
|
|
333
403
|
data: {
|
|
334
|
-
eventId: string;
|
|
335
404
|
userId: string;
|
|
405
|
+
eventId: string;
|
|
336
406
|
};
|
|
337
407
|
time: string;
|
|
338
408
|
}, {
|
|
339
409
|
type: "event-added-to-calendar";
|
|
340
410
|
data: {
|
|
341
|
-
eventId: string;
|
|
342
411
|
userId: string;
|
|
412
|
+
eventId: string;
|
|
343
413
|
};
|
|
344
414
|
time: string;
|
|
345
415
|
}>, z.ZodObject<{
|
|
@@ -347,26 +417,26 @@ export declare const SaveStatisticDTOSchema: z.ZodObject<{
|
|
|
347
417
|
userId: z.ZodString;
|
|
348
418
|
eventId: z.ZodString;
|
|
349
419
|
}, "strip", z.ZodTypeAny, {
|
|
350
|
-
eventId: string;
|
|
351
420
|
userId: string;
|
|
352
|
-
}, {
|
|
353
421
|
eventId: string;
|
|
422
|
+
}, {
|
|
354
423
|
userId: string;
|
|
424
|
+
eventId: string;
|
|
355
425
|
}>;
|
|
356
426
|
time: z.ZodString;
|
|
357
427
|
type: z.ZodLiteral<"event-added-to-favorites">;
|
|
358
428
|
}, "strip", z.ZodTypeAny, {
|
|
359
429
|
type: "event-added-to-favorites";
|
|
360
430
|
data: {
|
|
361
|
-
eventId: string;
|
|
362
431
|
userId: string;
|
|
432
|
+
eventId: string;
|
|
363
433
|
};
|
|
364
434
|
time: string;
|
|
365
435
|
}, {
|
|
366
436
|
type: "event-added-to-favorites";
|
|
367
437
|
data: {
|
|
368
|
-
eventId: string;
|
|
369
438
|
userId: string;
|
|
439
|
+
eventId: string;
|
|
370
440
|
};
|
|
371
441
|
time: string;
|
|
372
442
|
}>, z.ZodObject<{
|
|
@@ -374,26 +444,26 @@ export declare const SaveStatisticDTOSchema: z.ZodObject<{
|
|
|
374
444
|
userId: z.ZodString;
|
|
375
445
|
eventId: z.ZodString;
|
|
376
446
|
}, "strip", z.ZodTypeAny, {
|
|
377
|
-
eventId: string;
|
|
378
447
|
userId: string;
|
|
379
|
-
}, {
|
|
380
448
|
eventId: string;
|
|
449
|
+
}, {
|
|
381
450
|
userId: string;
|
|
451
|
+
eventId: string;
|
|
382
452
|
}>;
|
|
383
453
|
time: z.ZodString;
|
|
384
454
|
type: z.ZodLiteral<"event-displayed">;
|
|
385
455
|
}, "strip", z.ZodTypeAny, {
|
|
386
456
|
type: "event-displayed";
|
|
387
457
|
data: {
|
|
388
|
-
eventId: string;
|
|
389
458
|
userId: string;
|
|
459
|
+
eventId: string;
|
|
390
460
|
};
|
|
391
461
|
time: string;
|
|
392
462
|
}, {
|
|
393
463
|
type: "event-displayed";
|
|
394
464
|
data: {
|
|
395
|
-
eventId: string;
|
|
396
465
|
userId: string;
|
|
466
|
+
eventId: string;
|
|
397
467
|
};
|
|
398
468
|
time: string;
|
|
399
469
|
}>, z.ZodObject<{
|
|
@@ -401,26 +471,26 @@ export declare const SaveStatisticDTOSchema: z.ZodObject<{
|
|
|
401
471
|
userId: z.ZodString;
|
|
402
472
|
eventId: z.ZodString;
|
|
403
473
|
}, "strip", z.ZodTypeAny, {
|
|
404
|
-
eventId: string;
|
|
405
474
|
userId: string;
|
|
406
|
-
}, {
|
|
407
475
|
eventId: string;
|
|
476
|
+
}, {
|
|
408
477
|
userId: string;
|
|
478
|
+
eventId: string;
|
|
409
479
|
}>;
|
|
410
480
|
time: z.ZodString;
|
|
411
481
|
type: z.ZodLiteral<"event-see-more-clicked">;
|
|
412
482
|
}, "strip", z.ZodTypeAny, {
|
|
413
483
|
type: "event-see-more-clicked";
|
|
414
484
|
data: {
|
|
415
|
-
eventId: string;
|
|
416
485
|
userId: string;
|
|
486
|
+
eventId: string;
|
|
417
487
|
};
|
|
418
488
|
time: string;
|
|
419
489
|
}, {
|
|
420
490
|
type: "event-see-more-clicked";
|
|
421
491
|
data: {
|
|
422
|
-
eventId: string;
|
|
423
492
|
userId: string;
|
|
493
|
+
eventId: string;
|
|
424
494
|
};
|
|
425
495
|
time: string;
|
|
426
496
|
}>, z.ZodObject<{
|
|
@@ -428,26 +498,26 @@ export declare const SaveStatisticDTOSchema: z.ZodObject<{
|
|
|
428
498
|
userId: z.ZodString;
|
|
429
499
|
eventId: z.ZodString;
|
|
430
500
|
}, "strip", z.ZodTypeAny, {
|
|
431
|
-
eventId: string;
|
|
432
501
|
userId: string;
|
|
433
|
-
}, {
|
|
434
502
|
eventId: string;
|
|
503
|
+
}, {
|
|
435
504
|
userId: string;
|
|
505
|
+
eventId: string;
|
|
436
506
|
}>;
|
|
437
507
|
time: z.ZodString;
|
|
438
508
|
type: z.ZodLiteral<"event-shared">;
|
|
439
509
|
}, "strip", z.ZodTypeAny, {
|
|
440
510
|
type: "event-shared";
|
|
441
511
|
data: {
|
|
442
|
-
eventId: string;
|
|
443
512
|
userId: string;
|
|
513
|
+
eventId: string;
|
|
444
514
|
};
|
|
445
515
|
time: string;
|
|
446
516
|
}, {
|
|
447
517
|
type: "event-shared";
|
|
448
518
|
data: {
|
|
449
|
-
eventId: string;
|
|
450
519
|
userId: string;
|
|
520
|
+
eventId: string;
|
|
451
521
|
};
|
|
452
522
|
time: string;
|
|
453
523
|
}>, z.ZodObject<{
|
|
@@ -455,26 +525,26 @@ export declare const SaveStatisticDTOSchema: z.ZodObject<{
|
|
|
455
525
|
userId: z.ZodString;
|
|
456
526
|
eventId: z.ZodString;
|
|
457
527
|
}, "strip", z.ZodTypeAny, {
|
|
458
|
-
eventId: string;
|
|
459
528
|
userId: string;
|
|
460
|
-
}, {
|
|
461
529
|
eventId: string;
|
|
530
|
+
}, {
|
|
462
531
|
userId: string;
|
|
532
|
+
eventId: string;
|
|
463
533
|
}>;
|
|
464
534
|
time: z.ZodString;
|
|
465
535
|
type: z.ZodLiteral<"event-tickets-clicked">;
|
|
466
536
|
}, "strip", z.ZodTypeAny, {
|
|
467
537
|
type: "event-tickets-clicked";
|
|
468
538
|
data: {
|
|
469
|
-
eventId: string;
|
|
470
539
|
userId: string;
|
|
540
|
+
eventId: string;
|
|
471
541
|
};
|
|
472
542
|
time: string;
|
|
473
543
|
}, {
|
|
474
544
|
type: "event-tickets-clicked";
|
|
475
545
|
data: {
|
|
476
|
-
eventId: string;
|
|
477
546
|
userId: string;
|
|
547
|
+
eventId: string;
|
|
478
548
|
};
|
|
479
549
|
time: string;
|
|
480
550
|
}>, z.ZodObject<{
|
|
@@ -550,14 +620,14 @@ export declare const SaveStatisticDTOSchema: z.ZodObject<{
|
|
|
550
620
|
time: string;
|
|
551
621
|
}>, z.ZodObject<{
|
|
552
622
|
data: z.ZodObject<{
|
|
553
|
-
regions: z.ZodArray<z.ZodNativeEnum<typeof import(
|
|
623
|
+
regions: z.ZodArray<z.ZodNativeEnum<typeof import('../../shared').Region>, "many">;
|
|
554
624
|
userId: z.ZodString;
|
|
555
625
|
}, "strip", z.ZodTypeAny, {
|
|
556
626
|
userId: string;
|
|
557
|
-
regions: import(
|
|
627
|
+
regions: import('../../shared').Region[];
|
|
558
628
|
}, {
|
|
559
629
|
userId: string;
|
|
560
|
-
regions: import(
|
|
630
|
+
regions: import('../../shared').Region[];
|
|
561
631
|
}>;
|
|
562
632
|
time: z.ZodString;
|
|
563
633
|
type: z.ZodLiteral<"region-filter-applied">;
|
|
@@ -565,212 +635,212 @@ export declare const SaveStatisticDTOSchema: z.ZodObject<{
|
|
|
565
635
|
type: "region-filter-applied";
|
|
566
636
|
data: {
|
|
567
637
|
userId: string;
|
|
568
|
-
regions: import(
|
|
638
|
+
regions: import('../../shared').Region[];
|
|
569
639
|
};
|
|
570
640
|
time: string;
|
|
571
641
|
}, {
|
|
572
642
|
type: "region-filter-applied";
|
|
573
643
|
data: {
|
|
574
644
|
userId: string;
|
|
575
|
-
regions: import(
|
|
645
|
+
regions: import('../../shared').Region[];
|
|
576
646
|
};
|
|
577
647
|
time: string;
|
|
578
648
|
}>]>;
|
|
579
649
|
}, "strip", z.ZodTypeAny, {
|
|
580
650
|
statistic: {
|
|
581
|
-
type: "
|
|
651
|
+
type: "app-started";
|
|
582
652
|
data: {
|
|
583
|
-
adId: string;
|
|
584
|
-
adTitle: string;
|
|
585
653
|
userId: string;
|
|
586
654
|
};
|
|
587
655
|
time: string;
|
|
588
656
|
} | {
|
|
589
|
-
type: "
|
|
657
|
+
type: "event-displayed";
|
|
590
658
|
data: {
|
|
591
659
|
userId: string;
|
|
660
|
+
eventId: string;
|
|
592
661
|
};
|
|
593
662
|
time: string;
|
|
594
663
|
} | {
|
|
595
|
-
type: "
|
|
664
|
+
type: "organizer-displayed";
|
|
596
665
|
data: {
|
|
597
666
|
userId: string;
|
|
598
|
-
|
|
667
|
+
organizerId: string;
|
|
599
668
|
};
|
|
600
669
|
time: string;
|
|
601
670
|
} | {
|
|
602
|
-
type: "
|
|
671
|
+
type: "event-added-to-favorites";
|
|
603
672
|
data: {
|
|
604
673
|
userId: string;
|
|
605
|
-
|
|
606
|
-
endTime: string;
|
|
674
|
+
eventId: string;
|
|
607
675
|
};
|
|
608
676
|
time: string;
|
|
609
677
|
} | {
|
|
610
678
|
type: "event-added-to-calendar";
|
|
611
679
|
data: {
|
|
612
|
-
eventId: string;
|
|
613
680
|
userId: string;
|
|
681
|
+
eventId: string;
|
|
614
682
|
};
|
|
615
683
|
time: string;
|
|
616
684
|
} | {
|
|
617
|
-
type: "event-
|
|
685
|
+
type: "event-shared";
|
|
618
686
|
data: {
|
|
619
|
-
eventId: string;
|
|
620
687
|
userId: string;
|
|
688
|
+
eventId: string;
|
|
621
689
|
};
|
|
622
690
|
time: string;
|
|
623
691
|
} | {
|
|
624
|
-
type: "event-
|
|
692
|
+
type: "event-tickets-clicked";
|
|
625
693
|
data: {
|
|
626
|
-
eventId: string;
|
|
627
694
|
userId: string;
|
|
695
|
+
eventId: string;
|
|
628
696
|
};
|
|
629
697
|
time: string;
|
|
630
698
|
} | {
|
|
631
699
|
type: "event-see-more-clicked";
|
|
632
700
|
data: {
|
|
633
|
-
eventId: string;
|
|
634
701
|
userId: string;
|
|
702
|
+
eventId: string;
|
|
635
703
|
};
|
|
636
704
|
time: string;
|
|
637
705
|
} | {
|
|
638
|
-
type: "
|
|
706
|
+
type: "region-filter-applied";
|
|
639
707
|
data: {
|
|
640
|
-
eventId: string;
|
|
641
708
|
userId: string;
|
|
709
|
+
regions: import('../../shared').Region[];
|
|
642
710
|
};
|
|
643
711
|
time: string;
|
|
644
712
|
} | {
|
|
645
|
-
type: "
|
|
713
|
+
type: "free-filter-applied";
|
|
646
714
|
data: {
|
|
647
|
-
eventId: string;
|
|
648
715
|
userId: string;
|
|
649
716
|
};
|
|
650
717
|
time: string;
|
|
651
718
|
} | {
|
|
652
|
-
type: "
|
|
719
|
+
type: "category-filter-applied";
|
|
653
720
|
data: {
|
|
654
721
|
userId: string;
|
|
722
|
+
category: import('../../shared').Category;
|
|
655
723
|
};
|
|
656
724
|
time: string;
|
|
657
725
|
} | {
|
|
658
|
-
type: "
|
|
726
|
+
type: "date-filter-applied";
|
|
659
727
|
data: {
|
|
660
728
|
userId: string;
|
|
729
|
+
startTime: string;
|
|
730
|
+
endTime: string;
|
|
661
731
|
};
|
|
662
732
|
time: string;
|
|
663
733
|
} | {
|
|
664
|
-
type: "
|
|
734
|
+
type: "old-times-filter-applied";
|
|
665
735
|
data: {
|
|
666
736
|
userId: string;
|
|
667
|
-
organizerId: string;
|
|
668
737
|
};
|
|
669
738
|
time: string;
|
|
670
739
|
} | {
|
|
671
|
-
type: "
|
|
740
|
+
type: "ad-pressed";
|
|
672
741
|
data: {
|
|
673
742
|
userId: string;
|
|
674
|
-
|
|
743
|
+
adId: string;
|
|
744
|
+
adTitle: string;
|
|
675
745
|
};
|
|
676
746
|
time: string;
|
|
677
747
|
};
|
|
678
748
|
}, {
|
|
679
749
|
statistic: {
|
|
680
|
-
type: "
|
|
750
|
+
type: "app-started";
|
|
681
751
|
data: {
|
|
682
|
-
adId: string;
|
|
683
|
-
adTitle: string;
|
|
684
752
|
userId: string;
|
|
685
753
|
};
|
|
686
754
|
time: string;
|
|
687
755
|
} | {
|
|
688
|
-
type: "
|
|
756
|
+
type: "event-displayed";
|
|
689
757
|
data: {
|
|
690
758
|
userId: string;
|
|
759
|
+
eventId: string;
|
|
691
760
|
};
|
|
692
761
|
time: string;
|
|
693
762
|
} | {
|
|
694
|
-
type: "
|
|
763
|
+
type: "organizer-displayed";
|
|
695
764
|
data: {
|
|
696
765
|
userId: string;
|
|
697
|
-
|
|
766
|
+
organizerId: string;
|
|
698
767
|
};
|
|
699
768
|
time: string;
|
|
700
769
|
} | {
|
|
701
|
-
type: "
|
|
770
|
+
type: "event-added-to-favorites";
|
|
702
771
|
data: {
|
|
703
772
|
userId: string;
|
|
704
|
-
|
|
705
|
-
endTime: string;
|
|
773
|
+
eventId: string;
|
|
706
774
|
};
|
|
707
775
|
time: string;
|
|
708
776
|
} | {
|
|
709
777
|
type: "event-added-to-calendar";
|
|
710
778
|
data: {
|
|
711
|
-
eventId: string;
|
|
712
779
|
userId: string;
|
|
780
|
+
eventId: string;
|
|
713
781
|
};
|
|
714
782
|
time: string;
|
|
715
783
|
} | {
|
|
716
|
-
type: "event-
|
|
784
|
+
type: "event-shared";
|
|
717
785
|
data: {
|
|
718
|
-
eventId: string;
|
|
719
786
|
userId: string;
|
|
787
|
+
eventId: string;
|
|
720
788
|
};
|
|
721
789
|
time: string;
|
|
722
790
|
} | {
|
|
723
|
-
type: "event-
|
|
791
|
+
type: "event-tickets-clicked";
|
|
724
792
|
data: {
|
|
725
|
-
eventId: string;
|
|
726
793
|
userId: string;
|
|
794
|
+
eventId: string;
|
|
727
795
|
};
|
|
728
796
|
time: string;
|
|
729
797
|
} | {
|
|
730
798
|
type: "event-see-more-clicked";
|
|
731
799
|
data: {
|
|
732
|
-
eventId: string;
|
|
733
800
|
userId: string;
|
|
801
|
+
eventId: string;
|
|
734
802
|
};
|
|
735
803
|
time: string;
|
|
736
804
|
} | {
|
|
737
|
-
type: "
|
|
805
|
+
type: "region-filter-applied";
|
|
738
806
|
data: {
|
|
739
|
-
eventId: string;
|
|
740
807
|
userId: string;
|
|
808
|
+
regions: import('../../shared').Region[];
|
|
741
809
|
};
|
|
742
810
|
time: string;
|
|
743
811
|
} | {
|
|
744
|
-
type: "
|
|
812
|
+
type: "free-filter-applied";
|
|
745
813
|
data: {
|
|
746
|
-
eventId: string;
|
|
747
814
|
userId: string;
|
|
748
815
|
};
|
|
749
816
|
time: string;
|
|
750
817
|
} | {
|
|
751
|
-
type: "
|
|
818
|
+
type: "category-filter-applied";
|
|
752
819
|
data: {
|
|
753
820
|
userId: string;
|
|
821
|
+
category: import('../../shared').Category;
|
|
754
822
|
};
|
|
755
823
|
time: string;
|
|
756
824
|
} | {
|
|
757
|
-
type: "
|
|
825
|
+
type: "date-filter-applied";
|
|
758
826
|
data: {
|
|
759
827
|
userId: string;
|
|
828
|
+
startTime: string;
|
|
829
|
+
endTime: string;
|
|
760
830
|
};
|
|
761
831
|
time: string;
|
|
762
832
|
} | {
|
|
763
|
-
type: "
|
|
833
|
+
type: "old-times-filter-applied";
|
|
764
834
|
data: {
|
|
765
835
|
userId: string;
|
|
766
|
-
organizerId: string;
|
|
767
836
|
};
|
|
768
837
|
time: string;
|
|
769
838
|
} | {
|
|
770
|
-
type: "
|
|
839
|
+
type: "ad-pressed";
|
|
771
840
|
data: {
|
|
772
841
|
userId: string;
|
|
773
|
-
|
|
842
|
+
adId: string;
|
|
843
|
+
adTitle: string;
|
|
774
844
|
};
|
|
775
845
|
time: string;
|
|
776
846
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"statistics.d.ts","sourceRoot":"","sources":["../../../src/V1/api/statistics.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAgC,eAAe,EAAgB,MAAM,cAAc,CAAC;AAG3F,eAAO,MAAM,iBAAiB;;;;;;;;;;;;EAI5B,CAAC;AAEH,eAAO,MAAM,eAAe;;;;;;;;;;;;EAI1B,CAAC;AAEH,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;EAOnC,CAAC;AAEH,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAgB/B,CAAC;AAEH,MAAM,MAAM,SAAS,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,eAAe,CAAC,CAAC;AACxD,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,wBAAwB,CAAC,CAAC;AAC1E,MAAM,MAAM,cAAc,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,CAAC;AAClE,MAAM,MAAM,WAAW,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iBAAiB,CAAC,CAAC;
|
|
1
|
+
{"version":3,"file":"statistics.d.ts","sourceRoot":"","sources":["../../../src/V1/api/statistics.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAgC,eAAe,EAAgB,MAAM,cAAc,CAAC;AAG3F,eAAO,MAAM,iBAAiB;;;;;;;;;;;;EAI5B,CAAC;AAEH,eAAO,MAAM,eAAe;;;;;;;;;;;;EAI1B,CAAC;AAEH,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;EAOnC,CAAC;AAEH,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAgB/B,CAAC;AAEH,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAWrC,CAAC;AAEH,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;WAAqC,CAAC;AAEzE,MAAM,MAAM,SAAS,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,eAAe,CAAC,CAAC;AACxD,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,wBAAwB,CAAC,CAAC;AAC1E,MAAM,MAAM,cAAc,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,CAAC;AAClE,MAAM,MAAM,WAAW,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iBAAiB,CAAC,CAAC;AAC5D,MAAM,MAAM,oBAAoB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,0BAA0B,CAAC,CAAC;AAC9E,MAAM,MAAM,gBAAgB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,sBAAsB,CAAC,CAAC;AAEtE,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAEjC,CAAC;AAEH,MAAM,MAAM,gBAAgB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,sBAAsB,CAAC,CAAC;AACtE,MAAM,MAAM,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,eAAe,CAAC,CAAC"}
|
package/dist/api-contracts.js
CHANGED
|
@@ -4374,10 +4374,16 @@ const ImportReminderDTOSchema = z.object({
|
|
|
4374
4374
|
});
|
|
4375
4375
|
const CreateImportReminderDTOSchema = ImportReminderDTOSchema;
|
|
4376
4376
|
const UpdateImportReminderDTOSchema = ImportReminderDTOSchema.omit({ id: true }).partial();
|
|
4377
|
+
const PublicOrganizerDTOSchema = z.object({
|
|
4378
|
+
id: OrganizerIdSchema,
|
|
4379
|
+
imageUrl: URLSchema.nullable(),
|
|
4380
|
+
name: StringSchema
|
|
4381
|
+
});
|
|
4377
4382
|
const OrganizerDTOSchema = z.object({
|
|
4378
4383
|
eventsIds: EventIdSchema.array(),
|
|
4379
4384
|
id: OrganizerIdSchema,
|
|
4380
4385
|
imageUrl: URLSchema.nullable(),
|
|
4386
|
+
isDuplicate: z.boolean(),
|
|
4381
4387
|
name: StringSchema
|
|
4382
4388
|
});
|
|
4383
4389
|
const CreateOrganizerDTOSchema = z.object({
|
|
@@ -4386,7 +4392,8 @@ const CreateOrganizerDTOSchema = z.object({
|
|
|
4386
4392
|
name: StringSchema
|
|
4387
4393
|
});
|
|
4388
4394
|
const UpdateOrganizerDTOSchema = CreateOrganizerDTOSchema.omit({ id: true }).extend({
|
|
4389
|
-
imageUrl: URLSchema.nullable().optional()
|
|
4395
|
+
imageUrl: URLSchema.nullable().optional(),
|
|
4396
|
+
isDuplicate: z.boolean().optional()
|
|
4390
4397
|
});
|
|
4391
4398
|
const constraints$1 = {
|
|
4392
4399
|
name: {
|
|
@@ -4426,8 +4433,22 @@ const GlobalStatsDTOSchema = z.object({
|
|
|
4426
4433
|
totalFavoritesCount: z.number(),
|
|
4427
4434
|
totalShared: z.number(),
|
|
4428
4435
|
usersCount: z.number(),
|
|
4429
|
-
usersWithMultipleDayAppOpened: z.number()
|
|
4436
|
+
usersWithMultipleDayAppOpened: z.number(),
|
|
4437
|
+
appOpenedCount: z.number()
|
|
4438
|
+
});
|
|
4439
|
+
const TemporalStatsWeekDTOSchema = z.object({
|
|
4440
|
+
appOpenedCount: z.number(),
|
|
4441
|
+
eventsCount: z.number(),
|
|
4442
|
+
openedEventsCount: z.number(),
|
|
4443
|
+
sharedEventsCount: z.number(),
|
|
4444
|
+
totalAddedToCalendar: z.number(),
|
|
4445
|
+
totalFavoritesCount: z.number(),
|
|
4446
|
+
totalShared: z.number(),
|
|
4447
|
+
usersCount: z.number(),
|
|
4448
|
+
weekEnd: z.coerce.date(),
|
|
4449
|
+
weekStart: z.coerce.date()
|
|
4430
4450
|
});
|
|
4451
|
+
const TemporalStatsDTOSchema = TemporalStatsWeekDTOSchema.array();
|
|
4431
4452
|
const SaveStatisticDTOSchema = z.object({
|
|
4432
4453
|
statistic: StatisticSchema
|
|
4433
4454
|
});
|
|
@@ -4456,8 +4477,11 @@ const index$2 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.definePrope
|
|
|
4456
4477
|
MainAdDTOSchema,
|
|
4457
4478
|
OrganizerDTOSchema,
|
|
4458
4479
|
PromoteEventDTOSchema,
|
|
4480
|
+
PublicOrganizerDTOSchema,
|
|
4459
4481
|
RegionalAdDTOSchema,
|
|
4460
4482
|
SaveStatisticDTOSchema,
|
|
4483
|
+
TemporalStatsDTOSchema,
|
|
4484
|
+
TemporalStatsWeekDTOSchema,
|
|
4461
4485
|
TopEventDTOSchema,
|
|
4462
4486
|
UpdateAppConfigurationDTOSchema,
|
|
4463
4487
|
UpdateEventDTOSchema,
|
package/dist/api-contracts.mjs
CHANGED
|
@@ -4372,10 +4372,16 @@ const ImportReminderDTOSchema = z.object({
|
|
|
4372
4372
|
});
|
|
4373
4373
|
const CreateImportReminderDTOSchema = ImportReminderDTOSchema;
|
|
4374
4374
|
const UpdateImportReminderDTOSchema = ImportReminderDTOSchema.omit({ id: true }).partial();
|
|
4375
|
+
const PublicOrganizerDTOSchema = z.object({
|
|
4376
|
+
id: OrganizerIdSchema,
|
|
4377
|
+
imageUrl: URLSchema.nullable(),
|
|
4378
|
+
name: StringSchema
|
|
4379
|
+
});
|
|
4375
4380
|
const OrganizerDTOSchema = z.object({
|
|
4376
4381
|
eventsIds: EventIdSchema.array(),
|
|
4377
4382
|
id: OrganizerIdSchema,
|
|
4378
4383
|
imageUrl: URLSchema.nullable(),
|
|
4384
|
+
isDuplicate: z.boolean(),
|
|
4379
4385
|
name: StringSchema
|
|
4380
4386
|
});
|
|
4381
4387
|
const CreateOrganizerDTOSchema = z.object({
|
|
@@ -4384,7 +4390,8 @@ const CreateOrganizerDTOSchema = z.object({
|
|
|
4384
4390
|
name: StringSchema
|
|
4385
4391
|
});
|
|
4386
4392
|
const UpdateOrganizerDTOSchema = CreateOrganizerDTOSchema.omit({ id: true }).extend({
|
|
4387
|
-
imageUrl: URLSchema.nullable().optional()
|
|
4393
|
+
imageUrl: URLSchema.nullable().optional(),
|
|
4394
|
+
isDuplicate: z.boolean().optional()
|
|
4388
4395
|
});
|
|
4389
4396
|
const constraints$1 = {
|
|
4390
4397
|
name: {
|
|
@@ -4424,8 +4431,22 @@ const GlobalStatsDTOSchema = z.object({
|
|
|
4424
4431
|
totalFavoritesCount: z.number(),
|
|
4425
4432
|
totalShared: z.number(),
|
|
4426
4433
|
usersCount: z.number(),
|
|
4427
|
-
usersWithMultipleDayAppOpened: z.number()
|
|
4434
|
+
usersWithMultipleDayAppOpened: z.number(),
|
|
4435
|
+
appOpenedCount: z.number()
|
|
4436
|
+
});
|
|
4437
|
+
const TemporalStatsWeekDTOSchema = z.object({
|
|
4438
|
+
appOpenedCount: z.number(),
|
|
4439
|
+
eventsCount: z.number(),
|
|
4440
|
+
openedEventsCount: z.number(),
|
|
4441
|
+
sharedEventsCount: z.number(),
|
|
4442
|
+
totalAddedToCalendar: z.number(),
|
|
4443
|
+
totalFavoritesCount: z.number(),
|
|
4444
|
+
totalShared: z.number(),
|
|
4445
|
+
usersCount: z.number(),
|
|
4446
|
+
weekEnd: z.coerce.date(),
|
|
4447
|
+
weekStart: z.coerce.date()
|
|
4428
4448
|
});
|
|
4449
|
+
const TemporalStatsDTOSchema = TemporalStatsWeekDTOSchema.array();
|
|
4429
4450
|
const SaveStatisticDTOSchema = z.object({
|
|
4430
4451
|
statistic: StatisticSchema
|
|
4431
4452
|
});
|
|
@@ -4454,8 +4475,11 @@ const index$2 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.definePrope
|
|
|
4454
4475
|
MainAdDTOSchema,
|
|
4455
4476
|
OrganizerDTOSchema,
|
|
4456
4477
|
PromoteEventDTOSchema,
|
|
4478
|
+
PublicOrganizerDTOSchema,
|
|
4457
4479
|
RegionalAdDTOSchema,
|
|
4458
4480
|
SaveStatisticDTOSchema,
|
|
4481
|
+
TemporalStatsDTOSchema,
|
|
4482
|
+
TemporalStatsWeekDTOSchema,
|
|
4459
4483
|
TopEventDTOSchema,
|
|
4460
4484
|
UpdateAppConfigurationDTOSchema,
|
|
4461
4485
|
UpdateEventDTOSchema,
|