@sortipei/api-contracts 0.1.39 → 0.1.41
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 +12 -0
- package/dist/V1/api/ad.d.ts.map +1 -1
- package/dist/V1/api/event.d.ts +93 -79
- package/dist/V1/api/event.d.ts.map +1 -1
- package/dist/V1/api/statistics.d.ts +14 -14
- package/dist/V1/external/partial-imported-event.d.ts +41 -36
- package/dist/V1/external/partial-imported-event.d.ts.map +1 -1
- package/dist/api-contracts.js +25 -8
- package/dist/api-contracts.mjs +25 -8
- package/dist/shared/stats.d.ts +20 -20
- package/package.json +1 -1
package/dist/V1/api/ad.d.ts
CHANGED
|
@@ -7,6 +7,7 @@ export declare const MainAdDTOSchema: z.ZodObject<{
|
|
|
7
7
|
isEnabled: z.ZodBoolean;
|
|
8
8
|
link: z.ZodNullable<z.ZodString>;
|
|
9
9
|
startTime: z.ZodString;
|
|
10
|
+
title: z.ZodString;
|
|
10
11
|
}, "strip", z.ZodTypeAny, {
|
|
11
12
|
startTime: string;
|
|
12
13
|
endTime: string;
|
|
@@ -15,6 +16,7 @@ export declare const MainAdDTOSchema: z.ZodObject<{
|
|
|
15
16
|
imageUrl: string;
|
|
16
17
|
isEnabled: boolean;
|
|
17
18
|
link: string | null;
|
|
19
|
+
title: string;
|
|
18
20
|
}, {
|
|
19
21
|
startTime: string;
|
|
20
22
|
endTime: string;
|
|
@@ -23,6 +25,7 @@ export declare const MainAdDTOSchema: z.ZodObject<{
|
|
|
23
25
|
imageUrl: string;
|
|
24
26
|
isEnabled: boolean;
|
|
25
27
|
link: string | null;
|
|
28
|
+
title: string;
|
|
26
29
|
}>;
|
|
27
30
|
export declare const UpdateMainAdDTOSchema: z.ZodObject<Omit<{
|
|
28
31
|
createdAt: z.ZodString;
|
|
@@ -32,18 +35,21 @@ export declare const UpdateMainAdDTOSchema: z.ZodObject<Omit<{
|
|
|
32
35
|
isEnabled: z.ZodBoolean;
|
|
33
36
|
link: z.ZodNullable<z.ZodString>;
|
|
34
37
|
startTime: z.ZodString;
|
|
38
|
+
title: z.ZodString;
|
|
35
39
|
}, "createdAt" | "id">, "strip", z.ZodTypeAny, {
|
|
36
40
|
startTime: string;
|
|
37
41
|
endTime: string;
|
|
38
42
|
imageUrl: string;
|
|
39
43
|
isEnabled: boolean;
|
|
40
44
|
link: string | null;
|
|
45
|
+
title: string;
|
|
41
46
|
}, {
|
|
42
47
|
startTime: string;
|
|
43
48
|
endTime: string;
|
|
44
49
|
imageUrl: string;
|
|
45
50
|
isEnabled: boolean;
|
|
46
51
|
link: string | null;
|
|
52
|
+
title: string;
|
|
47
53
|
}>;
|
|
48
54
|
export declare const RegionalAdDTOSchema: z.ZodObject<{
|
|
49
55
|
createdAt: z.ZodString;
|
|
@@ -54,6 +60,7 @@ export declare const RegionalAdDTOSchema: z.ZodObject<{
|
|
|
54
60
|
link: z.ZodNullable<z.ZodString>;
|
|
55
61
|
regions: z.ZodArray<z.ZodNativeEnum<typeof import('../../shared').Region>, "many">;
|
|
56
62
|
startTime: z.ZodString;
|
|
63
|
+
title: z.ZodString;
|
|
57
64
|
}, "strip", z.ZodTypeAny, {
|
|
58
65
|
regions: import('../../shared').Region[];
|
|
59
66
|
startTime: string;
|
|
@@ -63,6 +70,7 @@ export declare const RegionalAdDTOSchema: z.ZodObject<{
|
|
|
63
70
|
imageUrl: string;
|
|
64
71
|
isEnabled: boolean;
|
|
65
72
|
link: string | null;
|
|
73
|
+
title: string;
|
|
66
74
|
}, {
|
|
67
75
|
regions: import('../../shared').Region[];
|
|
68
76
|
startTime: string;
|
|
@@ -72,6 +80,7 @@ export declare const RegionalAdDTOSchema: z.ZodObject<{
|
|
|
72
80
|
imageUrl: string;
|
|
73
81
|
isEnabled: boolean;
|
|
74
82
|
link: string | null;
|
|
83
|
+
title: string;
|
|
75
84
|
}>;
|
|
76
85
|
export declare const UpdateRegionalAdDTOSchema: z.ZodObject<Omit<{
|
|
77
86
|
createdAt: z.ZodString;
|
|
@@ -82,6 +91,7 @@ export declare const UpdateRegionalAdDTOSchema: z.ZodObject<Omit<{
|
|
|
82
91
|
link: z.ZodNullable<z.ZodString>;
|
|
83
92
|
regions: z.ZodArray<z.ZodNativeEnum<typeof import('../../shared').Region>, "many">;
|
|
84
93
|
startTime: z.ZodString;
|
|
94
|
+
title: z.ZodString;
|
|
85
95
|
}, "createdAt" | "id">, "strip", z.ZodTypeAny, {
|
|
86
96
|
regions: import('../../shared').Region[];
|
|
87
97
|
startTime: string;
|
|
@@ -89,6 +99,7 @@ export declare const UpdateRegionalAdDTOSchema: z.ZodObject<Omit<{
|
|
|
89
99
|
imageUrl: string;
|
|
90
100
|
isEnabled: boolean;
|
|
91
101
|
link: string | null;
|
|
102
|
+
title: string;
|
|
92
103
|
}, {
|
|
93
104
|
regions: import('../../shared').Region[];
|
|
94
105
|
startTime: string;
|
|
@@ -96,6 +107,7 @@ export declare const UpdateRegionalAdDTOSchema: z.ZodObject<Omit<{
|
|
|
96
107
|
imageUrl: string;
|
|
97
108
|
isEnabled: boolean;
|
|
98
109
|
link: string | null;
|
|
110
|
+
title: string;
|
|
99
111
|
}>;
|
|
100
112
|
export type MainAdDTO = z.infer<typeof MainAdDTOSchema>;
|
|
101
113
|
export type UpdateMainAdDTO = z.infer<typeof UpdateMainAdDTOSchema>;
|
package/dist/V1/api/ad.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ad.d.ts","sourceRoot":"","sources":["../../../src/V1/api/ad.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,eAAO,MAAM,eAAe
|
|
1
|
+
{"version":3,"file":"ad.d.ts","sourceRoot":"","sources":["../../../src/V1/api/ad.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;EAS1B,CAAC;AAEH,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;EAGhC,CAAC;AAEH,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAU9B,CAAC;AAEH,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;EAGpC,CAAC;AAEH,MAAM,MAAM,SAAS,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,eAAe,CAAC,CAAC;AACxD,MAAM,MAAM,eAAe,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,qBAAqB,CAAC,CAAC;AACpE,MAAM,MAAM,aAAa,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mBAAmB,CAAC,CAAC;AAChE,MAAM,MAAM,mBAAmB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,yBAAyB,CAAC,CAAC"}
|
package/dist/V1/api/event.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ import { z } from 'zod';
|
|
|
2
2
|
export declare const EventDTOSchema: z.ZodObject<{
|
|
3
3
|
adress: z.ZodString;
|
|
4
4
|
capacity: z.ZodNullable<z.ZodNumber>;
|
|
5
|
-
category: z.ZodNativeEnum<typeof import(
|
|
5
|
+
category: z.ZodNativeEnum<typeof import('../../shared').Category>;
|
|
6
6
|
createdAt: z.ZodString;
|
|
7
7
|
description: z.ZodString;
|
|
8
8
|
externalSourceId: z.ZodNullable<z.ZodString>;
|
|
@@ -18,36 +18,39 @@ export declare const EventDTOSchema: z.ZodObject<{
|
|
|
18
18
|
isPromoted: z.ZodBoolean;
|
|
19
19
|
link: z.ZodNullable<z.ZodString>;
|
|
20
20
|
price: z.ZodNullable<z.ZodNumber>;
|
|
21
|
-
regions: z.ZodArray<z.ZodNativeEnum<typeof import(
|
|
21
|
+
regions: z.ZodArray<z.ZodNativeEnum<typeof import('../../shared').Region>, "many">;
|
|
22
|
+
secondaryCategory: z.ZodNullable<z.ZodNativeEnum<typeof import('../../shared').Category>>;
|
|
22
23
|
startTime: z.ZodString;
|
|
23
|
-
title: z.ZodString;
|
|
24
24
|
thumbnailUrl: z.ZodNullable<z.ZodString>;
|
|
25
25
|
ticketsUrl: z.ZodNullable<z.ZodString>;
|
|
26
|
+
title: z.ZodString;
|
|
26
27
|
organizers: z.ZodArray<z.ZodObject<{
|
|
27
28
|
id: z.ZodBranded<z.ZodString, "OrganizerId">;
|
|
28
29
|
name: z.ZodString;
|
|
29
30
|
imageUrl: z.ZodNullable<z.ZodString>;
|
|
30
31
|
}, "strip", z.ZodTypeAny, {
|
|
31
32
|
id: string & z.BRAND<"OrganizerId">;
|
|
32
|
-
name: string;
|
|
33
33
|
imageUrl: string | null;
|
|
34
|
+
name: string;
|
|
34
35
|
}, {
|
|
35
36
|
id: string;
|
|
36
|
-
name: string;
|
|
37
37
|
imageUrl: string | null;
|
|
38
|
+
name: string;
|
|
38
39
|
}>, "many">;
|
|
39
40
|
}, "strip", z.ZodTypeAny, {
|
|
40
|
-
regions: import(
|
|
41
|
-
category: import(
|
|
41
|
+
regions: import('../../shared').Region[];
|
|
42
|
+
category: import('../../shared').Category;
|
|
42
43
|
startTime: string;
|
|
44
|
+
createdAt: string;
|
|
45
|
+
id: string & z.BRAND<"EventId">;
|
|
46
|
+
link: string | null;
|
|
47
|
+
title: string;
|
|
43
48
|
adress: string;
|
|
44
49
|
capacity: number | null;
|
|
45
|
-
createdAt: string;
|
|
46
50
|
description: string;
|
|
47
51
|
externalSourceId: string | null;
|
|
48
52
|
finishTime: string | null;
|
|
49
53
|
hasHandicapAccess: boolean | null;
|
|
50
|
-
id: string & z.BRAND<"EventId">;
|
|
51
54
|
imageBlurHashes: string[];
|
|
52
55
|
imageUrls: string[];
|
|
53
56
|
isDisplayed: boolean;
|
|
@@ -55,28 +58,29 @@ export declare const EventDTOSchema: z.ZodObject<{
|
|
|
55
58
|
isOldTimes: boolean;
|
|
56
59
|
isPriceRange: boolean;
|
|
57
60
|
isPromoted: boolean;
|
|
58
|
-
link: string | null;
|
|
59
61
|
price: number | null;
|
|
60
|
-
|
|
62
|
+
secondaryCategory: import('../../shared').Category | null;
|
|
61
63
|
thumbnailUrl: string | null;
|
|
62
64
|
ticketsUrl: string | null;
|
|
63
65
|
organizers: {
|
|
64
66
|
id: string & z.BRAND<"OrganizerId">;
|
|
65
|
-
name: string;
|
|
66
67
|
imageUrl: string | null;
|
|
68
|
+
name: string;
|
|
67
69
|
}[];
|
|
68
70
|
}, {
|
|
69
|
-
regions: import(
|
|
70
|
-
category: import(
|
|
71
|
+
regions: import('../../shared').Region[];
|
|
72
|
+
category: import('../../shared').Category;
|
|
71
73
|
startTime: string;
|
|
74
|
+
createdAt: string;
|
|
75
|
+
id: string;
|
|
76
|
+
link: string | null;
|
|
77
|
+
title: string;
|
|
72
78
|
adress: string;
|
|
73
79
|
capacity: number | null;
|
|
74
|
-
createdAt: string;
|
|
75
80
|
description: string;
|
|
76
81
|
externalSourceId: string | null;
|
|
77
82
|
finishTime: string | null;
|
|
78
83
|
hasHandicapAccess: boolean | null;
|
|
79
|
-
id: string;
|
|
80
84
|
imageBlurHashes: string[];
|
|
81
85
|
imageUrls: string[];
|
|
82
86
|
isDisplayed: boolean;
|
|
@@ -84,21 +88,20 @@ export declare const EventDTOSchema: z.ZodObject<{
|
|
|
84
88
|
isOldTimes: boolean;
|
|
85
89
|
isPriceRange: boolean;
|
|
86
90
|
isPromoted: boolean;
|
|
87
|
-
link: string | null;
|
|
88
91
|
price: number | null;
|
|
89
|
-
|
|
92
|
+
secondaryCategory: import('../../shared').Category | null;
|
|
90
93
|
thumbnailUrl: string | null;
|
|
91
94
|
ticketsUrl: string | null;
|
|
92
95
|
organizers: {
|
|
93
96
|
id: string;
|
|
94
|
-
name: string;
|
|
95
97
|
imageUrl: string | null;
|
|
98
|
+
name: string;
|
|
96
99
|
}[];
|
|
97
100
|
}>;
|
|
98
101
|
export declare const CreateEventDTOSchema: z.ZodObject<{
|
|
99
102
|
adress: z.ZodString;
|
|
100
103
|
capacity: z.ZodNullable<z.ZodNumber>;
|
|
101
|
-
category: z.ZodNativeEnum<typeof import(
|
|
104
|
+
category: z.ZodNativeEnum<typeof import('../../shared').Category>;
|
|
102
105
|
description: z.ZodString;
|
|
103
106
|
externalSourceId: z.ZodNullable<z.ZodString>;
|
|
104
107
|
finishTime: z.ZodNullable<z.ZodString>;
|
|
@@ -113,54 +116,57 @@ export declare const CreateEventDTOSchema: z.ZodObject<{
|
|
|
113
116
|
link: z.ZodNullable<z.ZodString>;
|
|
114
117
|
organizersIds: z.ZodArray<z.ZodBranded<z.ZodString, "OrganizerId">, "many">;
|
|
115
118
|
price: z.ZodNullable<z.ZodNumber>;
|
|
116
|
-
regions: z.ZodArray<z.ZodNativeEnum<typeof import(
|
|
119
|
+
regions: z.ZodArray<z.ZodNativeEnum<typeof import('../../shared').Region>, "many">;
|
|
120
|
+
secondaryCategory: z.ZodNullable<z.ZodNativeEnum<typeof import('../../shared').Category>>;
|
|
117
121
|
startTime: z.ZodString;
|
|
118
|
-
title: z.ZodString;
|
|
119
122
|
thumbnailUrl: z.ZodNullable<z.ZodString>;
|
|
123
|
+
title: z.ZodString;
|
|
120
124
|
ticketsUrl: z.ZodNullable<z.ZodString>;
|
|
121
125
|
}, "strip", z.ZodTypeAny, {
|
|
122
|
-
regions: import(
|
|
123
|
-
category: import(
|
|
126
|
+
regions: import('../../shared').Region[];
|
|
127
|
+
category: import('../../shared').Category;
|
|
124
128
|
startTime: string;
|
|
129
|
+
id: string & z.BRAND<"EventId">;
|
|
130
|
+
link: string | null;
|
|
131
|
+
title: string;
|
|
125
132
|
adress: string;
|
|
126
133
|
capacity: number | null;
|
|
127
134
|
description: string;
|
|
128
135
|
externalSourceId: string | null;
|
|
129
136
|
finishTime: string | null;
|
|
130
137
|
hasHandicapAccess: boolean | null;
|
|
131
|
-
id: string & z.BRAND<"EventId">;
|
|
132
138
|
imageBlurHashes: string[];
|
|
133
139
|
imageUrls: string[];
|
|
134
140
|
isDisplayed: boolean;
|
|
135
141
|
isExhibition: boolean;
|
|
136
142
|
isOldTimes: boolean;
|
|
137
143
|
isPriceRange: boolean;
|
|
138
|
-
link: string | null;
|
|
139
144
|
price: number | null;
|
|
140
|
-
|
|
145
|
+
secondaryCategory: import('../../shared').Category | null;
|
|
141
146
|
thumbnailUrl: string | null;
|
|
142
147
|
ticketsUrl: string | null;
|
|
143
148
|
organizersIds: (string & z.BRAND<"OrganizerId">)[];
|
|
144
149
|
}, {
|
|
145
|
-
regions: import(
|
|
146
|
-
category: import(
|
|
150
|
+
regions: import('../../shared').Region[];
|
|
151
|
+
category: import('../../shared').Category;
|
|
147
152
|
startTime: string;
|
|
153
|
+
id: string;
|
|
154
|
+
link: string | null;
|
|
155
|
+
title: string;
|
|
148
156
|
adress: string;
|
|
149
157
|
capacity: number | null;
|
|
150
158
|
description: string;
|
|
151
159
|
externalSourceId: string | null;
|
|
152
160
|
finishTime: string | null;
|
|
153
161
|
hasHandicapAccess: boolean | null;
|
|
154
|
-
id: string;
|
|
155
162
|
imageBlurHashes: string[];
|
|
156
163
|
imageUrls: string[];
|
|
157
164
|
isDisplayed: boolean;
|
|
158
165
|
isExhibition: boolean;
|
|
159
166
|
isOldTimes: boolean;
|
|
160
167
|
isPriceRange: boolean;
|
|
161
|
-
link: string | null;
|
|
162
168
|
price: number | null;
|
|
163
|
-
|
|
169
|
+
secondaryCategory: import('../../shared').Category | null;
|
|
164
170
|
thumbnailUrl: string | null;
|
|
165
171
|
ticketsUrl: string | null;
|
|
166
172
|
organizersIds: string[];
|
|
@@ -168,7 +174,7 @@ export declare const CreateEventDTOSchema: z.ZodObject<{
|
|
|
168
174
|
export declare const UpdateEventDTOSchema: z.ZodObject<Omit<{
|
|
169
175
|
adress: z.ZodString;
|
|
170
176
|
capacity: z.ZodNullable<z.ZodNumber>;
|
|
171
|
-
category: z.ZodNativeEnum<typeof import(
|
|
177
|
+
category: z.ZodNativeEnum<typeof import('../../shared').Category>;
|
|
172
178
|
description: z.ZodString;
|
|
173
179
|
externalSourceId: z.ZodNullable<z.ZodString>;
|
|
174
180
|
finishTime: z.ZodNullable<z.ZodString>;
|
|
@@ -183,15 +189,18 @@ export declare const UpdateEventDTOSchema: z.ZodObject<Omit<{
|
|
|
183
189
|
link: z.ZodNullable<z.ZodString>;
|
|
184
190
|
organizersIds: z.ZodArray<z.ZodBranded<z.ZodString, "OrganizerId">, "many">;
|
|
185
191
|
price: z.ZodNullable<z.ZodNumber>;
|
|
186
|
-
regions: z.ZodArray<z.ZodNativeEnum<typeof import(
|
|
192
|
+
regions: z.ZodArray<z.ZodNativeEnum<typeof import('../../shared').Region>, "many">;
|
|
193
|
+
secondaryCategory: z.ZodNullable<z.ZodNativeEnum<typeof import('../../shared').Category>>;
|
|
187
194
|
startTime: z.ZodString;
|
|
188
|
-
title: z.ZodString;
|
|
189
195
|
thumbnailUrl: z.ZodNullable<z.ZodString>;
|
|
196
|
+
title: z.ZodString;
|
|
190
197
|
ticketsUrl: z.ZodNullable<z.ZodString>;
|
|
191
198
|
}, "id">, "strip", z.ZodTypeAny, {
|
|
192
|
-
regions: import(
|
|
193
|
-
category: import(
|
|
199
|
+
regions: import('../../shared').Region[];
|
|
200
|
+
category: import('../../shared').Category;
|
|
194
201
|
startTime: string;
|
|
202
|
+
link: string | null;
|
|
203
|
+
title: string;
|
|
195
204
|
adress: string;
|
|
196
205
|
capacity: number | null;
|
|
197
206
|
description: string;
|
|
@@ -204,16 +213,17 @@ export declare const UpdateEventDTOSchema: z.ZodObject<Omit<{
|
|
|
204
213
|
isExhibition: boolean;
|
|
205
214
|
isOldTimes: boolean;
|
|
206
215
|
isPriceRange: boolean;
|
|
207
|
-
link: string | null;
|
|
208
216
|
price: number | null;
|
|
209
|
-
|
|
217
|
+
secondaryCategory: import('../../shared').Category | null;
|
|
210
218
|
thumbnailUrl: string | null;
|
|
211
219
|
ticketsUrl: string | null;
|
|
212
220
|
organizersIds: (string & z.BRAND<"OrganizerId">)[];
|
|
213
221
|
}, {
|
|
214
|
-
regions: import(
|
|
215
|
-
category: import(
|
|
222
|
+
regions: import('../../shared').Region[];
|
|
223
|
+
category: import('../../shared').Category;
|
|
216
224
|
startTime: string;
|
|
225
|
+
link: string | null;
|
|
226
|
+
title: string;
|
|
217
227
|
adress: string;
|
|
218
228
|
capacity: number | null;
|
|
219
229
|
description: string;
|
|
@@ -226,9 +236,8 @@ export declare const UpdateEventDTOSchema: z.ZodObject<Omit<{
|
|
|
226
236
|
isExhibition: boolean;
|
|
227
237
|
isOldTimes: boolean;
|
|
228
238
|
isPriceRange: boolean;
|
|
229
|
-
link: string | null;
|
|
230
239
|
price: number | null;
|
|
231
|
-
|
|
240
|
+
secondaryCategory: import('../../shared').Category | null;
|
|
232
241
|
thumbnailUrl: string | null;
|
|
233
242
|
ticketsUrl: string | null;
|
|
234
243
|
organizersIds: string[];
|
|
@@ -273,7 +282,7 @@ export declare const ImportDTOSchema: z.ZodObject<{
|
|
|
273
282
|
partialEventState: z.ZodObject<{
|
|
274
283
|
adress: z.ZodOptional<z.ZodString>;
|
|
275
284
|
capacity: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
276
|
-
category: z.ZodOptional<z.ZodNativeEnum<typeof import(
|
|
285
|
+
category: z.ZodOptional<z.ZodNativeEnum<typeof import('../../shared').Category>>;
|
|
277
286
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
278
287
|
description: z.ZodOptional<z.ZodString>;
|
|
279
288
|
externalSourceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -289,36 +298,39 @@ export declare const ImportDTOSchema: z.ZodObject<{
|
|
|
289
298
|
isPromoted: z.ZodOptional<z.ZodBoolean>;
|
|
290
299
|
link: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
291
300
|
price: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
292
|
-
regions: z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof import(
|
|
301
|
+
regions: z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof import('../../shared').Region>, "many">>;
|
|
302
|
+
secondaryCategory: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof import('../../shared').Category>>>;
|
|
293
303
|
startTime: z.ZodOptional<z.ZodString>;
|
|
294
|
-
title: z.ZodOptional<z.ZodString>;
|
|
295
304
|
thumbnailUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
296
305
|
ticketsUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
306
|
+
title: z.ZodOptional<z.ZodString>;
|
|
297
307
|
organizers: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
298
308
|
id: z.ZodBranded<z.ZodString, "OrganizerId">;
|
|
299
309
|
name: z.ZodString;
|
|
300
310
|
imageUrl: z.ZodNullable<z.ZodString>;
|
|
301
311
|
}, "strip", z.ZodTypeAny, {
|
|
302
312
|
id: string & z.BRAND<"OrganizerId">;
|
|
303
|
-
name: string;
|
|
304
313
|
imageUrl: string | null;
|
|
314
|
+
name: string;
|
|
305
315
|
}, {
|
|
306
316
|
id: string;
|
|
307
|
-
name: string;
|
|
308
317
|
imageUrl: string | null;
|
|
318
|
+
name: string;
|
|
309
319
|
}>, "many">>;
|
|
310
320
|
}, "strip", z.ZodTypeAny, {
|
|
311
|
-
regions?: import(
|
|
312
|
-
category?: import(
|
|
321
|
+
regions?: import('../../shared').Region[] | undefined;
|
|
322
|
+
category?: import('../../shared').Category | undefined;
|
|
313
323
|
startTime?: string | undefined;
|
|
324
|
+
createdAt?: string | undefined;
|
|
325
|
+
id?: (string & z.BRAND<"EventId">) | undefined;
|
|
326
|
+
link?: string | null | undefined;
|
|
327
|
+
title?: string | undefined;
|
|
314
328
|
adress?: string | undefined;
|
|
315
329
|
capacity?: number | null | undefined;
|
|
316
|
-
createdAt?: string | undefined;
|
|
317
330
|
description?: string | undefined;
|
|
318
331
|
externalSourceId?: string | null | undefined;
|
|
319
332
|
finishTime?: string | null | undefined;
|
|
320
333
|
hasHandicapAccess?: boolean | null | undefined;
|
|
321
|
-
id?: (string & z.BRAND<"EventId">) | undefined;
|
|
322
334
|
imageBlurHashes?: string[] | undefined;
|
|
323
335
|
imageUrls?: string[] | undefined;
|
|
324
336
|
isDisplayed?: boolean | undefined;
|
|
@@ -326,28 +338,29 @@ export declare const ImportDTOSchema: z.ZodObject<{
|
|
|
326
338
|
isOldTimes?: boolean | undefined;
|
|
327
339
|
isPriceRange?: boolean | undefined;
|
|
328
340
|
isPromoted?: boolean | undefined;
|
|
329
|
-
link?: string | null | undefined;
|
|
330
341
|
price?: number | null | undefined;
|
|
331
|
-
|
|
342
|
+
secondaryCategory?: import('../../shared').Category | null | undefined;
|
|
332
343
|
thumbnailUrl?: string | null | undefined;
|
|
333
344
|
ticketsUrl?: string | null | undefined;
|
|
334
345
|
organizers?: {
|
|
335
346
|
id: string & z.BRAND<"OrganizerId">;
|
|
336
|
-
name: string;
|
|
337
347
|
imageUrl: string | null;
|
|
348
|
+
name: string;
|
|
338
349
|
}[] | undefined;
|
|
339
350
|
}, {
|
|
340
|
-
regions?: import(
|
|
341
|
-
category?: import(
|
|
351
|
+
regions?: import('../../shared').Region[] | undefined;
|
|
352
|
+
category?: import('../../shared').Category | undefined;
|
|
342
353
|
startTime?: string | undefined;
|
|
354
|
+
createdAt?: string | undefined;
|
|
355
|
+
id?: string | undefined;
|
|
356
|
+
link?: string | null | undefined;
|
|
357
|
+
title?: string | undefined;
|
|
343
358
|
adress?: string | undefined;
|
|
344
359
|
capacity?: number | null | undefined;
|
|
345
|
-
createdAt?: string | undefined;
|
|
346
360
|
description?: string | undefined;
|
|
347
361
|
externalSourceId?: string | null | undefined;
|
|
348
362
|
finishTime?: string | null | undefined;
|
|
349
363
|
hasHandicapAccess?: boolean | null | undefined;
|
|
350
|
-
id?: string | undefined;
|
|
351
364
|
imageBlurHashes?: string[] | undefined;
|
|
352
365
|
imageUrls?: string[] | undefined;
|
|
353
366
|
isDisplayed?: boolean | undefined;
|
|
@@ -355,18 +368,17 @@ export declare const ImportDTOSchema: z.ZodObject<{
|
|
|
355
368
|
isOldTimes?: boolean | undefined;
|
|
356
369
|
isPriceRange?: boolean | undefined;
|
|
357
370
|
isPromoted?: boolean | undefined;
|
|
358
|
-
link?: string | null | undefined;
|
|
359
371
|
price?: number | null | undefined;
|
|
360
|
-
|
|
372
|
+
secondaryCategory?: import('../../shared').Category | null | undefined;
|
|
361
373
|
thumbnailUrl?: string | null | undefined;
|
|
362
374
|
ticketsUrl?: string | null | undefined;
|
|
363
375
|
organizers?: {
|
|
364
376
|
id: string;
|
|
365
|
-
name: string;
|
|
366
377
|
imageUrl: string | null;
|
|
378
|
+
name: string;
|
|
367
379
|
}[] | undefined;
|
|
368
380
|
}>;
|
|
369
|
-
source: z.
|
|
381
|
+
source: z.ZodString;
|
|
370
382
|
userId: z.ZodString;
|
|
371
383
|
}, "strip", z.ZodTypeAny, {
|
|
372
384
|
userId: string;
|
|
@@ -374,17 +386,19 @@ export declare const ImportDTOSchema: z.ZodObject<{
|
|
|
374
386
|
id: string;
|
|
375
387
|
organizersNames: string[];
|
|
376
388
|
partialEventState: {
|
|
377
|
-
regions?: import(
|
|
378
|
-
category?: import(
|
|
389
|
+
regions?: import('../../shared').Region[] | undefined;
|
|
390
|
+
category?: import('../../shared').Category | undefined;
|
|
379
391
|
startTime?: string | undefined;
|
|
392
|
+
createdAt?: string | undefined;
|
|
393
|
+
id?: (string & z.BRAND<"EventId">) | undefined;
|
|
394
|
+
link?: string | null | undefined;
|
|
395
|
+
title?: string | undefined;
|
|
380
396
|
adress?: string | undefined;
|
|
381
397
|
capacity?: number | null | undefined;
|
|
382
|
-
createdAt?: string | undefined;
|
|
383
398
|
description?: string | undefined;
|
|
384
399
|
externalSourceId?: string | null | undefined;
|
|
385
400
|
finishTime?: string | null | undefined;
|
|
386
401
|
hasHandicapAccess?: boolean | null | undefined;
|
|
387
|
-
id?: (string & z.BRAND<"EventId">) | undefined;
|
|
388
402
|
imageBlurHashes?: string[] | undefined;
|
|
389
403
|
imageUrls?: string[] | undefined;
|
|
390
404
|
isDisplayed?: boolean | undefined;
|
|
@@ -392,35 +406,36 @@ export declare const ImportDTOSchema: z.ZodObject<{
|
|
|
392
406
|
isOldTimes?: boolean | undefined;
|
|
393
407
|
isPriceRange?: boolean | undefined;
|
|
394
408
|
isPromoted?: boolean | undefined;
|
|
395
|
-
link?: string | null | undefined;
|
|
396
409
|
price?: number | null | undefined;
|
|
397
|
-
|
|
410
|
+
secondaryCategory?: import('../../shared').Category | null | undefined;
|
|
398
411
|
thumbnailUrl?: string | null | undefined;
|
|
399
412
|
ticketsUrl?: string | null | undefined;
|
|
400
413
|
organizers?: {
|
|
401
414
|
id: string & z.BRAND<"OrganizerId">;
|
|
402
|
-
name: string;
|
|
403
415
|
imageUrl: string | null;
|
|
416
|
+
name: string;
|
|
404
417
|
}[] | undefined;
|
|
405
418
|
};
|
|
406
|
-
source:
|
|
419
|
+
source: string;
|
|
407
420
|
}, {
|
|
408
421
|
userId: string;
|
|
409
422
|
createdAt: string;
|
|
410
423
|
id: string;
|
|
411
424
|
organizersNames: string[];
|
|
412
425
|
partialEventState: {
|
|
413
|
-
regions?: import(
|
|
414
|
-
category?: import(
|
|
426
|
+
regions?: import('../../shared').Region[] | undefined;
|
|
427
|
+
category?: import('../../shared').Category | undefined;
|
|
415
428
|
startTime?: string | undefined;
|
|
429
|
+
createdAt?: string | undefined;
|
|
430
|
+
id?: string | undefined;
|
|
431
|
+
link?: string | null | undefined;
|
|
432
|
+
title?: string | undefined;
|
|
416
433
|
adress?: string | undefined;
|
|
417
434
|
capacity?: number | null | undefined;
|
|
418
|
-
createdAt?: string | undefined;
|
|
419
435
|
description?: string | undefined;
|
|
420
436
|
externalSourceId?: string | null | undefined;
|
|
421
437
|
finishTime?: string | null | undefined;
|
|
422
438
|
hasHandicapAccess?: boolean | null | undefined;
|
|
423
|
-
id?: string | undefined;
|
|
424
439
|
imageBlurHashes?: string[] | undefined;
|
|
425
440
|
imageUrls?: string[] | undefined;
|
|
426
441
|
isDisplayed?: boolean | undefined;
|
|
@@ -428,18 +443,17 @@ export declare const ImportDTOSchema: z.ZodObject<{
|
|
|
428
443
|
isOldTimes?: boolean | undefined;
|
|
429
444
|
isPriceRange?: boolean | undefined;
|
|
430
445
|
isPromoted?: boolean | undefined;
|
|
431
|
-
link?: string | null | undefined;
|
|
432
446
|
price?: number | null | undefined;
|
|
433
|
-
|
|
447
|
+
secondaryCategory?: import('../../shared').Category | null | undefined;
|
|
434
448
|
thumbnailUrl?: string | null | undefined;
|
|
435
449
|
ticketsUrl?: string | null | undefined;
|
|
436
450
|
organizers?: {
|
|
437
451
|
id: string;
|
|
438
|
-
name: string;
|
|
439
452
|
imageUrl: string | null;
|
|
453
|
+
name: string;
|
|
440
454
|
}[] | undefined;
|
|
441
455
|
};
|
|
442
|
-
source:
|
|
456
|
+
source: string;
|
|
443
457
|
}>;
|
|
444
458
|
export type ImportDTO = z.infer<typeof ImportDTOSchema>;
|
|
445
459
|
export declare const EventFileUploadDTOSchema: z.ZodObject<{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"event.d.ts","sourceRoot":"","sources":["../../../src/V1/api/event.ts"],"names":[],"mappings":"AASA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,eAAO,MAAM,cAAc
|
|
1
|
+
{"version":3,"file":"event.d.ts","sourceRoot":"","sources":["../../../src/V1/api/event.ts"],"names":[],"mappings":"AASA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAkCzB,CAAC;AAEH,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAwB/B,CAAC;AAEH,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAE/B,CAAC;AAEH,eAAO,MAAM,qBAAqB;;;;;;EAEhC,CAAC;AAEH,eAAO,MAAM,qBAAqB;;;;;;EAEhC,CAAC;AAEH,MAAM,MAAM,cAAc,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,CAAC;AAClE,MAAM,MAAM,cAAc,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,CAAC;AAClE,MAAM,MAAM,eAAe,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,qBAAqB,CAAC,CAAC;AACpE,MAAM,MAAM,eAAe,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,qBAAqB,CAAC,CAAC;AAEpE,MAAM,MAAM,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;AAEtD,eAAO,MAAM,WAAW;;;;;;;;;;;;;CAavB,CAAC;AAEF,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAO1B,CAAC;AAEH,MAAM,MAAM,SAAS,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,eAAe,CAAC,CAAC;AAExD,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAGnC,CAAC;AAEH,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,wBAAwB,CAAC,CAAC;AAE1E,eAAO,MAAM,sBAAsB;;;;;;EAEjC,CAAC;AAEH,MAAM,MAAM,gBAAgB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,sBAAsB,CAAC,CAAC"}
|
|
@@ -160,14 +160,14 @@ export declare const SaveStatisticDTOSchema: z.ZodObject<{
|
|
|
160
160
|
time: string;
|
|
161
161
|
}>, z.ZodObject<{
|
|
162
162
|
data: z.ZodObject<{
|
|
163
|
-
category: z.ZodNativeEnum<typeof import(
|
|
163
|
+
category: z.ZodNativeEnum<typeof import('../../shared').Category>;
|
|
164
164
|
userId: z.ZodString;
|
|
165
165
|
}, "strip", z.ZodTypeAny, {
|
|
166
166
|
userId: string;
|
|
167
|
-
category: import(
|
|
167
|
+
category: import('../../shared').Category;
|
|
168
168
|
}, {
|
|
169
169
|
userId: string;
|
|
170
|
-
category: import(
|
|
170
|
+
category: import('../../shared').Category;
|
|
171
171
|
}>;
|
|
172
172
|
time: z.ZodString;
|
|
173
173
|
type: z.ZodLiteral<"category-filter-applied">;
|
|
@@ -175,14 +175,14 @@ export declare const SaveStatisticDTOSchema: z.ZodObject<{
|
|
|
175
175
|
type: "category-filter-applied";
|
|
176
176
|
data: {
|
|
177
177
|
userId: string;
|
|
178
|
-
category: import(
|
|
178
|
+
category: import('../../shared').Category;
|
|
179
179
|
};
|
|
180
180
|
time: string;
|
|
181
181
|
}, {
|
|
182
182
|
type: "category-filter-applied";
|
|
183
183
|
data: {
|
|
184
184
|
userId: string;
|
|
185
|
-
category: import(
|
|
185
|
+
category: import('../../shared').Category;
|
|
186
186
|
};
|
|
187
187
|
time: string;
|
|
188
188
|
}>, z.ZodObject<{
|
|
@@ -452,14 +452,14 @@ export declare const SaveStatisticDTOSchema: z.ZodObject<{
|
|
|
452
452
|
time: string;
|
|
453
453
|
}>, z.ZodObject<{
|
|
454
454
|
data: z.ZodObject<{
|
|
455
|
-
regions: z.ZodArray<z.ZodNativeEnum<typeof import(
|
|
455
|
+
regions: z.ZodArray<z.ZodNativeEnum<typeof import('../../shared').Region>, "many">;
|
|
456
456
|
userId: z.ZodString;
|
|
457
457
|
}, "strip", z.ZodTypeAny, {
|
|
458
458
|
userId: string;
|
|
459
|
-
regions: import(
|
|
459
|
+
regions: import('../../shared').Region[];
|
|
460
460
|
}, {
|
|
461
461
|
userId: string;
|
|
462
|
-
regions: import(
|
|
462
|
+
regions: import('../../shared').Region[];
|
|
463
463
|
}>;
|
|
464
464
|
time: z.ZodString;
|
|
465
465
|
type: z.ZodLiteral<"region-filter-applied">;
|
|
@@ -467,14 +467,14 @@ export declare const SaveStatisticDTOSchema: z.ZodObject<{
|
|
|
467
467
|
type: "region-filter-applied";
|
|
468
468
|
data: {
|
|
469
469
|
userId: string;
|
|
470
|
-
regions: import(
|
|
470
|
+
regions: import('../../shared').Region[];
|
|
471
471
|
};
|
|
472
472
|
time: string;
|
|
473
473
|
}, {
|
|
474
474
|
type: "region-filter-applied";
|
|
475
475
|
data: {
|
|
476
476
|
userId: string;
|
|
477
|
-
regions: import(
|
|
477
|
+
regions: import('../../shared').Region[];
|
|
478
478
|
};
|
|
479
479
|
time: string;
|
|
480
480
|
}>]>;
|
|
@@ -538,7 +538,7 @@ export declare const SaveStatisticDTOSchema: z.ZodObject<{
|
|
|
538
538
|
type: "region-filter-applied";
|
|
539
539
|
data: {
|
|
540
540
|
userId: string;
|
|
541
|
-
regions: import(
|
|
541
|
+
regions: import('../../shared').Region[];
|
|
542
542
|
};
|
|
543
543
|
time: string;
|
|
544
544
|
} | {
|
|
@@ -551,7 +551,7 @@ export declare const SaveStatisticDTOSchema: z.ZodObject<{
|
|
|
551
551
|
type: "category-filter-applied";
|
|
552
552
|
data: {
|
|
553
553
|
userId: string;
|
|
554
|
-
category: import(
|
|
554
|
+
category: import('../../shared').Category;
|
|
555
555
|
};
|
|
556
556
|
time: string;
|
|
557
557
|
} | {
|
|
@@ -629,7 +629,7 @@ export declare const SaveStatisticDTOSchema: z.ZodObject<{
|
|
|
629
629
|
type: "region-filter-applied";
|
|
630
630
|
data: {
|
|
631
631
|
userId: string;
|
|
632
|
-
regions: import(
|
|
632
|
+
regions: import('../../shared').Region[];
|
|
633
633
|
};
|
|
634
634
|
time: string;
|
|
635
635
|
} | {
|
|
@@ -642,7 +642,7 @@ export declare const SaveStatisticDTOSchema: z.ZodObject<{
|
|
|
642
642
|
type: "category-filter-applied";
|
|
643
643
|
data: {
|
|
644
644
|
userId: string;
|
|
645
|
-
category: import(
|
|
645
|
+
category: import('../../shared').Category;
|
|
646
646
|
};
|
|
647
647
|
time: string;
|
|
648
648
|
} | {
|
|
@@ -3,7 +3,7 @@ export declare const CreatePartialImportedEventDTOSchema: z.ZodObject<{
|
|
|
3
3
|
partialEventState: z.ZodObject<{
|
|
4
4
|
adress: z.ZodOptional<z.ZodString>;
|
|
5
5
|
capacity: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
6
|
-
category: z.ZodOptional<z.ZodNativeEnum<typeof import(
|
|
6
|
+
category: z.ZodOptional<z.ZodNativeEnum<typeof import('../../shared').Category>>;
|
|
7
7
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
8
8
|
description: z.ZodOptional<z.ZodString>;
|
|
9
9
|
externalSourceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -19,36 +19,39 @@ export declare const CreatePartialImportedEventDTOSchema: z.ZodObject<{
|
|
|
19
19
|
isPromoted: z.ZodOptional<z.ZodBoolean>;
|
|
20
20
|
link: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
21
21
|
price: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
22
|
-
regions: z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof import(
|
|
22
|
+
regions: z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof import('../../shared').Region>, "many">>;
|
|
23
|
+
secondaryCategory: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof import('../../shared').Category>>>;
|
|
23
24
|
startTime: z.ZodOptional<z.ZodString>;
|
|
24
|
-
title: z.ZodOptional<z.ZodString>;
|
|
25
25
|
thumbnailUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
26
26
|
ticketsUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
27
|
+
title: z.ZodOptional<z.ZodString>;
|
|
27
28
|
organizers: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
28
29
|
id: z.ZodBranded<z.ZodString, "OrganizerId">;
|
|
29
30
|
name: z.ZodString;
|
|
30
31
|
imageUrl: z.ZodNullable<z.ZodString>;
|
|
31
32
|
}, "strip", z.ZodTypeAny, {
|
|
32
33
|
id: string & z.BRAND<"OrganizerId">;
|
|
33
|
-
name: string;
|
|
34
34
|
imageUrl: string | null;
|
|
35
|
+
name: string;
|
|
35
36
|
}, {
|
|
36
37
|
id: string;
|
|
37
|
-
name: string;
|
|
38
38
|
imageUrl: string | null;
|
|
39
|
+
name: string;
|
|
39
40
|
}>, "many">>;
|
|
40
41
|
}, "strip", z.ZodTypeAny, {
|
|
41
|
-
regions?: import(
|
|
42
|
-
category?: import(
|
|
42
|
+
regions?: import('../../shared').Region[] | undefined;
|
|
43
|
+
category?: import('../../shared').Category | undefined;
|
|
43
44
|
startTime?: string | undefined;
|
|
45
|
+
createdAt?: string | undefined;
|
|
46
|
+
id?: (string & z.BRAND<"EventId">) | undefined;
|
|
47
|
+
link?: string | null | undefined;
|
|
48
|
+
title?: string | undefined;
|
|
44
49
|
adress?: string | undefined;
|
|
45
50
|
capacity?: number | null | undefined;
|
|
46
|
-
createdAt?: string | undefined;
|
|
47
51
|
description?: string | undefined;
|
|
48
52
|
externalSourceId?: string | null | undefined;
|
|
49
53
|
finishTime?: string | null | undefined;
|
|
50
54
|
hasHandicapAccess?: boolean | null | undefined;
|
|
51
|
-
id?: (string & z.BRAND<"EventId">) | undefined;
|
|
52
55
|
imageBlurHashes?: string[] | undefined;
|
|
53
56
|
imageUrls?: string[] | undefined;
|
|
54
57
|
isDisplayed?: boolean | undefined;
|
|
@@ -56,28 +59,29 @@ export declare const CreatePartialImportedEventDTOSchema: z.ZodObject<{
|
|
|
56
59
|
isOldTimes?: boolean | undefined;
|
|
57
60
|
isPriceRange?: boolean | undefined;
|
|
58
61
|
isPromoted?: boolean | undefined;
|
|
59
|
-
link?: string | null | undefined;
|
|
60
62
|
price?: number | null | undefined;
|
|
61
|
-
|
|
63
|
+
secondaryCategory?: import('../../shared').Category | null | undefined;
|
|
62
64
|
thumbnailUrl?: string | null | undefined;
|
|
63
65
|
ticketsUrl?: string | null | undefined;
|
|
64
66
|
organizers?: {
|
|
65
67
|
id: string & z.BRAND<"OrganizerId">;
|
|
66
|
-
name: string;
|
|
67
68
|
imageUrl: string | null;
|
|
69
|
+
name: string;
|
|
68
70
|
}[] | undefined;
|
|
69
71
|
}, {
|
|
70
|
-
regions?: import(
|
|
71
|
-
category?: import(
|
|
72
|
+
regions?: import('../../shared').Region[] | undefined;
|
|
73
|
+
category?: import('../../shared').Category | undefined;
|
|
72
74
|
startTime?: string | undefined;
|
|
75
|
+
createdAt?: string | undefined;
|
|
76
|
+
id?: string | undefined;
|
|
77
|
+
link?: string | null | undefined;
|
|
78
|
+
title?: string | undefined;
|
|
73
79
|
adress?: string | undefined;
|
|
74
80
|
capacity?: number | null | undefined;
|
|
75
|
-
createdAt?: string | undefined;
|
|
76
81
|
description?: string | undefined;
|
|
77
82
|
externalSourceId?: string | null | undefined;
|
|
78
83
|
finishTime?: string | null | undefined;
|
|
79
84
|
hasHandicapAccess?: boolean | null | undefined;
|
|
80
|
-
id?: string | undefined;
|
|
81
85
|
imageBlurHashes?: string[] | undefined;
|
|
82
86
|
imageUrls?: string[] | undefined;
|
|
83
87
|
isDisplayed?: boolean | undefined;
|
|
@@ -85,36 +89,37 @@ export declare const CreatePartialImportedEventDTOSchema: z.ZodObject<{
|
|
|
85
89
|
isOldTimes?: boolean | undefined;
|
|
86
90
|
isPriceRange?: boolean | undefined;
|
|
87
91
|
isPromoted?: boolean | undefined;
|
|
88
|
-
link?: string | null | undefined;
|
|
89
92
|
price?: number | null | undefined;
|
|
90
|
-
|
|
93
|
+
secondaryCategory?: import('../../shared').Category | null | undefined;
|
|
91
94
|
thumbnailUrl?: string | null | undefined;
|
|
92
95
|
ticketsUrl?: string | null | undefined;
|
|
93
96
|
organizers?: {
|
|
94
97
|
id: string;
|
|
95
|
-
name: string;
|
|
96
98
|
imageUrl: string | null;
|
|
99
|
+
name: string;
|
|
97
100
|
}[] | undefined;
|
|
98
101
|
}>;
|
|
99
102
|
token: z.ZodString;
|
|
100
103
|
userId: z.ZodString;
|
|
101
104
|
organizersNames: z.ZodArray<z.ZodString, "many">;
|
|
102
|
-
source: z.
|
|
105
|
+
source: z.ZodString;
|
|
103
106
|
}, "strip", z.ZodTypeAny, {
|
|
104
107
|
userId: string;
|
|
105
108
|
organizersNames: string[];
|
|
106
109
|
partialEventState: {
|
|
107
|
-
regions?: import(
|
|
108
|
-
category?: import(
|
|
110
|
+
regions?: import('../../shared').Region[] | undefined;
|
|
111
|
+
category?: import('../../shared').Category | undefined;
|
|
109
112
|
startTime?: string | undefined;
|
|
113
|
+
createdAt?: string | undefined;
|
|
114
|
+
id?: (string & z.BRAND<"EventId">) | undefined;
|
|
115
|
+
link?: string | null | undefined;
|
|
116
|
+
title?: string | undefined;
|
|
110
117
|
adress?: string | undefined;
|
|
111
118
|
capacity?: number | null | undefined;
|
|
112
|
-
createdAt?: string | undefined;
|
|
113
119
|
description?: string | undefined;
|
|
114
120
|
externalSourceId?: string | null | undefined;
|
|
115
121
|
finishTime?: string | null | undefined;
|
|
116
122
|
hasHandicapAccess?: boolean | null | undefined;
|
|
117
|
-
id?: (string & z.BRAND<"EventId">) | undefined;
|
|
118
123
|
imageBlurHashes?: string[] | undefined;
|
|
119
124
|
imageUrls?: string[] | undefined;
|
|
120
125
|
isDisplayed?: boolean | undefined;
|
|
@@ -122,34 +127,35 @@ export declare const CreatePartialImportedEventDTOSchema: z.ZodObject<{
|
|
|
122
127
|
isOldTimes?: boolean | undefined;
|
|
123
128
|
isPriceRange?: boolean | undefined;
|
|
124
129
|
isPromoted?: boolean | undefined;
|
|
125
|
-
link?: string | null | undefined;
|
|
126
130
|
price?: number | null | undefined;
|
|
127
|
-
|
|
131
|
+
secondaryCategory?: import('../../shared').Category | null | undefined;
|
|
128
132
|
thumbnailUrl?: string | null | undefined;
|
|
129
133
|
ticketsUrl?: string | null | undefined;
|
|
130
134
|
organizers?: {
|
|
131
135
|
id: string & z.BRAND<"OrganizerId">;
|
|
132
|
-
name: string;
|
|
133
136
|
imageUrl: string | null;
|
|
137
|
+
name: string;
|
|
134
138
|
}[] | undefined;
|
|
135
139
|
};
|
|
136
|
-
source:
|
|
140
|
+
source: string;
|
|
137
141
|
token: string;
|
|
138
142
|
}, {
|
|
139
143
|
userId: string;
|
|
140
144
|
organizersNames: string[];
|
|
141
145
|
partialEventState: {
|
|
142
|
-
regions?: import(
|
|
143
|
-
category?: import(
|
|
146
|
+
regions?: import('../../shared').Region[] | undefined;
|
|
147
|
+
category?: import('../../shared').Category | undefined;
|
|
144
148
|
startTime?: string | undefined;
|
|
149
|
+
createdAt?: string | undefined;
|
|
150
|
+
id?: string | undefined;
|
|
151
|
+
link?: string | null | undefined;
|
|
152
|
+
title?: string | undefined;
|
|
145
153
|
adress?: string | undefined;
|
|
146
154
|
capacity?: number | null | undefined;
|
|
147
|
-
createdAt?: string | undefined;
|
|
148
155
|
description?: string | undefined;
|
|
149
156
|
externalSourceId?: string | null | undefined;
|
|
150
157
|
finishTime?: string | null | undefined;
|
|
151
158
|
hasHandicapAccess?: boolean | null | undefined;
|
|
152
|
-
id?: string | undefined;
|
|
153
159
|
imageBlurHashes?: string[] | undefined;
|
|
154
160
|
imageUrls?: string[] | undefined;
|
|
155
161
|
isDisplayed?: boolean | undefined;
|
|
@@ -157,18 +163,17 @@ export declare const CreatePartialImportedEventDTOSchema: z.ZodObject<{
|
|
|
157
163
|
isOldTimes?: boolean | undefined;
|
|
158
164
|
isPriceRange?: boolean | undefined;
|
|
159
165
|
isPromoted?: boolean | undefined;
|
|
160
|
-
link?: string | null | undefined;
|
|
161
166
|
price?: number | null | undefined;
|
|
162
|
-
|
|
167
|
+
secondaryCategory?: import('../../shared').Category | null | undefined;
|
|
163
168
|
thumbnailUrl?: string | null | undefined;
|
|
164
169
|
ticketsUrl?: string | null | undefined;
|
|
165
170
|
organizers?: {
|
|
166
171
|
id: string;
|
|
167
|
-
name: string;
|
|
168
172
|
imageUrl: string | null;
|
|
173
|
+
name: string;
|
|
169
174
|
}[] | undefined;
|
|
170
175
|
};
|
|
171
|
-
source:
|
|
176
|
+
source: string;
|
|
172
177
|
token: string;
|
|
173
178
|
}>;
|
|
174
179
|
export type CreatePartialImportedEventDTO = z.infer<typeof CreatePartialImportedEventDTOSchema>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"partial-imported-event.d.ts","sourceRoot":"","sources":["../../../src/V1/external/partial-imported-event.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,eAAO,MAAM,mCAAmC
|
|
1
|
+
{"version":3,"file":"partial-imported-event.d.ts","sourceRoot":"","sources":["../../../src/V1/external/partial-imported-event.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,eAAO,MAAM,mCAAmC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAM9C,CAAC;AAEH,MAAM,MAAM,6BAA6B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mCAAmC,CAAC,CAAC"}
|
package/dist/api-contracts.js
CHANGED
|
@@ -4171,6 +4171,13 @@ const DateFilterAppliedStatisticSchema = z.object({
|
|
|
4171
4171
|
time: z.string().datetime(),
|
|
4172
4172
|
type: z.literal("date-filter-applied")
|
|
4173
4173
|
});
|
|
4174
|
+
const OldTimesFilterAppliedStatisticSchema = z.object({
|
|
4175
|
+
data: z.object({
|
|
4176
|
+
userId: UUIDSchema
|
|
4177
|
+
}),
|
|
4178
|
+
time: z.string().datetime(),
|
|
4179
|
+
type: z.literal("old-times-filter-applied")
|
|
4180
|
+
});
|
|
4174
4181
|
const StatisticSchema = z.discriminatedUnion("type", [
|
|
4175
4182
|
AppStartedStatisticSchema,
|
|
4176
4183
|
CategoryFilterAppliedStatisticSchema,
|
|
@@ -4179,9 +4186,10 @@ const StatisticSchema = z.discriminatedUnion("type", [
|
|
|
4179
4186
|
EventAddedToFavoritesStatisticSchema,
|
|
4180
4187
|
EventDisplayedStatisticSchema,
|
|
4181
4188
|
EventSeeMoreClickedStatisticsSchema,
|
|
4182
|
-
EventTicketsClickedStatisticsSchema,
|
|
4183
4189
|
EventSharedStatisticSchema,
|
|
4190
|
+
EventTicketsClickedStatisticsSchema,
|
|
4184
4191
|
FreeFilterAppliedStatisticSchema,
|
|
4192
|
+
OldTimesFilterAppliedStatisticSchema,
|
|
4185
4193
|
OrganizerDisplayedStatisticSchema,
|
|
4186
4194
|
RegionFilterAppliedStatisticSchema
|
|
4187
4195
|
]);
|
|
@@ -4202,7 +4210,8 @@ const MainAdDTOSchema = z.object({
|
|
|
4202
4210
|
imageUrl: URLSchema,
|
|
4203
4211
|
isEnabled: z.boolean(),
|
|
4204
4212
|
link: URLSchema.nullable(),
|
|
4205
|
-
startTime: StringSchema
|
|
4213
|
+
startTime: StringSchema,
|
|
4214
|
+
title: z.string()
|
|
4206
4215
|
});
|
|
4207
4216
|
const UpdateMainAdDTOSchema = MainAdDTOSchema.omit({
|
|
4208
4217
|
createdAt: true,
|
|
@@ -4216,7 +4225,8 @@ const RegionalAdDTOSchema = z.object({
|
|
|
4216
4225
|
isEnabled: z.boolean(),
|
|
4217
4226
|
link: URLSchema.nullable(),
|
|
4218
4227
|
regions: RegionSchema.array(),
|
|
4219
|
-
startTime: StringSchema
|
|
4228
|
+
startTime: StringSchema,
|
|
4229
|
+
title: z.string()
|
|
4220
4230
|
});
|
|
4221
4231
|
const UpdateRegionalAdDTOSchema = RegionalAdDTOSchema.omit({
|
|
4222
4232
|
createdAt: true,
|
|
@@ -4247,15 +4257,18 @@ const EventDTOSchema = z.object({
|
|
|
4247
4257
|
imageBlurHashes: StringSchema.array(),
|
|
4248
4258
|
imageUrls: URLSchema.array(),
|
|
4249
4259
|
isDisplayed: z.boolean(),
|
|
4250
|
-
|
|
4260
|
+
isExhibition: z.boolean(),
|
|
4261
|
+
isOldTimes: z.boolean(),
|
|
4251
4262
|
isPriceRange: z.boolean(),
|
|
4263
|
+
isPromoted: z.boolean(),
|
|
4252
4264
|
link: URLSchema.nullable(),
|
|
4253
4265
|
price: SafeNonNegativeFloatSchema.nullable(),
|
|
4254
4266
|
regions: RegionSchema.array(),
|
|
4267
|
+
secondaryCategory: CategorySchema.nullable(),
|
|
4255
4268
|
startTime: z.string().datetime(),
|
|
4256
|
-
title: StringSchema,
|
|
4257
4269
|
thumbnailUrl: URLSchema.nullable(),
|
|
4258
4270
|
ticketsUrl: URLSchema.nullable(),
|
|
4271
|
+
title: StringSchema,
|
|
4259
4272
|
organizers: z.object({
|
|
4260
4273
|
id: OrganizerIdSchema,
|
|
4261
4274
|
name: StringSchema,
|
|
@@ -4274,14 +4287,17 @@ const CreateEventDTOSchema = z.object({
|
|
|
4274
4287
|
imageBlurHashes: StringSchema.array(),
|
|
4275
4288
|
imageUrls: URLSchema.array(),
|
|
4276
4289
|
isDisplayed: z.boolean(),
|
|
4290
|
+
isExhibition: z.boolean(),
|
|
4291
|
+
isOldTimes: z.boolean(),
|
|
4277
4292
|
isPriceRange: z.boolean(),
|
|
4278
4293
|
link: URLSchema.nullable(),
|
|
4279
4294
|
organizersIds: OrganizerIdSchema.array().min(1),
|
|
4280
4295
|
price: SafeNonNegativeFloatSchema.nullable(),
|
|
4281
4296
|
regions: RegionSchema.array(),
|
|
4297
|
+
secondaryCategory: CategorySchema.nullable(),
|
|
4282
4298
|
startTime: z.string().datetime(),
|
|
4283
|
-
title: StringSchema,
|
|
4284
4299
|
thumbnailUrl: URLSchema.nullable(),
|
|
4300
|
+
title: StringSchema,
|
|
4285
4301
|
ticketsUrl: URLSchema.nullable()
|
|
4286
4302
|
});
|
|
4287
4303
|
const UpdateEventDTOSchema = CreateEventDTOSchema.omit({
|
|
@@ -4312,7 +4328,7 @@ const ImportDTOSchema = z.object({
|
|
|
4312
4328
|
id: StringSchema,
|
|
4313
4329
|
organizersNames: StringSchema.array(),
|
|
4314
4330
|
partialEventState: EventDTOSchema.partial(),
|
|
4315
|
-
source:
|
|
4331
|
+
source: StringSchema,
|
|
4316
4332
|
userId: StringSchema
|
|
4317
4333
|
});
|
|
4318
4334
|
const EventFileUploadDTOSchema = z.object({
|
|
@@ -4398,7 +4414,7 @@ const CreatePartialImportedEventDTOSchema = z.object({
|
|
|
4398
4414
|
token: StringSchema,
|
|
4399
4415
|
userId: StringSchema,
|
|
4400
4416
|
organizersNames: StringSchema.array(),
|
|
4401
|
-
source:
|
|
4417
|
+
source: StringSchema
|
|
4402
4418
|
});
|
|
4403
4419
|
const index$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
4404
4420
|
__proto__: null,
|
|
@@ -4426,6 +4442,7 @@ exports.EventSharedStatisticSchema = EventSharedStatisticSchema;
|
|
|
4426
4442
|
exports.EventTicketsClickedStatisticsSchema = EventTicketsClickedStatisticsSchema;
|
|
4427
4443
|
exports.FreeFilterAppliedStatisticSchema = FreeFilterAppliedStatisticSchema;
|
|
4428
4444
|
exports.MainAdIdSchema = MainAdIdSchema;
|
|
4445
|
+
exports.OldTimesFilterAppliedStatisticSchema = OldTimesFilterAppliedStatisticSchema;
|
|
4429
4446
|
exports.OrganizerDisplayedStatisticSchema = OrganizerDisplayedStatisticSchema;
|
|
4430
4447
|
exports.OrganizerIdSchema = OrganizerIdSchema;
|
|
4431
4448
|
exports.Region = Region;
|
package/dist/api-contracts.mjs
CHANGED
|
@@ -4169,6 +4169,13 @@ const DateFilterAppliedStatisticSchema = z.object({
|
|
|
4169
4169
|
time: z.string().datetime(),
|
|
4170
4170
|
type: z.literal("date-filter-applied")
|
|
4171
4171
|
});
|
|
4172
|
+
const OldTimesFilterAppliedStatisticSchema = z.object({
|
|
4173
|
+
data: z.object({
|
|
4174
|
+
userId: UUIDSchema
|
|
4175
|
+
}),
|
|
4176
|
+
time: z.string().datetime(),
|
|
4177
|
+
type: z.literal("old-times-filter-applied")
|
|
4178
|
+
});
|
|
4172
4179
|
const StatisticSchema = z.discriminatedUnion("type", [
|
|
4173
4180
|
AppStartedStatisticSchema,
|
|
4174
4181
|
CategoryFilterAppliedStatisticSchema,
|
|
@@ -4177,9 +4184,10 @@ const StatisticSchema = z.discriminatedUnion("type", [
|
|
|
4177
4184
|
EventAddedToFavoritesStatisticSchema,
|
|
4178
4185
|
EventDisplayedStatisticSchema,
|
|
4179
4186
|
EventSeeMoreClickedStatisticsSchema,
|
|
4180
|
-
EventTicketsClickedStatisticsSchema,
|
|
4181
4187
|
EventSharedStatisticSchema,
|
|
4188
|
+
EventTicketsClickedStatisticsSchema,
|
|
4182
4189
|
FreeFilterAppliedStatisticSchema,
|
|
4190
|
+
OldTimesFilterAppliedStatisticSchema,
|
|
4183
4191
|
OrganizerDisplayedStatisticSchema,
|
|
4184
4192
|
RegionFilterAppliedStatisticSchema
|
|
4185
4193
|
]);
|
|
@@ -4200,7 +4208,8 @@ const MainAdDTOSchema = z.object({
|
|
|
4200
4208
|
imageUrl: URLSchema,
|
|
4201
4209
|
isEnabled: z.boolean(),
|
|
4202
4210
|
link: URLSchema.nullable(),
|
|
4203
|
-
startTime: StringSchema
|
|
4211
|
+
startTime: StringSchema,
|
|
4212
|
+
title: z.string()
|
|
4204
4213
|
});
|
|
4205
4214
|
const UpdateMainAdDTOSchema = MainAdDTOSchema.omit({
|
|
4206
4215
|
createdAt: true,
|
|
@@ -4214,7 +4223,8 @@ const RegionalAdDTOSchema = z.object({
|
|
|
4214
4223
|
isEnabled: z.boolean(),
|
|
4215
4224
|
link: URLSchema.nullable(),
|
|
4216
4225
|
regions: RegionSchema.array(),
|
|
4217
|
-
startTime: StringSchema
|
|
4226
|
+
startTime: StringSchema,
|
|
4227
|
+
title: z.string()
|
|
4218
4228
|
});
|
|
4219
4229
|
const UpdateRegionalAdDTOSchema = RegionalAdDTOSchema.omit({
|
|
4220
4230
|
createdAt: true,
|
|
@@ -4245,15 +4255,18 @@ const EventDTOSchema = z.object({
|
|
|
4245
4255
|
imageBlurHashes: StringSchema.array(),
|
|
4246
4256
|
imageUrls: URLSchema.array(),
|
|
4247
4257
|
isDisplayed: z.boolean(),
|
|
4248
|
-
|
|
4258
|
+
isExhibition: z.boolean(),
|
|
4259
|
+
isOldTimes: z.boolean(),
|
|
4249
4260
|
isPriceRange: z.boolean(),
|
|
4261
|
+
isPromoted: z.boolean(),
|
|
4250
4262
|
link: URLSchema.nullable(),
|
|
4251
4263
|
price: SafeNonNegativeFloatSchema.nullable(),
|
|
4252
4264
|
regions: RegionSchema.array(),
|
|
4265
|
+
secondaryCategory: CategorySchema.nullable(),
|
|
4253
4266
|
startTime: z.string().datetime(),
|
|
4254
|
-
title: StringSchema,
|
|
4255
4267
|
thumbnailUrl: URLSchema.nullable(),
|
|
4256
4268
|
ticketsUrl: URLSchema.nullable(),
|
|
4269
|
+
title: StringSchema,
|
|
4257
4270
|
organizers: z.object({
|
|
4258
4271
|
id: OrganizerIdSchema,
|
|
4259
4272
|
name: StringSchema,
|
|
@@ -4272,14 +4285,17 @@ const CreateEventDTOSchema = z.object({
|
|
|
4272
4285
|
imageBlurHashes: StringSchema.array(),
|
|
4273
4286
|
imageUrls: URLSchema.array(),
|
|
4274
4287
|
isDisplayed: z.boolean(),
|
|
4288
|
+
isExhibition: z.boolean(),
|
|
4289
|
+
isOldTimes: z.boolean(),
|
|
4275
4290
|
isPriceRange: z.boolean(),
|
|
4276
4291
|
link: URLSchema.nullable(),
|
|
4277
4292
|
organizersIds: OrganizerIdSchema.array().min(1),
|
|
4278
4293
|
price: SafeNonNegativeFloatSchema.nullable(),
|
|
4279
4294
|
regions: RegionSchema.array(),
|
|
4295
|
+
secondaryCategory: CategorySchema.nullable(),
|
|
4280
4296
|
startTime: z.string().datetime(),
|
|
4281
|
-
title: StringSchema,
|
|
4282
4297
|
thumbnailUrl: URLSchema.nullable(),
|
|
4298
|
+
title: StringSchema,
|
|
4283
4299
|
ticketsUrl: URLSchema.nullable()
|
|
4284
4300
|
});
|
|
4285
4301
|
const UpdateEventDTOSchema = CreateEventDTOSchema.omit({
|
|
@@ -4310,7 +4326,7 @@ const ImportDTOSchema = z.object({
|
|
|
4310
4326
|
id: StringSchema,
|
|
4311
4327
|
organizersNames: StringSchema.array(),
|
|
4312
4328
|
partialEventState: EventDTOSchema.partial(),
|
|
4313
|
-
source:
|
|
4329
|
+
source: StringSchema,
|
|
4314
4330
|
userId: StringSchema
|
|
4315
4331
|
});
|
|
4316
4332
|
const EventFileUploadDTOSchema = z.object({
|
|
@@ -4396,7 +4412,7 @@ const CreatePartialImportedEventDTOSchema = z.object({
|
|
|
4396
4412
|
token: StringSchema,
|
|
4397
4413
|
userId: StringSchema,
|
|
4398
4414
|
organizersNames: StringSchema.array(),
|
|
4399
|
-
source:
|
|
4415
|
+
source: StringSchema
|
|
4400
4416
|
});
|
|
4401
4417
|
const index$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
4402
4418
|
__proto__: null,
|
|
@@ -4425,6 +4441,7 @@ export {
|
|
|
4425
4441
|
EventTicketsClickedStatisticsSchema,
|
|
4426
4442
|
FreeFilterAppliedStatisticSchema,
|
|
4427
4443
|
MainAdIdSchema,
|
|
4444
|
+
OldTimesFilterAppliedStatisticSchema,
|
|
4428
4445
|
OrganizerDisplayedStatisticSchema,
|
|
4429
4446
|
OrganizerIdSchema,
|
|
4430
4447
|
Region,
|
package/dist/shared/stats.d.ts
CHANGED
|
@@ -220,14 +220,14 @@ export declare const EventSeeMoreClickedStatisticsSchema: z.ZodObject<{
|
|
|
220
220
|
}>;
|
|
221
221
|
export declare const RegionFilterAppliedStatisticSchema: z.ZodObject<{
|
|
222
222
|
data: z.ZodObject<{
|
|
223
|
-
regions: z.ZodArray<z.ZodNativeEnum<typeof import(
|
|
223
|
+
regions: z.ZodArray<z.ZodNativeEnum<typeof import('./event').Region>, "many">;
|
|
224
224
|
userId: z.ZodString;
|
|
225
225
|
}, "strip", z.ZodTypeAny, {
|
|
226
226
|
userId: string;
|
|
227
|
-
regions: import(
|
|
227
|
+
regions: import('./event').Region[];
|
|
228
228
|
}, {
|
|
229
229
|
userId: string;
|
|
230
|
-
regions: import(
|
|
230
|
+
regions: import('./event').Region[];
|
|
231
231
|
}>;
|
|
232
232
|
time: z.ZodString;
|
|
233
233
|
type: z.ZodLiteral<"region-filter-applied">;
|
|
@@ -235,14 +235,14 @@ export declare const RegionFilterAppliedStatisticSchema: z.ZodObject<{
|
|
|
235
235
|
type: "region-filter-applied";
|
|
236
236
|
data: {
|
|
237
237
|
userId: string;
|
|
238
|
-
regions: import(
|
|
238
|
+
regions: import('./event').Region[];
|
|
239
239
|
};
|
|
240
240
|
time: string;
|
|
241
241
|
}, {
|
|
242
242
|
type: "region-filter-applied";
|
|
243
243
|
data: {
|
|
244
244
|
userId: string;
|
|
245
|
-
regions: import(
|
|
245
|
+
regions: import('./event').Region[];
|
|
246
246
|
};
|
|
247
247
|
time: string;
|
|
248
248
|
}>;
|
|
@@ -271,14 +271,14 @@ export declare const FreeFilterAppliedStatisticSchema: z.ZodObject<{
|
|
|
271
271
|
}>;
|
|
272
272
|
export declare const CategoryFilterAppliedStatisticSchema: z.ZodObject<{
|
|
273
273
|
data: z.ZodObject<{
|
|
274
|
-
category: z.ZodNativeEnum<typeof import(
|
|
274
|
+
category: z.ZodNativeEnum<typeof import('./event').Category>;
|
|
275
275
|
userId: z.ZodString;
|
|
276
276
|
}, "strip", z.ZodTypeAny, {
|
|
277
277
|
userId: string;
|
|
278
|
-
category: import(
|
|
278
|
+
category: import('./event').Category;
|
|
279
279
|
}, {
|
|
280
280
|
userId: string;
|
|
281
|
-
category: import(
|
|
281
|
+
category: import('./event').Category;
|
|
282
282
|
}>;
|
|
283
283
|
time: z.ZodString;
|
|
284
284
|
type: z.ZodLiteral<"category-filter-applied">;
|
|
@@ -286,14 +286,14 @@ export declare const CategoryFilterAppliedStatisticSchema: z.ZodObject<{
|
|
|
286
286
|
type: "category-filter-applied";
|
|
287
287
|
data: {
|
|
288
288
|
userId: string;
|
|
289
|
-
category: import(
|
|
289
|
+
category: import('./event').Category;
|
|
290
290
|
};
|
|
291
291
|
time: string;
|
|
292
292
|
}, {
|
|
293
293
|
type: "category-filter-applied";
|
|
294
294
|
data: {
|
|
295
295
|
userId: string;
|
|
296
|
-
category: import(
|
|
296
|
+
category: import('./event').Category;
|
|
297
297
|
};
|
|
298
298
|
time: string;
|
|
299
299
|
}>;
|
|
@@ -377,14 +377,14 @@ export declare const StatisticSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
|
|
|
377
377
|
time: string;
|
|
378
378
|
}>, z.ZodObject<{
|
|
379
379
|
data: z.ZodObject<{
|
|
380
|
-
category: z.ZodNativeEnum<typeof import(
|
|
380
|
+
category: z.ZodNativeEnum<typeof import('./event').Category>;
|
|
381
381
|
userId: z.ZodString;
|
|
382
382
|
}, "strip", z.ZodTypeAny, {
|
|
383
383
|
userId: string;
|
|
384
|
-
category: import(
|
|
384
|
+
category: import('./event').Category;
|
|
385
385
|
}, {
|
|
386
386
|
userId: string;
|
|
387
|
-
category: import(
|
|
387
|
+
category: import('./event').Category;
|
|
388
388
|
}>;
|
|
389
389
|
time: z.ZodString;
|
|
390
390
|
type: z.ZodLiteral<"category-filter-applied">;
|
|
@@ -392,14 +392,14 @@ export declare const StatisticSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
|
|
|
392
392
|
type: "category-filter-applied";
|
|
393
393
|
data: {
|
|
394
394
|
userId: string;
|
|
395
|
-
category: import(
|
|
395
|
+
category: import('./event').Category;
|
|
396
396
|
};
|
|
397
397
|
time: string;
|
|
398
398
|
}, {
|
|
399
399
|
type: "category-filter-applied";
|
|
400
400
|
data: {
|
|
401
401
|
userId: string;
|
|
402
|
-
category: import(
|
|
402
|
+
category: import('./event').Category;
|
|
403
403
|
};
|
|
404
404
|
time: string;
|
|
405
405
|
}>, z.ZodObject<{
|
|
@@ -669,14 +669,14 @@ export declare const StatisticSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
|
|
|
669
669
|
time: string;
|
|
670
670
|
}>, z.ZodObject<{
|
|
671
671
|
data: z.ZodObject<{
|
|
672
|
-
regions: z.ZodArray<z.ZodNativeEnum<typeof import(
|
|
672
|
+
regions: z.ZodArray<z.ZodNativeEnum<typeof import('./event').Region>, "many">;
|
|
673
673
|
userId: z.ZodString;
|
|
674
674
|
}, "strip", z.ZodTypeAny, {
|
|
675
675
|
userId: string;
|
|
676
|
-
regions: import(
|
|
676
|
+
regions: import('./event').Region[];
|
|
677
677
|
}, {
|
|
678
678
|
userId: string;
|
|
679
|
-
regions: import(
|
|
679
|
+
regions: import('./event').Region[];
|
|
680
680
|
}>;
|
|
681
681
|
time: z.ZodString;
|
|
682
682
|
type: z.ZodLiteral<"region-filter-applied">;
|
|
@@ -684,14 +684,14 @@ export declare const StatisticSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
|
|
|
684
684
|
type: "region-filter-applied";
|
|
685
685
|
data: {
|
|
686
686
|
userId: string;
|
|
687
|
-
regions: import(
|
|
687
|
+
regions: import('./event').Region[];
|
|
688
688
|
};
|
|
689
689
|
time: string;
|
|
690
690
|
}, {
|
|
691
691
|
type: "region-filter-applied";
|
|
692
692
|
data: {
|
|
693
693
|
userId: string;
|
|
694
|
-
regions: import(
|
|
694
|
+
regions: import('./event').Region[];
|
|
695
695
|
};
|
|
696
696
|
time: string;
|
|
697
697
|
}>]>;
|