@sortipei/api-contracts 0.1.39 → 0.1.40
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/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 +21 -6
- package/dist/api-contracts.mjs +21 -6
- package/dist/shared/stats.d.ts +20 -20
- package/package.json +1 -1
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,38 @@ 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;
|
|
43
47
|
adress: string;
|
|
44
48
|
capacity: number | null;
|
|
45
|
-
createdAt: string;
|
|
46
49
|
description: string;
|
|
47
50
|
externalSourceId: string | null;
|
|
48
51
|
finishTime: string | null;
|
|
49
52
|
hasHandicapAccess: boolean | null;
|
|
50
|
-
id: string & z.BRAND<"EventId">;
|
|
51
53
|
imageBlurHashes: string[];
|
|
52
54
|
imageUrls: string[];
|
|
53
55
|
isDisplayed: boolean;
|
|
@@ -55,28 +57,29 @@ export declare const EventDTOSchema: z.ZodObject<{
|
|
|
55
57
|
isOldTimes: boolean;
|
|
56
58
|
isPriceRange: boolean;
|
|
57
59
|
isPromoted: boolean;
|
|
58
|
-
link: string | null;
|
|
59
60
|
price: number | null;
|
|
60
|
-
|
|
61
|
+
secondaryCategory: import('../../shared').Category | null;
|
|
61
62
|
thumbnailUrl: string | null;
|
|
62
63
|
ticketsUrl: string | null;
|
|
64
|
+
title: string;
|
|
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;
|
|
72
77
|
adress: string;
|
|
73
78
|
capacity: number | null;
|
|
74
|
-
createdAt: string;
|
|
75
79
|
description: string;
|
|
76
80
|
externalSourceId: string | null;
|
|
77
81
|
finishTime: string | null;
|
|
78
82
|
hasHandicapAccess: boolean | null;
|
|
79
|
-
id: string;
|
|
80
83
|
imageBlurHashes: string[];
|
|
81
84
|
imageUrls: string[];
|
|
82
85
|
isDisplayed: boolean;
|
|
@@ -84,21 +87,21 @@ export declare const EventDTOSchema: z.ZodObject<{
|
|
|
84
87
|
isOldTimes: boolean;
|
|
85
88
|
isPriceRange: boolean;
|
|
86
89
|
isPromoted: boolean;
|
|
87
|
-
link: string | null;
|
|
88
90
|
price: number | null;
|
|
89
|
-
|
|
91
|
+
secondaryCategory: import('../../shared').Category | null;
|
|
90
92
|
thumbnailUrl: string | null;
|
|
91
93
|
ticketsUrl: string | null;
|
|
94
|
+
title: string;
|
|
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,62 +116,65 @@ 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;
|
|
125
131
|
adress: string;
|
|
126
132
|
capacity: number | null;
|
|
127
133
|
description: string;
|
|
128
134
|
externalSourceId: string | null;
|
|
129
135
|
finishTime: string | null;
|
|
130
136
|
hasHandicapAccess: boolean | null;
|
|
131
|
-
id: string & z.BRAND<"EventId">;
|
|
132
137
|
imageBlurHashes: string[];
|
|
133
138
|
imageUrls: string[];
|
|
134
139
|
isDisplayed: boolean;
|
|
135
140
|
isExhibition: boolean;
|
|
136
141
|
isOldTimes: boolean;
|
|
137
142
|
isPriceRange: boolean;
|
|
138
|
-
link: string | null;
|
|
139
143
|
price: number | null;
|
|
140
|
-
|
|
144
|
+
secondaryCategory: import('../../shared').Category | null;
|
|
141
145
|
thumbnailUrl: string | null;
|
|
142
146
|
ticketsUrl: string | null;
|
|
147
|
+
title: string;
|
|
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;
|
|
148
155
|
adress: string;
|
|
149
156
|
capacity: number | null;
|
|
150
157
|
description: string;
|
|
151
158
|
externalSourceId: string | null;
|
|
152
159
|
finishTime: string | null;
|
|
153
160
|
hasHandicapAccess: boolean | null;
|
|
154
|
-
id: string;
|
|
155
161
|
imageBlurHashes: string[];
|
|
156
162
|
imageUrls: string[];
|
|
157
163
|
isDisplayed: boolean;
|
|
158
164
|
isExhibition: boolean;
|
|
159
165
|
isOldTimes: boolean;
|
|
160
166
|
isPriceRange: boolean;
|
|
161
|
-
link: string | null;
|
|
162
167
|
price: number | null;
|
|
163
|
-
|
|
168
|
+
secondaryCategory: import('../../shared').Category | null;
|
|
164
169
|
thumbnailUrl: string | null;
|
|
165
170
|
ticketsUrl: string | null;
|
|
171
|
+
title: string;
|
|
166
172
|
organizersIds: string[];
|
|
167
173
|
}>;
|
|
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,17 @@ 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;
|
|
195
203
|
adress: string;
|
|
196
204
|
capacity: number | null;
|
|
197
205
|
description: string;
|
|
@@ -204,16 +212,17 @@ export declare const UpdateEventDTOSchema: z.ZodObject<Omit<{
|
|
|
204
212
|
isExhibition: boolean;
|
|
205
213
|
isOldTimes: boolean;
|
|
206
214
|
isPriceRange: boolean;
|
|
207
|
-
link: string | null;
|
|
208
215
|
price: number | null;
|
|
209
|
-
|
|
216
|
+
secondaryCategory: import('../../shared').Category | null;
|
|
210
217
|
thumbnailUrl: string | null;
|
|
211
218
|
ticketsUrl: string | null;
|
|
219
|
+
title: string;
|
|
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;
|
|
217
226
|
adress: string;
|
|
218
227
|
capacity: number | null;
|
|
219
228
|
description: string;
|
|
@@ -226,11 +235,11 @@ export declare const UpdateEventDTOSchema: z.ZodObject<Omit<{
|
|
|
226
235
|
isExhibition: boolean;
|
|
227
236
|
isOldTimes: boolean;
|
|
228
237
|
isPriceRange: boolean;
|
|
229
|
-
link: string | null;
|
|
230
238
|
price: number | null;
|
|
231
|
-
|
|
239
|
+
secondaryCategory: import('../../shared').Category | null;
|
|
232
240
|
thumbnailUrl: string | null;
|
|
233
241
|
ticketsUrl: string | null;
|
|
242
|
+
title: string;
|
|
234
243
|
organizersIds: string[];
|
|
235
244
|
}>;
|
|
236
245
|
export declare const DisplayEventDTOSchema: z.ZodObject<{
|
|
@@ -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,38 @@ 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;
|
|
314
327
|
adress?: string | undefined;
|
|
315
328
|
capacity?: number | null | undefined;
|
|
316
|
-
createdAt?: string | undefined;
|
|
317
329
|
description?: string | undefined;
|
|
318
330
|
externalSourceId?: string | null | undefined;
|
|
319
331
|
finishTime?: string | null | undefined;
|
|
320
332
|
hasHandicapAccess?: boolean | null | undefined;
|
|
321
|
-
id?: (string & z.BRAND<"EventId">) | undefined;
|
|
322
333
|
imageBlurHashes?: string[] | undefined;
|
|
323
334
|
imageUrls?: string[] | undefined;
|
|
324
335
|
isDisplayed?: boolean | undefined;
|
|
@@ -326,28 +337,29 @@ export declare const ImportDTOSchema: z.ZodObject<{
|
|
|
326
337
|
isOldTimes?: boolean | undefined;
|
|
327
338
|
isPriceRange?: boolean | undefined;
|
|
328
339
|
isPromoted?: boolean | undefined;
|
|
329
|
-
link?: string | null | undefined;
|
|
330
340
|
price?: number | null | undefined;
|
|
331
|
-
|
|
341
|
+
secondaryCategory?: import('../../shared').Category | null | undefined;
|
|
332
342
|
thumbnailUrl?: string | null | undefined;
|
|
333
343
|
ticketsUrl?: string | null | undefined;
|
|
344
|
+
title?: string | 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;
|
|
343
357
|
adress?: string | undefined;
|
|
344
358
|
capacity?: number | null | undefined;
|
|
345
|
-
createdAt?: string | undefined;
|
|
346
359
|
description?: string | undefined;
|
|
347
360
|
externalSourceId?: string | null | undefined;
|
|
348
361
|
finishTime?: string | null | undefined;
|
|
349
362
|
hasHandicapAccess?: boolean | null | undefined;
|
|
350
|
-
id?: string | undefined;
|
|
351
363
|
imageBlurHashes?: string[] | undefined;
|
|
352
364
|
imageUrls?: string[] | undefined;
|
|
353
365
|
isDisplayed?: boolean | undefined;
|
|
@@ -355,18 +367,18 @@ export declare const ImportDTOSchema: z.ZodObject<{
|
|
|
355
367
|
isOldTimes?: boolean | undefined;
|
|
356
368
|
isPriceRange?: boolean | undefined;
|
|
357
369
|
isPromoted?: boolean | undefined;
|
|
358
|
-
link?: string | null | undefined;
|
|
359
370
|
price?: number | null | undefined;
|
|
360
|
-
|
|
371
|
+
secondaryCategory?: import('../../shared').Category | null | undefined;
|
|
361
372
|
thumbnailUrl?: string | null | undefined;
|
|
362
373
|
ticketsUrl?: string | null | undefined;
|
|
374
|
+
title?: string | 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,18 @@ 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;
|
|
380
395
|
adress?: string | undefined;
|
|
381
396
|
capacity?: number | null | undefined;
|
|
382
|
-
createdAt?: string | undefined;
|
|
383
397
|
description?: string | undefined;
|
|
384
398
|
externalSourceId?: string | null | undefined;
|
|
385
399
|
finishTime?: string | null | undefined;
|
|
386
400
|
hasHandicapAccess?: boolean | null | undefined;
|
|
387
|
-
id?: (string & z.BRAND<"EventId">) | undefined;
|
|
388
401
|
imageBlurHashes?: string[] | undefined;
|
|
389
402
|
imageUrls?: string[] | undefined;
|
|
390
403
|
isDisplayed?: boolean | undefined;
|
|
@@ -392,35 +405,36 @@ export declare const ImportDTOSchema: z.ZodObject<{
|
|
|
392
405
|
isOldTimes?: boolean | undefined;
|
|
393
406
|
isPriceRange?: boolean | undefined;
|
|
394
407
|
isPromoted?: boolean | undefined;
|
|
395
|
-
link?: string | null | undefined;
|
|
396
408
|
price?: number | null | undefined;
|
|
397
|
-
|
|
409
|
+
secondaryCategory?: import('../../shared').Category | null | undefined;
|
|
398
410
|
thumbnailUrl?: string | null | undefined;
|
|
399
411
|
ticketsUrl?: string | null | undefined;
|
|
412
|
+
title?: string | 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;
|
|
416
432
|
adress?: string | undefined;
|
|
417
433
|
capacity?: number | null | undefined;
|
|
418
|
-
createdAt?: string | undefined;
|
|
419
434
|
description?: string | undefined;
|
|
420
435
|
externalSourceId?: string | null | undefined;
|
|
421
436
|
finishTime?: string | null | undefined;
|
|
422
437
|
hasHandicapAccess?: boolean | null | undefined;
|
|
423
|
-
id?: string | undefined;
|
|
424
438
|
imageBlurHashes?: string[] | undefined;
|
|
425
439
|
imageUrls?: string[] | undefined;
|
|
426
440
|
isDisplayed?: boolean | undefined;
|
|
@@ -428,18 +442,18 @@ export declare const ImportDTOSchema: z.ZodObject<{
|
|
|
428
442
|
isOldTimes?: boolean | undefined;
|
|
429
443
|
isPriceRange?: boolean | undefined;
|
|
430
444
|
isPromoted?: boolean | undefined;
|
|
431
|
-
link?: string | null | undefined;
|
|
432
445
|
price?: number | null | undefined;
|
|
433
|
-
|
|
446
|
+
secondaryCategory?: import('../../shared').Category | null | undefined;
|
|
434
447
|
thumbnailUrl?: string | null | undefined;
|
|
435
448
|
ticketsUrl?: string | null | undefined;
|
|
449
|
+
title?: string | 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,38 @@ 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;
|
|
44
48
|
adress?: string | undefined;
|
|
45
49
|
capacity?: number | null | undefined;
|
|
46
|
-
createdAt?: string | undefined;
|
|
47
50
|
description?: string | undefined;
|
|
48
51
|
externalSourceId?: string | null | undefined;
|
|
49
52
|
finishTime?: string | null | undefined;
|
|
50
53
|
hasHandicapAccess?: boolean | null | undefined;
|
|
51
|
-
id?: (string & z.BRAND<"EventId">) | undefined;
|
|
52
54
|
imageBlurHashes?: string[] | undefined;
|
|
53
55
|
imageUrls?: string[] | undefined;
|
|
54
56
|
isDisplayed?: boolean | undefined;
|
|
@@ -56,28 +58,29 @@ export declare const CreatePartialImportedEventDTOSchema: z.ZodObject<{
|
|
|
56
58
|
isOldTimes?: boolean | undefined;
|
|
57
59
|
isPriceRange?: boolean | undefined;
|
|
58
60
|
isPromoted?: boolean | undefined;
|
|
59
|
-
link?: string | null | undefined;
|
|
60
61
|
price?: number | null | undefined;
|
|
61
|
-
|
|
62
|
+
secondaryCategory?: import('../../shared').Category | null | undefined;
|
|
62
63
|
thumbnailUrl?: string | null | undefined;
|
|
63
64
|
ticketsUrl?: string | null | undefined;
|
|
65
|
+
title?: string | 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;
|
|
73
78
|
adress?: string | undefined;
|
|
74
79
|
capacity?: number | null | undefined;
|
|
75
|
-
createdAt?: string | undefined;
|
|
76
80
|
description?: string | undefined;
|
|
77
81
|
externalSourceId?: string | null | undefined;
|
|
78
82
|
finishTime?: string | null | undefined;
|
|
79
83
|
hasHandicapAccess?: boolean | null | undefined;
|
|
80
|
-
id?: string | undefined;
|
|
81
84
|
imageBlurHashes?: string[] | undefined;
|
|
82
85
|
imageUrls?: string[] | undefined;
|
|
83
86
|
isDisplayed?: boolean | undefined;
|
|
@@ -85,36 +88,37 @@ export declare const CreatePartialImportedEventDTOSchema: z.ZodObject<{
|
|
|
85
88
|
isOldTimes?: boolean | undefined;
|
|
86
89
|
isPriceRange?: boolean | undefined;
|
|
87
90
|
isPromoted?: boolean | undefined;
|
|
88
|
-
link?: string | null | undefined;
|
|
89
91
|
price?: number | null | undefined;
|
|
90
|
-
|
|
92
|
+
secondaryCategory?: import('../../shared').Category | null | undefined;
|
|
91
93
|
thumbnailUrl?: string | null | undefined;
|
|
92
94
|
ticketsUrl?: string | null | undefined;
|
|
95
|
+
title?: string | 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;
|
|
110
116
|
adress?: string | undefined;
|
|
111
117
|
capacity?: number | null | undefined;
|
|
112
|
-
createdAt?: string | undefined;
|
|
113
118
|
description?: string | undefined;
|
|
114
119
|
externalSourceId?: string | null | undefined;
|
|
115
120
|
finishTime?: string | null | undefined;
|
|
116
121
|
hasHandicapAccess?: boolean | null | undefined;
|
|
117
|
-
id?: (string & z.BRAND<"EventId">) | undefined;
|
|
118
122
|
imageBlurHashes?: string[] | undefined;
|
|
119
123
|
imageUrls?: string[] | undefined;
|
|
120
124
|
isDisplayed?: boolean | undefined;
|
|
@@ -122,34 +126,35 @@ export declare const CreatePartialImportedEventDTOSchema: z.ZodObject<{
|
|
|
122
126
|
isOldTimes?: boolean | undefined;
|
|
123
127
|
isPriceRange?: boolean | undefined;
|
|
124
128
|
isPromoted?: boolean | undefined;
|
|
125
|
-
link?: string | null | undefined;
|
|
126
129
|
price?: number | null | undefined;
|
|
127
|
-
|
|
130
|
+
secondaryCategory?: import('../../shared').Category | null | undefined;
|
|
128
131
|
thumbnailUrl?: string | null | undefined;
|
|
129
132
|
ticketsUrl?: string | null | undefined;
|
|
133
|
+
title?: string | 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;
|
|
145
152
|
adress?: string | undefined;
|
|
146
153
|
capacity?: number | null | undefined;
|
|
147
|
-
createdAt?: string | undefined;
|
|
148
154
|
description?: string | undefined;
|
|
149
155
|
externalSourceId?: string | null | undefined;
|
|
150
156
|
finishTime?: string | null | undefined;
|
|
151
157
|
hasHandicapAccess?: boolean | null | undefined;
|
|
152
|
-
id?: string | undefined;
|
|
153
158
|
imageBlurHashes?: string[] | undefined;
|
|
154
159
|
imageUrls?: string[] | undefined;
|
|
155
160
|
isDisplayed?: boolean | undefined;
|
|
@@ -157,18 +162,18 @@ export declare const CreatePartialImportedEventDTOSchema: z.ZodObject<{
|
|
|
157
162
|
isOldTimes?: boolean | undefined;
|
|
158
163
|
isPriceRange?: boolean | undefined;
|
|
159
164
|
isPromoted?: boolean | undefined;
|
|
160
|
-
link?: string | null | undefined;
|
|
161
165
|
price?: number | null | undefined;
|
|
162
|
-
|
|
166
|
+
secondaryCategory?: import('../../shared').Category | null | undefined;
|
|
163
167
|
thumbnailUrl?: string | null | undefined;
|
|
164
168
|
ticketsUrl?: string | null | undefined;
|
|
169
|
+
title?: string | 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
|
]);
|
|
@@ -4247,15 +4255,18 @@ const EventDTOSchema = z.object({
|
|
|
4247
4255
|
imageBlurHashes: StringSchema.array(),
|
|
4248
4256
|
imageUrls: URLSchema.array(),
|
|
4249
4257
|
isDisplayed: z.boolean(),
|
|
4250
|
-
|
|
4258
|
+
isExhibition: z.boolean(),
|
|
4259
|
+
isOldTimes: z.boolean(),
|
|
4251
4260
|
isPriceRange: z.boolean(),
|
|
4261
|
+
isPromoted: z.boolean(),
|
|
4252
4262
|
link: URLSchema.nullable(),
|
|
4253
4263
|
price: SafeNonNegativeFloatSchema.nullable(),
|
|
4254
4264
|
regions: RegionSchema.array(),
|
|
4265
|
+
secondaryCategory: CategorySchema.nullable(),
|
|
4255
4266
|
startTime: z.string().datetime(),
|
|
4256
|
-
title: StringSchema,
|
|
4257
4267
|
thumbnailUrl: URLSchema.nullable(),
|
|
4258
4268
|
ticketsUrl: URLSchema.nullable(),
|
|
4269
|
+
title: StringSchema,
|
|
4259
4270
|
organizers: z.object({
|
|
4260
4271
|
id: OrganizerIdSchema,
|
|
4261
4272
|
name: StringSchema,
|
|
@@ -4274,14 +4285,17 @@ const CreateEventDTOSchema = z.object({
|
|
|
4274
4285
|
imageBlurHashes: StringSchema.array(),
|
|
4275
4286
|
imageUrls: URLSchema.array(),
|
|
4276
4287
|
isDisplayed: z.boolean(),
|
|
4288
|
+
isExhibition: z.boolean(),
|
|
4289
|
+
isOldTimes: z.boolean(),
|
|
4277
4290
|
isPriceRange: z.boolean(),
|
|
4278
4291
|
link: URLSchema.nullable(),
|
|
4279
4292
|
organizersIds: OrganizerIdSchema.array().min(1),
|
|
4280
4293
|
price: SafeNonNegativeFloatSchema.nullable(),
|
|
4281
4294
|
regions: RegionSchema.array(),
|
|
4295
|
+
secondaryCategory: CategorySchema.nullable(),
|
|
4282
4296
|
startTime: z.string().datetime(),
|
|
4283
|
-
title: StringSchema,
|
|
4284
4297
|
thumbnailUrl: URLSchema.nullable(),
|
|
4298
|
+
title: StringSchema,
|
|
4285
4299
|
ticketsUrl: URLSchema.nullable()
|
|
4286
4300
|
});
|
|
4287
4301
|
const UpdateEventDTOSchema = CreateEventDTOSchema.omit({
|
|
@@ -4312,7 +4326,7 @@ const ImportDTOSchema = z.object({
|
|
|
4312
4326
|
id: StringSchema,
|
|
4313
4327
|
organizersNames: StringSchema.array(),
|
|
4314
4328
|
partialEventState: EventDTOSchema.partial(),
|
|
4315
|
-
source:
|
|
4329
|
+
source: StringSchema,
|
|
4316
4330
|
userId: StringSchema
|
|
4317
4331
|
});
|
|
4318
4332
|
const EventFileUploadDTOSchema = z.object({
|
|
@@ -4398,7 +4412,7 @@ const CreatePartialImportedEventDTOSchema = z.object({
|
|
|
4398
4412
|
token: StringSchema,
|
|
4399
4413
|
userId: StringSchema,
|
|
4400
4414
|
organizersNames: StringSchema.array(),
|
|
4401
|
-
source:
|
|
4415
|
+
source: StringSchema
|
|
4402
4416
|
});
|
|
4403
4417
|
const index$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
4404
4418
|
__proto__: null,
|
|
@@ -4426,6 +4440,7 @@ exports.EventSharedStatisticSchema = EventSharedStatisticSchema;
|
|
|
4426
4440
|
exports.EventTicketsClickedStatisticsSchema = EventTicketsClickedStatisticsSchema;
|
|
4427
4441
|
exports.FreeFilterAppliedStatisticSchema = FreeFilterAppliedStatisticSchema;
|
|
4428
4442
|
exports.MainAdIdSchema = MainAdIdSchema;
|
|
4443
|
+
exports.OldTimesFilterAppliedStatisticSchema = OldTimesFilterAppliedStatisticSchema;
|
|
4429
4444
|
exports.OrganizerDisplayedStatisticSchema = OrganizerDisplayedStatisticSchema;
|
|
4430
4445
|
exports.OrganizerIdSchema = OrganizerIdSchema;
|
|
4431
4446
|
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
|
]);
|
|
@@ -4245,15 +4253,18 @@ const EventDTOSchema = z.object({
|
|
|
4245
4253
|
imageBlurHashes: StringSchema.array(),
|
|
4246
4254
|
imageUrls: URLSchema.array(),
|
|
4247
4255
|
isDisplayed: z.boolean(),
|
|
4248
|
-
|
|
4256
|
+
isExhibition: z.boolean(),
|
|
4257
|
+
isOldTimes: z.boolean(),
|
|
4249
4258
|
isPriceRange: z.boolean(),
|
|
4259
|
+
isPromoted: z.boolean(),
|
|
4250
4260
|
link: URLSchema.nullable(),
|
|
4251
4261
|
price: SafeNonNegativeFloatSchema.nullable(),
|
|
4252
4262
|
regions: RegionSchema.array(),
|
|
4263
|
+
secondaryCategory: CategorySchema.nullable(),
|
|
4253
4264
|
startTime: z.string().datetime(),
|
|
4254
|
-
title: StringSchema,
|
|
4255
4265
|
thumbnailUrl: URLSchema.nullable(),
|
|
4256
4266
|
ticketsUrl: URLSchema.nullable(),
|
|
4267
|
+
title: StringSchema,
|
|
4257
4268
|
organizers: z.object({
|
|
4258
4269
|
id: OrganizerIdSchema,
|
|
4259
4270
|
name: StringSchema,
|
|
@@ -4272,14 +4283,17 @@ const CreateEventDTOSchema = z.object({
|
|
|
4272
4283
|
imageBlurHashes: StringSchema.array(),
|
|
4273
4284
|
imageUrls: URLSchema.array(),
|
|
4274
4285
|
isDisplayed: z.boolean(),
|
|
4286
|
+
isExhibition: z.boolean(),
|
|
4287
|
+
isOldTimes: z.boolean(),
|
|
4275
4288
|
isPriceRange: z.boolean(),
|
|
4276
4289
|
link: URLSchema.nullable(),
|
|
4277
4290
|
organizersIds: OrganizerIdSchema.array().min(1),
|
|
4278
4291
|
price: SafeNonNegativeFloatSchema.nullable(),
|
|
4279
4292
|
regions: RegionSchema.array(),
|
|
4293
|
+
secondaryCategory: CategorySchema.nullable(),
|
|
4280
4294
|
startTime: z.string().datetime(),
|
|
4281
|
-
title: StringSchema,
|
|
4282
4295
|
thumbnailUrl: URLSchema.nullable(),
|
|
4296
|
+
title: StringSchema,
|
|
4283
4297
|
ticketsUrl: URLSchema.nullable()
|
|
4284
4298
|
});
|
|
4285
4299
|
const UpdateEventDTOSchema = CreateEventDTOSchema.omit({
|
|
@@ -4310,7 +4324,7 @@ const ImportDTOSchema = z.object({
|
|
|
4310
4324
|
id: StringSchema,
|
|
4311
4325
|
organizersNames: StringSchema.array(),
|
|
4312
4326
|
partialEventState: EventDTOSchema.partial(),
|
|
4313
|
-
source:
|
|
4327
|
+
source: StringSchema,
|
|
4314
4328
|
userId: StringSchema
|
|
4315
4329
|
});
|
|
4316
4330
|
const EventFileUploadDTOSchema = z.object({
|
|
@@ -4396,7 +4410,7 @@ const CreatePartialImportedEventDTOSchema = z.object({
|
|
|
4396
4410
|
token: StringSchema,
|
|
4397
4411
|
userId: StringSchema,
|
|
4398
4412
|
organizersNames: StringSchema.array(),
|
|
4399
|
-
source:
|
|
4413
|
+
source: StringSchema
|
|
4400
4414
|
});
|
|
4401
4415
|
const index$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
4402
4416
|
__proto__: null,
|
|
@@ -4425,6 +4439,7 @@ export {
|
|
|
4425
4439
|
EventTicketsClickedStatisticsSchema,
|
|
4426
4440
|
FreeFilterAppliedStatisticSchema,
|
|
4427
4441
|
MainAdIdSchema,
|
|
4442
|
+
OldTimesFilterAppliedStatisticSchema,
|
|
4428
4443
|
OrganizerDisplayedStatisticSchema,
|
|
4429
4444
|
OrganizerIdSchema,
|
|
4430
4445
|
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
|
}>]>;
|