@sortipei/api-contracts 0.2.5 → 0.2.6
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.
- package/dist/V1/api/ad.d.ts +28 -28
- package/dist/V1/api/event.d.ts +28 -28
- package/dist/V1/api/import-reminder.d.ts +52 -0
- package/dist/V1/api/import-reminder.d.ts.map +1 -0
- package/dist/V1/api/index.d.ts +1 -0
- package/dist/V1/api/index.d.ts.map +1 -1
- package/dist/V1/api/organizer.d.ts +2 -2
- package/dist/V1/api/statistics.d.ts +96 -96
- package/dist/V1/external/partial-imported-event.d.ts +12 -12
- package/dist/flavors.d.ts +3 -0
- package/dist/flavors.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/V1/api/ad.d.ts
CHANGED
|
@@ -11,21 +11,21 @@ export declare const MainAdDTOSchema: z.ZodObject<{
|
|
|
11
11
|
}, "strip", z.ZodTypeAny, {
|
|
12
12
|
startTime: string;
|
|
13
13
|
endTime: string;
|
|
14
|
-
createdAt: string;
|
|
15
14
|
id: string & z.BRAND<"MainAdId">;
|
|
16
15
|
imageUrl: string;
|
|
17
|
-
isEnabled: boolean;
|
|
18
|
-
link: string | null;
|
|
19
16
|
title: string;
|
|
17
|
+
createdAt: string;
|
|
18
|
+
link: string | null;
|
|
19
|
+
isEnabled: boolean;
|
|
20
20
|
}, {
|
|
21
21
|
startTime: string;
|
|
22
22
|
endTime: string;
|
|
23
|
-
createdAt: string;
|
|
24
23
|
id: string;
|
|
25
24
|
imageUrl: string;
|
|
26
|
-
isEnabled: boolean;
|
|
27
|
-
link: string | null;
|
|
28
25
|
title: string;
|
|
26
|
+
createdAt: string;
|
|
27
|
+
link: string | null;
|
|
28
|
+
isEnabled: boolean;
|
|
29
29
|
}>;
|
|
30
30
|
export declare const UpdateMainAdDTOSchema: z.ZodObject<Omit<{
|
|
31
31
|
createdAt: z.ZodString;
|
|
@@ -36,20 +36,20 @@ export declare const UpdateMainAdDTOSchema: z.ZodObject<Omit<{
|
|
|
36
36
|
link: z.ZodNullable<z.ZodString>;
|
|
37
37
|
startTime: z.ZodString;
|
|
38
38
|
title: z.ZodString;
|
|
39
|
-
}, "
|
|
39
|
+
}, "id" | "createdAt">, "strip", z.ZodTypeAny, {
|
|
40
40
|
startTime: string;
|
|
41
41
|
endTime: string;
|
|
42
42
|
imageUrl: string;
|
|
43
|
-
isEnabled: boolean;
|
|
44
|
-
link: string | null;
|
|
45
43
|
title: string;
|
|
44
|
+
link: string | null;
|
|
45
|
+
isEnabled: boolean;
|
|
46
46
|
}, {
|
|
47
47
|
startTime: string;
|
|
48
48
|
endTime: string;
|
|
49
49
|
imageUrl: string;
|
|
50
|
-
isEnabled: boolean;
|
|
51
|
-
link: string | null;
|
|
52
50
|
title: string;
|
|
51
|
+
link: string | null;
|
|
52
|
+
isEnabled: boolean;
|
|
53
53
|
}>;
|
|
54
54
|
export declare const RegionalAdDTOSchema: z.ZodObject<{
|
|
55
55
|
createdAt: z.ZodString;
|
|
@@ -58,29 +58,29 @@ export declare const RegionalAdDTOSchema: z.ZodObject<{
|
|
|
58
58
|
imageUrl: z.ZodString;
|
|
59
59
|
isEnabled: z.ZodBoolean;
|
|
60
60
|
link: z.ZodNullable<z.ZodString>;
|
|
61
|
-
regions: z.ZodArray<z.ZodNativeEnum<typeof import(
|
|
61
|
+
regions: z.ZodArray<z.ZodNativeEnum<typeof import("../../shared").Region>, "many">;
|
|
62
62
|
startTime: z.ZodString;
|
|
63
63
|
title: z.ZodString;
|
|
64
64
|
}, "strip", z.ZodTypeAny, {
|
|
65
|
-
regions: import('../../shared').Region[];
|
|
66
65
|
startTime: string;
|
|
67
66
|
endTime: string;
|
|
68
|
-
|
|
67
|
+
regions: import("../../shared").Region[];
|
|
69
68
|
id: string & z.BRAND<"RegionalAdId">;
|
|
70
69
|
imageUrl: string;
|
|
71
|
-
isEnabled: boolean;
|
|
72
|
-
link: string | null;
|
|
73
70
|
title: string;
|
|
71
|
+
createdAt: string;
|
|
72
|
+
link: string | null;
|
|
73
|
+
isEnabled: boolean;
|
|
74
74
|
}, {
|
|
75
|
-
regions: import('../../shared').Region[];
|
|
76
75
|
startTime: string;
|
|
77
76
|
endTime: string;
|
|
78
|
-
|
|
77
|
+
regions: import("../../shared").Region[];
|
|
79
78
|
id: string;
|
|
80
79
|
imageUrl: string;
|
|
81
|
-
isEnabled: boolean;
|
|
82
|
-
link: string | null;
|
|
83
80
|
title: string;
|
|
81
|
+
createdAt: string;
|
|
82
|
+
link: string | null;
|
|
83
|
+
isEnabled: boolean;
|
|
84
84
|
}>;
|
|
85
85
|
export declare const UpdateRegionalAdDTOSchema: z.ZodObject<Omit<{
|
|
86
86
|
createdAt: z.ZodString;
|
|
@@ -89,25 +89,25 @@ export declare const UpdateRegionalAdDTOSchema: z.ZodObject<Omit<{
|
|
|
89
89
|
imageUrl: z.ZodString;
|
|
90
90
|
isEnabled: z.ZodBoolean;
|
|
91
91
|
link: z.ZodNullable<z.ZodString>;
|
|
92
|
-
regions: z.ZodArray<z.ZodNativeEnum<typeof import(
|
|
92
|
+
regions: z.ZodArray<z.ZodNativeEnum<typeof import("../../shared").Region>, "many">;
|
|
93
93
|
startTime: z.ZodString;
|
|
94
94
|
title: z.ZodString;
|
|
95
|
-
}, "
|
|
96
|
-
regions: import('../../shared').Region[];
|
|
95
|
+
}, "id" | "createdAt">, "strip", z.ZodTypeAny, {
|
|
97
96
|
startTime: string;
|
|
98
97
|
endTime: string;
|
|
98
|
+
regions: import("../../shared").Region[];
|
|
99
99
|
imageUrl: string;
|
|
100
|
-
isEnabled: boolean;
|
|
101
|
-
link: string | null;
|
|
102
100
|
title: string;
|
|
101
|
+
link: string | null;
|
|
102
|
+
isEnabled: boolean;
|
|
103
103
|
}, {
|
|
104
|
-
regions: import('../../shared').Region[];
|
|
105
104
|
startTime: string;
|
|
106
105
|
endTime: string;
|
|
106
|
+
regions: import("../../shared").Region[];
|
|
107
107
|
imageUrl: string;
|
|
108
|
-
isEnabled: boolean;
|
|
109
|
-
link: string | null;
|
|
110
108
|
title: string;
|
|
109
|
+
link: string | null;
|
|
110
|
+
isEnabled: boolean;
|
|
111
111
|
}>;
|
|
112
112
|
export type MainAdDTO = z.infer<typeof MainAdDTOSchema>;
|
|
113
113
|
export type UpdateMainAdDTO = z.infer<typeof UpdateMainAdDTOSchema>;
|
package/dist/V1/api/event.d.ts
CHANGED
|
@@ -58,15 +58,14 @@ export declare const EventDTOSchema: z.ZodObject<{
|
|
|
58
58
|
name: string;
|
|
59
59
|
}>, "many">;
|
|
60
60
|
}, "strip", z.ZodTypeAny, {
|
|
61
|
-
regions: import("../../shared").Region[];
|
|
62
61
|
category: import("../../shared").Category;
|
|
63
62
|
startTime: string;
|
|
64
|
-
|
|
63
|
+
regions: import("../../shared").Region[];
|
|
65
64
|
id: string & z.BRAND<"EventId">;
|
|
66
|
-
link: string | null;
|
|
67
65
|
title: string;
|
|
68
66
|
adress: string;
|
|
69
67
|
capacity: number | null;
|
|
68
|
+
createdAt: string;
|
|
70
69
|
description: string;
|
|
71
70
|
externalSourceId: string | null;
|
|
72
71
|
finishTime: string | null;
|
|
@@ -82,6 +81,7 @@ export declare const EventDTOSchema: z.ZodObject<{
|
|
|
82
81
|
isOldTimes: boolean;
|
|
83
82
|
isPriceRange: boolean;
|
|
84
83
|
isPromoted: boolean;
|
|
84
|
+
link: string | null;
|
|
85
85
|
price: number | null;
|
|
86
86
|
secondaryCategory: import("../../shared").Category | null;
|
|
87
87
|
thumbnailUrl: string | null;
|
|
@@ -92,15 +92,14 @@ export declare const EventDTOSchema: z.ZodObject<{
|
|
|
92
92
|
name: string;
|
|
93
93
|
}[];
|
|
94
94
|
}, {
|
|
95
|
-
regions: import("../../shared").Region[];
|
|
96
95
|
category: import("../../shared").Category;
|
|
97
96
|
startTime: string;
|
|
98
|
-
|
|
97
|
+
regions: import("../../shared").Region[];
|
|
99
98
|
id: string;
|
|
100
|
-
link: string | null;
|
|
101
99
|
title: string;
|
|
102
100
|
adress: string;
|
|
103
101
|
capacity: number | null;
|
|
102
|
+
createdAt: string;
|
|
104
103
|
description: string;
|
|
105
104
|
externalSourceId: string | null;
|
|
106
105
|
finishTime: string | null;
|
|
@@ -116,6 +115,7 @@ export declare const EventDTOSchema: z.ZodObject<{
|
|
|
116
115
|
isOldTimes: boolean;
|
|
117
116
|
isPriceRange: boolean;
|
|
118
117
|
isPromoted: boolean;
|
|
118
|
+
link: string | null;
|
|
119
119
|
price: number | null;
|
|
120
120
|
secondaryCategory: import("../../shared").Category | null;
|
|
121
121
|
thumbnailUrl: string | null;
|
|
@@ -151,11 +151,10 @@ export declare const CreateEventDTOSchema: z.ZodObject<{
|
|
|
151
151
|
title: z.ZodString;
|
|
152
152
|
ticketsUrl: z.ZodNullable<z.ZodString>;
|
|
153
153
|
}, "strip", z.ZodTypeAny, {
|
|
154
|
-
regions: import("../../shared").Region[];
|
|
155
154
|
category: import("../../shared").Category;
|
|
156
155
|
startTime: string;
|
|
156
|
+
regions: import("../../shared").Region[];
|
|
157
157
|
id: string & z.BRAND<"EventId">;
|
|
158
|
-
link: string | null;
|
|
159
158
|
title: string;
|
|
160
159
|
adress: string;
|
|
161
160
|
capacity: number | null;
|
|
@@ -169,17 +168,17 @@ export declare const CreateEventDTOSchema: z.ZodObject<{
|
|
|
169
168
|
isExhibition: boolean;
|
|
170
169
|
isOldTimes: boolean;
|
|
171
170
|
isPriceRange: boolean;
|
|
171
|
+
link: string | null;
|
|
172
172
|
price: number | null;
|
|
173
173
|
secondaryCategory: import("../../shared").Category | null;
|
|
174
174
|
thumbnailUrl: string | null;
|
|
175
175
|
ticketsUrl: string | null;
|
|
176
176
|
organizersIds: (string & z.BRAND<"OrganizerId">)[];
|
|
177
177
|
}, {
|
|
178
|
-
regions: import("../../shared").Region[];
|
|
179
178
|
category: import("../../shared").Category;
|
|
180
179
|
startTime: string;
|
|
180
|
+
regions: import("../../shared").Region[];
|
|
181
181
|
id: string;
|
|
182
|
-
link: string | null;
|
|
183
182
|
title: string;
|
|
184
183
|
adress: string;
|
|
185
184
|
capacity: number | null;
|
|
@@ -193,6 +192,7 @@ export declare const CreateEventDTOSchema: z.ZodObject<{
|
|
|
193
192
|
isExhibition: boolean;
|
|
194
193
|
isOldTimes: boolean;
|
|
195
194
|
isPriceRange: boolean;
|
|
195
|
+
link: string | null;
|
|
196
196
|
price: number | null;
|
|
197
197
|
secondaryCategory: import("../../shared").Category | null;
|
|
198
198
|
thumbnailUrl: string | null;
|
|
@@ -224,10 +224,9 @@ export declare const UpdateEventDTOSchema: z.ZodObject<Omit<{
|
|
|
224
224
|
title: z.ZodString;
|
|
225
225
|
ticketsUrl: z.ZodNullable<z.ZodString>;
|
|
226
226
|
}, "id">, "strip", z.ZodTypeAny, {
|
|
227
|
-
regions: import("../../shared").Region[];
|
|
228
227
|
category: import("../../shared").Category;
|
|
229
228
|
startTime: string;
|
|
230
|
-
|
|
229
|
+
regions: import("../../shared").Region[];
|
|
231
230
|
title: string;
|
|
232
231
|
adress: string;
|
|
233
232
|
capacity: number | null;
|
|
@@ -241,16 +240,16 @@ export declare const UpdateEventDTOSchema: z.ZodObject<Omit<{
|
|
|
241
240
|
isExhibition: boolean;
|
|
242
241
|
isOldTimes: boolean;
|
|
243
242
|
isPriceRange: boolean;
|
|
243
|
+
link: string | null;
|
|
244
244
|
price: number | null;
|
|
245
245
|
secondaryCategory: import("../../shared").Category | null;
|
|
246
246
|
thumbnailUrl: string | null;
|
|
247
247
|
ticketsUrl: string | null;
|
|
248
248
|
organizersIds: (string & z.BRAND<"OrganizerId">)[];
|
|
249
249
|
}, {
|
|
250
|
-
regions: import("../../shared").Region[];
|
|
251
250
|
category: import("../../shared").Category;
|
|
252
251
|
startTime: string;
|
|
253
|
-
|
|
252
|
+
regions: import("../../shared").Region[];
|
|
254
253
|
title: string;
|
|
255
254
|
adress: string;
|
|
256
255
|
capacity: number | null;
|
|
@@ -264,6 +263,7 @@ export declare const UpdateEventDTOSchema: z.ZodObject<Omit<{
|
|
|
264
263
|
isExhibition: boolean;
|
|
265
264
|
isOldTimes: boolean;
|
|
266
265
|
isPriceRange: boolean;
|
|
266
|
+
link: string | null;
|
|
267
267
|
price: number | null;
|
|
268
268
|
secondaryCategory: import("../../shared").Category | null;
|
|
269
269
|
thumbnailUrl: string | null;
|
|
@@ -356,15 +356,14 @@ export declare const ImportDTOSchema: z.ZodObject<{
|
|
|
356
356
|
name: string;
|
|
357
357
|
}>, "many">>;
|
|
358
358
|
}, "strip", z.ZodTypeAny, {
|
|
359
|
-
regions?: import("../../shared").Region[] | undefined;
|
|
360
359
|
category?: import("../../shared").Category | undefined;
|
|
361
360
|
startTime?: string | undefined;
|
|
362
|
-
|
|
361
|
+
regions?: import("../../shared").Region[] | undefined;
|
|
363
362
|
id?: (string & z.BRAND<"EventId">) | undefined;
|
|
364
|
-
link?: string | null | undefined;
|
|
365
363
|
title?: string | undefined;
|
|
366
364
|
adress?: string | undefined;
|
|
367
365
|
capacity?: number | null | undefined;
|
|
366
|
+
createdAt?: string | undefined;
|
|
368
367
|
description?: string | undefined;
|
|
369
368
|
externalSourceId?: string | null | undefined;
|
|
370
369
|
finishTime?: string | null | undefined;
|
|
@@ -380,6 +379,7 @@ export declare const ImportDTOSchema: z.ZodObject<{
|
|
|
380
379
|
isOldTimes?: boolean | undefined;
|
|
381
380
|
isPriceRange?: boolean | undefined;
|
|
382
381
|
isPromoted?: boolean | undefined;
|
|
382
|
+
link?: string | null | undefined;
|
|
383
383
|
price?: number | null | undefined;
|
|
384
384
|
secondaryCategory?: import("../../shared").Category | null | undefined;
|
|
385
385
|
thumbnailUrl?: string | null | undefined;
|
|
@@ -390,15 +390,14 @@ export declare const ImportDTOSchema: z.ZodObject<{
|
|
|
390
390
|
name: string;
|
|
391
391
|
}[] | undefined;
|
|
392
392
|
}, {
|
|
393
|
-
regions?: import("../../shared").Region[] | undefined;
|
|
394
393
|
category?: import("../../shared").Category | undefined;
|
|
395
394
|
startTime?: string | undefined;
|
|
396
|
-
|
|
395
|
+
regions?: import("../../shared").Region[] | undefined;
|
|
397
396
|
id?: string | undefined;
|
|
398
|
-
link?: string | null | undefined;
|
|
399
397
|
title?: string | undefined;
|
|
400
398
|
adress?: string | undefined;
|
|
401
399
|
capacity?: number | null | undefined;
|
|
400
|
+
createdAt?: string | undefined;
|
|
402
401
|
description?: string | undefined;
|
|
403
402
|
externalSourceId?: string | null | undefined;
|
|
404
403
|
finishTime?: string | null | undefined;
|
|
@@ -414,6 +413,7 @@ export declare const ImportDTOSchema: z.ZodObject<{
|
|
|
414
413
|
isOldTimes?: boolean | undefined;
|
|
415
414
|
isPriceRange?: boolean | undefined;
|
|
416
415
|
isPromoted?: boolean | undefined;
|
|
416
|
+
link?: string | null | undefined;
|
|
417
417
|
price?: number | null | undefined;
|
|
418
418
|
secondaryCategory?: import("../../shared").Category | null | undefined;
|
|
419
419
|
thumbnailUrl?: string | null | undefined;
|
|
@@ -428,19 +428,18 @@ export declare const ImportDTOSchema: z.ZodObject<{
|
|
|
428
428
|
userId: z.ZodString;
|
|
429
429
|
}, "strip", z.ZodTypeAny, {
|
|
430
430
|
userId: string;
|
|
431
|
-
createdAt: string;
|
|
432
431
|
id: string;
|
|
432
|
+
createdAt: string;
|
|
433
433
|
organizersNames: string[];
|
|
434
434
|
partialEventState: {
|
|
435
|
-
regions?: import("../../shared").Region[] | undefined;
|
|
436
435
|
category?: import("../../shared").Category | undefined;
|
|
437
436
|
startTime?: string | undefined;
|
|
438
|
-
|
|
437
|
+
regions?: import("../../shared").Region[] | undefined;
|
|
439
438
|
id?: (string & z.BRAND<"EventId">) | undefined;
|
|
440
|
-
link?: string | null | undefined;
|
|
441
439
|
title?: string | undefined;
|
|
442
440
|
adress?: string | undefined;
|
|
443
441
|
capacity?: number | null | undefined;
|
|
442
|
+
createdAt?: string | undefined;
|
|
444
443
|
description?: string | undefined;
|
|
445
444
|
externalSourceId?: string | null | undefined;
|
|
446
445
|
finishTime?: string | null | undefined;
|
|
@@ -456,6 +455,7 @@ export declare const ImportDTOSchema: z.ZodObject<{
|
|
|
456
455
|
isOldTimes?: boolean | undefined;
|
|
457
456
|
isPriceRange?: boolean | undefined;
|
|
458
457
|
isPromoted?: boolean | undefined;
|
|
458
|
+
link?: string | null | undefined;
|
|
459
459
|
price?: number | null | undefined;
|
|
460
460
|
secondaryCategory?: import("../../shared").Category | null | undefined;
|
|
461
461
|
thumbnailUrl?: string | null | undefined;
|
|
@@ -469,19 +469,18 @@ export declare const ImportDTOSchema: z.ZodObject<{
|
|
|
469
469
|
source: string;
|
|
470
470
|
}, {
|
|
471
471
|
userId: string;
|
|
472
|
-
createdAt: string;
|
|
473
472
|
id: string;
|
|
473
|
+
createdAt: string;
|
|
474
474
|
organizersNames: string[];
|
|
475
475
|
partialEventState: {
|
|
476
|
-
regions?: import("../../shared").Region[] | undefined;
|
|
477
476
|
category?: import("../../shared").Category | undefined;
|
|
478
477
|
startTime?: string | undefined;
|
|
479
|
-
|
|
478
|
+
regions?: import("../../shared").Region[] | undefined;
|
|
480
479
|
id?: string | undefined;
|
|
481
|
-
link?: string | null | undefined;
|
|
482
480
|
title?: string | undefined;
|
|
483
481
|
adress?: string | undefined;
|
|
484
482
|
capacity?: number | null | undefined;
|
|
483
|
+
createdAt?: string | undefined;
|
|
485
484
|
description?: string | undefined;
|
|
486
485
|
externalSourceId?: string | null | undefined;
|
|
487
486
|
finishTime?: string | null | undefined;
|
|
@@ -497,6 +496,7 @@ export declare const ImportDTOSchema: z.ZodObject<{
|
|
|
497
496
|
isOldTimes?: boolean | undefined;
|
|
498
497
|
isPriceRange?: boolean | undefined;
|
|
499
498
|
isPromoted?: boolean | undefined;
|
|
499
|
+
link?: string | null | undefined;
|
|
500
500
|
price?: number | null | undefined;
|
|
501
501
|
secondaryCategory?: import("../../shared").Category | null | undefined;
|
|
502
502
|
thumbnailUrl?: string | null | undefined;
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare const ImportReminderFrequencySchema: z.ZodEnum<["TWO_DAYS", "FOUR_DAYS", "ONE_WEEK", "TWO_WEEKS"]>;
|
|
3
|
+
export type ImportReminderFrequency = z.infer<typeof ImportReminderFrequencySchema>;
|
|
4
|
+
export declare const ImportReminderDTOSchema: z.ZodObject<{
|
|
5
|
+
frequency: z.ZodEnum<["TWO_DAYS", "FOUR_DAYS", "ONE_WEEK", "TWO_WEEKS"]>;
|
|
6
|
+
id: z.ZodBranded<z.ZodString, "ImportReminderId">;
|
|
7
|
+
title: z.ZodString;
|
|
8
|
+
url: z.ZodString;
|
|
9
|
+
}, "strip", z.ZodTypeAny, {
|
|
10
|
+
id: string & z.BRAND<"ImportReminderId">;
|
|
11
|
+
frequency: "TWO_DAYS" | "FOUR_DAYS" | "ONE_WEEK" | "TWO_WEEKS";
|
|
12
|
+
title: string;
|
|
13
|
+
url: string;
|
|
14
|
+
}, {
|
|
15
|
+
id: string;
|
|
16
|
+
frequency: "TWO_DAYS" | "FOUR_DAYS" | "ONE_WEEK" | "TWO_WEEKS";
|
|
17
|
+
title: string;
|
|
18
|
+
url: string;
|
|
19
|
+
}>;
|
|
20
|
+
export declare const CreateImportReminderDTOSchema: z.ZodObject<{
|
|
21
|
+
frequency: z.ZodEnum<["TWO_DAYS", "FOUR_DAYS", "ONE_WEEK", "TWO_WEEKS"]>;
|
|
22
|
+
id: z.ZodBranded<z.ZodString, "ImportReminderId">;
|
|
23
|
+
title: z.ZodString;
|
|
24
|
+
url: z.ZodString;
|
|
25
|
+
}, "strip", z.ZodTypeAny, {
|
|
26
|
+
id: string & z.BRAND<"ImportReminderId">;
|
|
27
|
+
frequency: "TWO_DAYS" | "FOUR_DAYS" | "ONE_WEEK" | "TWO_WEEKS";
|
|
28
|
+
title: string;
|
|
29
|
+
url: string;
|
|
30
|
+
}, {
|
|
31
|
+
id: string;
|
|
32
|
+
frequency: "TWO_DAYS" | "FOUR_DAYS" | "ONE_WEEK" | "TWO_WEEKS";
|
|
33
|
+
title: string;
|
|
34
|
+
url: string;
|
|
35
|
+
}>;
|
|
36
|
+
export declare const UpdateImportReminderDTOSchema: z.ZodObject<{
|
|
37
|
+
frequency: z.ZodOptional<z.ZodEnum<["TWO_DAYS", "FOUR_DAYS", "ONE_WEEK", "TWO_WEEKS"]>>;
|
|
38
|
+
title: z.ZodOptional<z.ZodString>;
|
|
39
|
+
url: z.ZodOptional<z.ZodString>;
|
|
40
|
+
}, "strip", z.ZodTypeAny, {
|
|
41
|
+
frequency?: "TWO_DAYS" | "FOUR_DAYS" | "ONE_WEEK" | "TWO_WEEKS" | undefined;
|
|
42
|
+
title?: string | undefined;
|
|
43
|
+
url?: string | undefined;
|
|
44
|
+
}, {
|
|
45
|
+
frequency?: "TWO_DAYS" | "FOUR_DAYS" | "ONE_WEEK" | "TWO_WEEKS" | undefined;
|
|
46
|
+
title?: string | undefined;
|
|
47
|
+
url?: string | undefined;
|
|
48
|
+
}>;
|
|
49
|
+
export type ImportReminderDTO = z.infer<typeof ImportReminderDTOSchema>;
|
|
50
|
+
export type CreateImportReminderDTO = z.infer<typeof CreateImportReminderDTOSchema>;
|
|
51
|
+
export type UpdateImportReminderDTO = z.infer<typeof UpdateImportReminderDTOSchema>;
|
|
52
|
+
//# sourceMappingURL=import-reminder.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"import-reminder.d.ts","sourceRoot":"","sources":["../../../src/V1/api/import-reminder.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,eAAO,MAAM,6BAA6B,+DAA6D,CAAC;AACxG,MAAM,MAAM,uBAAuB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,6BAA6B,CAAC,CAAC;AAEpF,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;EAKlC,CAAC;AAEH,eAAO,MAAM,6BAA6B;;;;;;;;;;;;;;;EAA0B,CAAC;AAErE,eAAO,MAAM,6BAA6B;;;;;;;;;;;;EAAuD,CAAC;AAElG,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,uBAAuB,CAAC,CAAC;AACxE,MAAM,MAAM,uBAAuB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,6BAA6B,CAAC,CAAC;AACpF,MAAM,MAAM,uBAAuB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,6BAA6B,CAAC,CAAC"}
|
package/dist/V1/api/index.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/V1/api/index.ts"],"names":[],"mappings":"AAAA,cAAc,MAAM,CAAC;AACrB,cAAc,qBAAqB,CAAC;AACpC,cAAc,UAAU,CAAC;AACzB,cAAc,SAAS,CAAC;AACxB,cAAc,aAAa,CAAC;AAC5B,cAAc,cAAc,CAAC;AAK7B,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;CAGvB,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/V1/api/index.ts"],"names":[],"mappings":"AAAA,cAAc,MAAM,CAAC;AACrB,cAAc,qBAAqB,CAAC;AACpC,cAAc,UAAU,CAAC;AACzB,cAAc,SAAS,CAAC;AACxB,cAAc,mBAAmB,CAAC;AAClC,cAAc,aAAa,CAAC;AAC5B,cAAc,cAAc,CAAC;AAK7B,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;CAGvB,CAAC"}
|
|
@@ -5,15 +5,15 @@ export declare const OrganizerDTOSchema: z.ZodObject<{
|
|
|
5
5
|
imageUrl: z.ZodNullable<z.ZodString>;
|
|
6
6
|
name: z.ZodString;
|
|
7
7
|
}, "strip", z.ZodTypeAny, {
|
|
8
|
+
eventsIds: (string & z.BRAND<"EventId">)[];
|
|
8
9
|
id: string & z.BRAND<"OrganizerId">;
|
|
9
10
|
imageUrl: string | null;
|
|
10
11
|
name: string;
|
|
11
|
-
eventsIds: (string & z.BRAND<"EventId">)[];
|
|
12
12
|
}, {
|
|
13
|
+
eventsIds: string[];
|
|
13
14
|
id: string;
|
|
14
15
|
imageUrl: string | null;
|
|
15
16
|
name: string;
|
|
16
|
-
eventsIds: string[];
|
|
17
17
|
}>;
|
|
18
18
|
export declare const CreateOrganizerDTOSchema: z.ZodObject<{
|
|
19
19
|
id: z.ZodBranded<z.ZodString, "OrganizerId">;
|
|
@@ -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
|
-
eventId: string & z.BRAND<"EventId">;
|
|
9
8
|
count: number;
|
|
9
|
+
eventId: string & z.BRAND<"EventId">;
|
|
10
10
|
eventTitle: string;
|
|
11
11
|
}, {
|
|
12
|
-
eventId: string;
|
|
13
12
|
count: number;
|
|
13
|
+
eventId: string;
|
|
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
|
-
eventId: string & z.BRAND<"EventId">;
|
|
75
74
|
count: number;
|
|
75
|
+
eventId: string & z.BRAND<"EventId">;
|
|
76
76
|
eventTitle: string;
|
|
77
77
|
}, {
|
|
78
|
-
eventId: string;
|
|
79
78
|
count: number;
|
|
79
|
+
eventId: string;
|
|
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
|
-
eventId: string & z.BRAND<"EventId">;
|
|
88
87
|
count: number;
|
|
88
|
+
eventId: string & z.BRAND<"EventId">;
|
|
89
89
|
eventTitle: string;
|
|
90
90
|
}, {
|
|
91
|
-
eventId: string;
|
|
92
91
|
count: number;
|
|
92
|
+
eventId: string;
|
|
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
|
-
eventId: string & z.BRAND<"EventId">;
|
|
101
100
|
count: number;
|
|
101
|
+
eventId: string & z.BRAND<"EventId">;
|
|
102
102
|
eventTitle: string;
|
|
103
103
|
}, {
|
|
104
|
-
eventId: string;
|
|
105
104
|
count: number;
|
|
105
|
+
eventId: string;
|
|
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
|
-
eventId: string & z.BRAND<"EventId">;
|
|
114
113
|
count: number;
|
|
114
|
+
eventId: string & z.BRAND<"EventId">;
|
|
115
115
|
eventTitle: string;
|
|
116
116
|
}, {
|
|
117
|
-
eventId: string;
|
|
118
117
|
count: number;
|
|
118
|
+
eventId: string;
|
|
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
|
-
eventId: string & z.BRAND<"EventId">;
|
|
138
137
|
count: number;
|
|
138
|
+
eventId: string & z.BRAND<"EventId">;
|
|
139
139
|
eventTitle: string;
|
|
140
140
|
}[];
|
|
141
141
|
topUpcomingAddedToFavoritesEvents: {
|
|
142
|
-
eventId: string & z.BRAND<"EventId">;
|
|
143
142
|
count: number;
|
|
143
|
+
eventId: string & z.BRAND<"EventId">;
|
|
144
144
|
eventTitle: string;
|
|
145
145
|
}[];
|
|
146
146
|
topUpcomingViewedEvents: {
|
|
147
|
-
eventId: string & z.BRAND<"EventId">;
|
|
148
147
|
count: number;
|
|
148
|
+
eventId: string & z.BRAND<"EventId">;
|
|
149
149
|
eventTitle: string;
|
|
150
150
|
}[];
|
|
151
151
|
topViewedEvents: {
|
|
152
|
-
eventId: string & z.BRAND<"EventId">;
|
|
153
152
|
count: number;
|
|
153
|
+
eventId: string & z.BRAND<"EventId">;
|
|
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
|
-
eventId: string;
|
|
173
172
|
count: number;
|
|
173
|
+
eventId: string;
|
|
174
174
|
eventTitle: string;
|
|
175
175
|
}[];
|
|
176
176
|
topUpcomingAddedToFavoritesEvents: {
|
|
177
|
-
eventId: string;
|
|
178
177
|
count: number;
|
|
178
|
+
eventId: string;
|
|
179
179
|
eventTitle: string;
|
|
180
180
|
}[];
|
|
181
181
|
topUpcomingViewedEvents: {
|
|
182
|
-
eventId: string;
|
|
183
182
|
count: number;
|
|
183
|
+
eventId: string;
|
|
184
184
|
eventTitle: string;
|
|
185
185
|
}[];
|
|
186
186
|
topViewedEvents: {
|
|
187
|
-
eventId: string;
|
|
188
187
|
count: number;
|
|
188
|
+
eventId: string;
|
|
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;
|
|
209
208
|
adId: string;
|
|
210
209
|
adTitle: string;
|
|
211
|
-
}, {
|
|
212
210
|
userId: string;
|
|
211
|
+
}, {
|
|
213
212
|
adId: string;
|
|
214
213
|
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;
|
|
222
221
|
adId: string;
|
|
223
222
|
adTitle: string;
|
|
223
|
+
userId: string;
|
|
224
224
|
};
|
|
225
225
|
time: string;
|
|
226
226
|
}, {
|
|
227
227
|
type: "ad-pressed";
|
|
228
228
|
data: {
|
|
229
|
-
userId: string;
|
|
230
229
|
adId: string;
|
|
231
230
|
adTitle: string;
|
|
231
|
+
userId: string;
|
|
232
232
|
};
|
|
233
233
|
time: string;
|
|
234
234
|
}>, 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
|
-
userId: string;
|
|
321
320
|
eventId: string;
|
|
322
|
-
}, {
|
|
323
321
|
userId: string;
|
|
322
|
+
}, {
|
|
324
323
|
eventId: string;
|
|
324
|
+
userId: 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
|
-
userId: string;
|
|
332
331
|
eventId: string;
|
|
332
|
+
userId: string;
|
|
333
333
|
};
|
|
334
334
|
time: string;
|
|
335
335
|
}, {
|
|
336
336
|
type: "event-added-to-calendar";
|
|
337
337
|
data: {
|
|
338
|
-
userId: string;
|
|
339
338
|
eventId: string;
|
|
339
|
+
userId: 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
|
-
userId: string;
|
|
348
347
|
eventId: string;
|
|
349
|
-
}, {
|
|
350
348
|
userId: string;
|
|
349
|
+
}, {
|
|
351
350
|
eventId: string;
|
|
351
|
+
userId: 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
|
-
userId: string;
|
|
359
358
|
eventId: string;
|
|
359
|
+
userId: string;
|
|
360
360
|
};
|
|
361
361
|
time: string;
|
|
362
362
|
}, {
|
|
363
363
|
type: "event-added-to-favorites";
|
|
364
364
|
data: {
|
|
365
|
-
userId: string;
|
|
366
365
|
eventId: string;
|
|
366
|
+
userId: 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
|
-
userId: string;
|
|
375
374
|
eventId: string;
|
|
376
|
-
}, {
|
|
377
375
|
userId: string;
|
|
376
|
+
}, {
|
|
378
377
|
eventId: string;
|
|
378
|
+
userId: 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
|
-
userId: string;
|
|
386
385
|
eventId: string;
|
|
386
|
+
userId: string;
|
|
387
387
|
};
|
|
388
388
|
time: string;
|
|
389
389
|
}, {
|
|
390
390
|
type: "event-displayed";
|
|
391
391
|
data: {
|
|
392
|
-
userId: string;
|
|
393
392
|
eventId: string;
|
|
393
|
+
userId: 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
|
-
userId: string;
|
|
402
401
|
eventId: string;
|
|
403
|
-
}, {
|
|
404
402
|
userId: string;
|
|
403
|
+
}, {
|
|
405
404
|
eventId: string;
|
|
405
|
+
userId: 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
|
-
userId: string;
|
|
413
412
|
eventId: string;
|
|
413
|
+
userId: string;
|
|
414
414
|
};
|
|
415
415
|
time: string;
|
|
416
416
|
}, {
|
|
417
417
|
type: "event-see-more-clicked";
|
|
418
418
|
data: {
|
|
419
|
-
userId: string;
|
|
420
419
|
eventId: string;
|
|
420
|
+
userId: 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
|
-
userId: string;
|
|
429
428
|
eventId: string;
|
|
430
|
-
}, {
|
|
431
429
|
userId: string;
|
|
430
|
+
}, {
|
|
432
431
|
eventId: string;
|
|
432
|
+
userId: 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
|
-
userId: string;
|
|
440
439
|
eventId: string;
|
|
440
|
+
userId: string;
|
|
441
441
|
};
|
|
442
442
|
time: string;
|
|
443
443
|
}, {
|
|
444
444
|
type: "event-shared";
|
|
445
445
|
data: {
|
|
446
|
-
userId: string;
|
|
447
446
|
eventId: string;
|
|
447
|
+
userId: 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
|
-
userId: string;
|
|
456
455
|
eventId: string;
|
|
457
|
-
}, {
|
|
458
456
|
userId: string;
|
|
457
|
+
}, {
|
|
459
458
|
eventId: string;
|
|
459
|
+
userId: 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
|
-
userId: string;
|
|
467
466
|
eventId: string;
|
|
467
|
+
userId: string;
|
|
468
468
|
};
|
|
469
469
|
time: string;
|
|
470
470
|
}, {
|
|
471
471
|
type: "event-tickets-clicked";
|
|
472
472
|
data: {
|
|
473
|
-
userId: string;
|
|
474
473
|
eventId: string;
|
|
474
|
+
userId: string;
|
|
475
475
|
};
|
|
476
476
|
time: string;
|
|
477
477
|
}>, z.ZodObject<{
|
|
@@ -575,199 +575,199 @@ export declare const SaveStatisticDTOSchema: z.ZodObject<{
|
|
|
575
575
|
}>]>;
|
|
576
576
|
}, "strip", z.ZodTypeAny, {
|
|
577
577
|
statistic: {
|
|
578
|
-
type: "
|
|
578
|
+
type: "ad-pressed";
|
|
579
579
|
data: {
|
|
580
|
+
adId: string;
|
|
581
|
+
adTitle: string;
|
|
580
582
|
userId: string;
|
|
581
583
|
};
|
|
582
584
|
time: string;
|
|
583
585
|
} | {
|
|
584
|
-
type: "
|
|
586
|
+
type: "app-started";
|
|
585
587
|
data: {
|
|
586
588
|
userId: string;
|
|
587
|
-
eventId: string;
|
|
588
589
|
};
|
|
589
590
|
time: string;
|
|
590
591
|
} | {
|
|
591
|
-
type: "
|
|
592
|
+
type: "category-filter-applied";
|
|
592
593
|
data: {
|
|
593
594
|
userId: string;
|
|
594
|
-
|
|
595
|
+
category: import("../../shared").Category;
|
|
595
596
|
};
|
|
596
597
|
time: string;
|
|
597
598
|
} | {
|
|
598
|
-
type: "
|
|
599
|
+
type: "date-filter-applied";
|
|
599
600
|
data: {
|
|
600
601
|
userId: string;
|
|
601
|
-
|
|
602
|
+
startTime: string;
|
|
603
|
+
endTime: string;
|
|
602
604
|
};
|
|
603
605
|
time: string;
|
|
604
606
|
} | {
|
|
605
607
|
type: "event-added-to-calendar";
|
|
606
608
|
data: {
|
|
607
|
-
userId: string;
|
|
608
609
|
eventId: string;
|
|
610
|
+
userId: string;
|
|
609
611
|
};
|
|
610
612
|
time: string;
|
|
611
613
|
} | {
|
|
612
|
-
type: "event-
|
|
614
|
+
type: "event-added-to-favorites";
|
|
613
615
|
data: {
|
|
614
|
-
userId: string;
|
|
615
616
|
eventId: string;
|
|
617
|
+
userId: string;
|
|
616
618
|
};
|
|
617
619
|
time: string;
|
|
618
620
|
} | {
|
|
619
|
-
type: "event-
|
|
621
|
+
type: "event-displayed";
|
|
620
622
|
data: {
|
|
621
|
-
userId: string;
|
|
622
623
|
eventId: string;
|
|
624
|
+
userId: string;
|
|
623
625
|
};
|
|
624
626
|
time: string;
|
|
625
627
|
} | {
|
|
626
628
|
type: "event-see-more-clicked";
|
|
627
629
|
data: {
|
|
628
|
-
userId: string;
|
|
629
630
|
eventId: string;
|
|
631
|
+
userId: string;
|
|
630
632
|
};
|
|
631
633
|
time: string;
|
|
632
634
|
} | {
|
|
633
|
-
type: "
|
|
635
|
+
type: "event-shared";
|
|
634
636
|
data: {
|
|
637
|
+
eventId: string;
|
|
635
638
|
userId: string;
|
|
636
|
-
regions: import("../../shared").Region[];
|
|
637
639
|
};
|
|
638
640
|
time: string;
|
|
639
641
|
} | {
|
|
640
|
-
type: "
|
|
642
|
+
type: "event-tickets-clicked";
|
|
641
643
|
data: {
|
|
644
|
+
eventId: string;
|
|
642
645
|
userId: string;
|
|
643
646
|
};
|
|
644
647
|
time: string;
|
|
645
648
|
} | {
|
|
646
|
-
type: "
|
|
649
|
+
type: "free-filter-applied";
|
|
647
650
|
data: {
|
|
648
651
|
userId: string;
|
|
649
|
-
category: import("../../shared").Category;
|
|
650
652
|
};
|
|
651
653
|
time: string;
|
|
652
654
|
} | {
|
|
653
|
-
type: "
|
|
655
|
+
type: "old-times-filter-applied";
|
|
654
656
|
data: {
|
|
655
657
|
userId: string;
|
|
656
|
-
startTime: string;
|
|
657
|
-
endTime: string;
|
|
658
658
|
};
|
|
659
659
|
time: string;
|
|
660
660
|
} | {
|
|
661
|
-
type: "
|
|
661
|
+
type: "organizer-displayed";
|
|
662
662
|
data: {
|
|
663
663
|
userId: string;
|
|
664
|
+
organizerId: string;
|
|
664
665
|
};
|
|
665
666
|
time: string;
|
|
666
667
|
} | {
|
|
667
|
-
type: "
|
|
668
|
+
type: "region-filter-applied";
|
|
668
669
|
data: {
|
|
669
670
|
userId: string;
|
|
670
|
-
|
|
671
|
-
adTitle: string;
|
|
671
|
+
regions: import("../../shared").Region[];
|
|
672
672
|
};
|
|
673
673
|
time: string;
|
|
674
674
|
};
|
|
675
675
|
}, {
|
|
676
676
|
statistic: {
|
|
677
|
-
type: "
|
|
677
|
+
type: "ad-pressed";
|
|
678
678
|
data: {
|
|
679
|
+
adId: string;
|
|
680
|
+
adTitle: string;
|
|
679
681
|
userId: string;
|
|
680
682
|
};
|
|
681
683
|
time: string;
|
|
682
684
|
} | {
|
|
683
|
-
type: "
|
|
685
|
+
type: "app-started";
|
|
684
686
|
data: {
|
|
685
687
|
userId: string;
|
|
686
|
-
eventId: string;
|
|
687
688
|
};
|
|
688
689
|
time: string;
|
|
689
690
|
} | {
|
|
690
|
-
type: "
|
|
691
|
+
type: "category-filter-applied";
|
|
691
692
|
data: {
|
|
692
693
|
userId: string;
|
|
693
|
-
|
|
694
|
+
category: import("../../shared").Category;
|
|
694
695
|
};
|
|
695
696
|
time: string;
|
|
696
697
|
} | {
|
|
697
|
-
type: "
|
|
698
|
+
type: "date-filter-applied";
|
|
698
699
|
data: {
|
|
699
700
|
userId: string;
|
|
700
|
-
|
|
701
|
+
startTime: string;
|
|
702
|
+
endTime: string;
|
|
701
703
|
};
|
|
702
704
|
time: string;
|
|
703
705
|
} | {
|
|
704
706
|
type: "event-added-to-calendar";
|
|
705
707
|
data: {
|
|
706
|
-
userId: string;
|
|
707
708
|
eventId: string;
|
|
709
|
+
userId: string;
|
|
708
710
|
};
|
|
709
711
|
time: string;
|
|
710
712
|
} | {
|
|
711
|
-
type: "event-
|
|
713
|
+
type: "event-added-to-favorites";
|
|
712
714
|
data: {
|
|
713
|
-
userId: string;
|
|
714
715
|
eventId: string;
|
|
716
|
+
userId: string;
|
|
715
717
|
};
|
|
716
718
|
time: string;
|
|
717
719
|
} | {
|
|
718
|
-
type: "event-
|
|
720
|
+
type: "event-displayed";
|
|
719
721
|
data: {
|
|
720
|
-
userId: string;
|
|
721
722
|
eventId: string;
|
|
723
|
+
userId: string;
|
|
722
724
|
};
|
|
723
725
|
time: string;
|
|
724
726
|
} | {
|
|
725
727
|
type: "event-see-more-clicked";
|
|
726
728
|
data: {
|
|
727
|
-
userId: string;
|
|
728
729
|
eventId: string;
|
|
730
|
+
userId: string;
|
|
729
731
|
};
|
|
730
732
|
time: string;
|
|
731
733
|
} | {
|
|
732
|
-
type: "
|
|
734
|
+
type: "event-shared";
|
|
733
735
|
data: {
|
|
736
|
+
eventId: string;
|
|
734
737
|
userId: string;
|
|
735
|
-
regions: import("../../shared").Region[];
|
|
736
738
|
};
|
|
737
739
|
time: string;
|
|
738
740
|
} | {
|
|
739
|
-
type: "
|
|
741
|
+
type: "event-tickets-clicked";
|
|
740
742
|
data: {
|
|
743
|
+
eventId: string;
|
|
741
744
|
userId: string;
|
|
742
745
|
};
|
|
743
746
|
time: string;
|
|
744
747
|
} | {
|
|
745
|
-
type: "
|
|
748
|
+
type: "free-filter-applied";
|
|
746
749
|
data: {
|
|
747
750
|
userId: string;
|
|
748
|
-
category: import("../../shared").Category;
|
|
749
751
|
};
|
|
750
752
|
time: string;
|
|
751
753
|
} | {
|
|
752
|
-
type: "
|
|
754
|
+
type: "old-times-filter-applied";
|
|
753
755
|
data: {
|
|
754
756
|
userId: string;
|
|
755
|
-
startTime: string;
|
|
756
|
-
endTime: string;
|
|
757
757
|
};
|
|
758
758
|
time: string;
|
|
759
759
|
} | {
|
|
760
|
-
type: "
|
|
760
|
+
type: "organizer-displayed";
|
|
761
761
|
data: {
|
|
762
762
|
userId: string;
|
|
763
|
+
organizerId: string;
|
|
763
764
|
};
|
|
764
765
|
time: string;
|
|
765
766
|
} | {
|
|
766
|
-
type: "
|
|
767
|
+
type: "region-filter-applied";
|
|
767
768
|
data: {
|
|
768
769
|
userId: string;
|
|
769
|
-
|
|
770
|
-
adTitle: string;
|
|
770
|
+
regions: import("../../shared").Region[];
|
|
771
771
|
};
|
|
772
772
|
time: string;
|
|
773
773
|
};
|
|
@@ -49,15 +49,14 @@ export declare const CreatePartialImportedEventDTOSchema: z.ZodObject<{
|
|
|
49
49
|
name: string;
|
|
50
50
|
}>, "many">>;
|
|
51
51
|
}, "strip", z.ZodTypeAny, {
|
|
52
|
-
regions?: import("../../shared").Region[] | undefined;
|
|
53
52
|
category?: import("../../shared").Category | undefined;
|
|
54
53
|
startTime?: string | undefined;
|
|
55
|
-
|
|
54
|
+
regions?: import("../../shared").Region[] | undefined;
|
|
56
55
|
id?: (string & z.BRAND<"EventId">) | undefined;
|
|
57
|
-
link?: string | null | undefined;
|
|
58
56
|
title?: string | undefined;
|
|
59
57
|
adress?: string | undefined;
|
|
60
58
|
capacity?: number | null | undefined;
|
|
59
|
+
createdAt?: string | undefined;
|
|
61
60
|
description?: string | undefined;
|
|
62
61
|
externalSourceId?: string | null | undefined;
|
|
63
62
|
finishTime?: string | null | undefined;
|
|
@@ -73,6 +72,7 @@ export declare const CreatePartialImportedEventDTOSchema: z.ZodObject<{
|
|
|
73
72
|
isOldTimes?: boolean | undefined;
|
|
74
73
|
isPriceRange?: boolean | undefined;
|
|
75
74
|
isPromoted?: boolean | undefined;
|
|
75
|
+
link?: string | null | undefined;
|
|
76
76
|
price?: number | null | undefined;
|
|
77
77
|
secondaryCategory?: import("../../shared").Category | null | undefined;
|
|
78
78
|
thumbnailUrl?: string | null | undefined;
|
|
@@ -83,15 +83,14 @@ export declare const CreatePartialImportedEventDTOSchema: z.ZodObject<{
|
|
|
83
83
|
name: string;
|
|
84
84
|
}[] | undefined;
|
|
85
85
|
}, {
|
|
86
|
-
regions?: import("../../shared").Region[] | undefined;
|
|
87
86
|
category?: import("../../shared").Category | undefined;
|
|
88
87
|
startTime?: string | undefined;
|
|
89
|
-
|
|
88
|
+
regions?: import("../../shared").Region[] | undefined;
|
|
90
89
|
id?: string | undefined;
|
|
91
|
-
link?: string | null | undefined;
|
|
92
90
|
title?: string | undefined;
|
|
93
91
|
adress?: string | undefined;
|
|
94
92
|
capacity?: number | null | undefined;
|
|
93
|
+
createdAt?: string | undefined;
|
|
95
94
|
description?: string | undefined;
|
|
96
95
|
externalSourceId?: string | null | undefined;
|
|
97
96
|
finishTime?: string | null | undefined;
|
|
@@ -107,6 +106,7 @@ export declare const CreatePartialImportedEventDTOSchema: z.ZodObject<{
|
|
|
107
106
|
isOldTimes?: boolean | undefined;
|
|
108
107
|
isPriceRange?: boolean | undefined;
|
|
109
108
|
isPromoted?: boolean | undefined;
|
|
109
|
+
link?: string | null | undefined;
|
|
110
110
|
price?: number | null | undefined;
|
|
111
111
|
secondaryCategory?: import("../../shared").Category | null | undefined;
|
|
112
112
|
thumbnailUrl?: string | null | undefined;
|
|
@@ -125,15 +125,14 @@ export declare const CreatePartialImportedEventDTOSchema: z.ZodObject<{
|
|
|
125
125
|
userId: string;
|
|
126
126
|
organizersNames: string[];
|
|
127
127
|
partialEventState: {
|
|
128
|
-
regions?: import("../../shared").Region[] | undefined;
|
|
129
128
|
category?: import("../../shared").Category | undefined;
|
|
130
129
|
startTime?: string | undefined;
|
|
131
|
-
|
|
130
|
+
regions?: import("../../shared").Region[] | undefined;
|
|
132
131
|
id?: (string & z.BRAND<"EventId">) | undefined;
|
|
133
|
-
link?: string | null | undefined;
|
|
134
132
|
title?: string | undefined;
|
|
135
133
|
adress?: string | undefined;
|
|
136
134
|
capacity?: number | null | undefined;
|
|
135
|
+
createdAt?: string | undefined;
|
|
137
136
|
description?: string | undefined;
|
|
138
137
|
externalSourceId?: string | null | undefined;
|
|
139
138
|
finishTime?: string | null | undefined;
|
|
@@ -149,6 +148,7 @@ export declare const CreatePartialImportedEventDTOSchema: z.ZodObject<{
|
|
|
149
148
|
isOldTimes?: boolean | undefined;
|
|
150
149
|
isPriceRange?: boolean | undefined;
|
|
151
150
|
isPromoted?: boolean | undefined;
|
|
151
|
+
link?: string | null | undefined;
|
|
152
152
|
price?: number | null | undefined;
|
|
153
153
|
secondaryCategory?: import("../../shared").Category | null | undefined;
|
|
154
154
|
thumbnailUrl?: string | null | undefined;
|
|
@@ -165,15 +165,14 @@ export declare const CreatePartialImportedEventDTOSchema: z.ZodObject<{
|
|
|
165
165
|
userId: string;
|
|
166
166
|
organizersNames: string[];
|
|
167
167
|
partialEventState: {
|
|
168
|
-
regions?: import("../../shared").Region[] | undefined;
|
|
169
168
|
category?: import("../../shared").Category | undefined;
|
|
170
169
|
startTime?: string | undefined;
|
|
171
|
-
|
|
170
|
+
regions?: import("../../shared").Region[] | undefined;
|
|
172
171
|
id?: string | undefined;
|
|
173
|
-
link?: string | null | undefined;
|
|
174
172
|
title?: string | undefined;
|
|
175
173
|
adress?: string | undefined;
|
|
176
174
|
capacity?: number | null | undefined;
|
|
175
|
+
createdAt?: string | undefined;
|
|
177
176
|
description?: string | undefined;
|
|
178
177
|
externalSourceId?: string | null | undefined;
|
|
179
178
|
finishTime?: string | null | undefined;
|
|
@@ -189,6 +188,7 @@ export declare const CreatePartialImportedEventDTOSchema: z.ZodObject<{
|
|
|
189
188
|
isOldTimes?: boolean | undefined;
|
|
190
189
|
isPriceRange?: boolean | undefined;
|
|
191
190
|
isPromoted?: boolean | undefined;
|
|
191
|
+
link?: string | null | undefined;
|
|
192
192
|
price?: number | null | undefined;
|
|
193
193
|
secondaryCategory?: import("../../shared").Category | null | undefined;
|
|
194
194
|
thumbnailUrl?: string | null | undefined;
|
package/dist/flavors.d.ts
CHANGED
|
@@ -14,4 +14,7 @@ export declare const createMainAdId: (id?: string) => MainAdId;
|
|
|
14
14
|
export declare const RegionalAdIdSchema: z.ZodBranded<z.ZodString, "RegionalAdId">;
|
|
15
15
|
export type RegionalAdId = z.infer<typeof RegionalAdIdSchema>;
|
|
16
16
|
export declare const createRegionalAdId: (id?: string) => RegionalAdId;
|
|
17
|
+
export declare const ImportReminderIdSchema: z.ZodBranded<z.ZodString, "ImportReminderId">;
|
|
18
|
+
export type ImportReminderId = z.infer<typeof ImportReminderIdSchema>;
|
|
19
|
+
export declare const createImportReminderId: (id?: string) => ImportReminderId;
|
|
17
20
|
//# sourceMappingURL=flavors.d.ts.map
|
package/dist/flavors.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"flavors.d.ts","sourceRoot":"","sources":["../src/flavors.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,eAAO,MAAM,aAAa,sCAA8B,CAAC;AACzD,MAAM,MAAM,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;AAEpD,eAAO,MAAM,aAAa,QAAQ,MAAM,KAAyB,OAAkC,CAAC;AAEpG,eAAO,MAAM,iBAAiB,0CAAkC,CAAC;AACjE,MAAM,MAAM,WAAW,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iBAAiB,CAAC,CAAC;AAE5D,eAAO,MAAM,iBAAiB,QAAQ,MAAM,KAAyB,WAA0C,CAAC;AAEhH,eAAO,MAAM,YAAY,qCAA6B,CAAC;AACvD,MAAM,MAAM,MAAM,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,YAAY,CAAC,CAAC;AAElD,eAAO,MAAM,YAAY,QAAQ,MAAM,KAAyB,MAAgC,CAAC;AAEjG,eAAO,MAAM,cAAc,uCAA+B,CAAC;AAC3D,MAAM,MAAM,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;AAEtD,eAAO,MAAM,cAAc,QAAQ,MAAM,KAAyB,QAAoC,CAAC;AAEvG,eAAO,MAAM,kBAAkB,2CAAmC,CAAC;AACnE,MAAM,MAAM,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAC;AAE9D,eAAO,MAAM,kBAAkB,QAAQ,MAAM,KAAyB,YAA4C,CAAC"}
|
|
1
|
+
{"version":3,"file":"flavors.d.ts","sourceRoot":"","sources":["../src/flavors.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,eAAO,MAAM,aAAa,sCAA8B,CAAC;AACzD,MAAM,MAAM,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;AAEpD,eAAO,MAAM,aAAa,QAAQ,MAAM,KAAyB,OAAkC,CAAC;AAEpG,eAAO,MAAM,iBAAiB,0CAAkC,CAAC;AACjE,MAAM,MAAM,WAAW,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iBAAiB,CAAC,CAAC;AAE5D,eAAO,MAAM,iBAAiB,QAAQ,MAAM,KAAyB,WAA0C,CAAC;AAEhH,eAAO,MAAM,YAAY,qCAA6B,CAAC;AACvD,MAAM,MAAM,MAAM,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,YAAY,CAAC,CAAC;AAElD,eAAO,MAAM,YAAY,QAAQ,MAAM,KAAyB,MAAgC,CAAC;AAEjG,eAAO,MAAM,cAAc,uCAA+B,CAAC;AAC3D,MAAM,MAAM,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;AAEtD,eAAO,MAAM,cAAc,QAAQ,MAAM,KAAyB,QAAoC,CAAC;AAEvG,eAAO,MAAM,kBAAkB,2CAAmC,CAAC;AACnE,MAAM,MAAM,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAC;AAE9D,eAAO,MAAM,kBAAkB,QAAQ,MAAM,KAAyB,YAA4C,CAAC;AAEnH,eAAO,MAAM,sBAAsB,+CAAuC,CAAC;AAC3E,MAAM,MAAM,gBAAgB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,sBAAsB,CAAC,CAAC;AAEtE,eAAO,MAAM,sBAAsB,QAAQ,MAAM,KAAyB,gBAAoD,CAAC"}
|