@sortipei/api-contracts 0.1.43 → 0.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,12 +1,32 @@
1
1
  import { z } from 'zod';
2
+ export declare const GPSCoordinatesSchema: z.ZodObject<{
3
+ latitude: z.ZodNumber;
4
+ longitude: z.ZodNumber;
5
+ }, "strip", z.ZodTypeAny, {
6
+ latitude: number;
7
+ longitude: number;
8
+ }, {
9
+ latitude: number;
10
+ longitude: number;
11
+ }>;
2
12
  export declare const EventDTOSchema: z.ZodObject<{
3
13
  adress: z.ZodString;
4
14
  capacity: z.ZodNullable<z.ZodNumber>;
5
- category: z.ZodNativeEnum<typeof import('../../shared').Category>;
15
+ category: z.ZodNativeEnum<typeof import("../../shared").Category>;
6
16
  createdAt: z.ZodString;
7
17
  description: z.ZodString;
8
18
  externalSourceId: z.ZodNullable<z.ZodString>;
9
19
  finishTime: z.ZodNullable<z.ZodString>;
20
+ gpsCoordinates: z.ZodNullable<z.ZodObject<{
21
+ latitude: z.ZodNumber;
22
+ longitude: z.ZodNumber;
23
+ }, "strip", z.ZodTypeAny, {
24
+ latitude: number;
25
+ longitude: number;
26
+ }, {
27
+ latitude: number;
28
+ longitude: number;
29
+ }>>;
10
30
  hasHandicapAccess: z.ZodNullable<z.ZodBoolean>;
11
31
  id: z.ZodBranded<z.ZodString, "EventId">;
12
32
  imageBlurHashes: z.ZodArray<z.ZodString, "many">;
@@ -18,8 +38,8 @@ export declare const EventDTOSchema: z.ZodObject<{
18
38
  isPromoted: z.ZodBoolean;
19
39
  link: z.ZodNullable<z.ZodString>;
20
40
  price: z.ZodNullable<z.ZodNumber>;
21
- regions: z.ZodArray<z.ZodNativeEnum<typeof import('../../shared').Region>, "many">;
22
- secondaryCategory: z.ZodNullable<z.ZodNativeEnum<typeof import('../../shared').Category>>;
41
+ regions: z.ZodArray<z.ZodNativeEnum<typeof import("../../shared").Region>, "many">;
42
+ secondaryCategory: z.ZodNullable<z.ZodNativeEnum<typeof import("../../shared").Category>>;
23
43
  startTime: z.ZodString;
24
44
  thumbnailUrl: z.ZodNullable<z.ZodString>;
25
45
  ticketsUrl: z.ZodNullable<z.ZodString>;
@@ -30,27 +50,27 @@ export declare const EventDTOSchema: z.ZodObject<{
30
50
  imageUrl: z.ZodNullable<z.ZodString>;
31
51
  }, "strip", z.ZodTypeAny, {
32
52
  id: string & z.BRAND<"OrganizerId">;
33
- imageUrl: string | null;
34
53
  name: string;
54
+ imageUrl: string | null;
35
55
  }, {
36
56
  id: string;
37
- imageUrl: string | null;
38
57
  name: string;
58
+ imageUrl: string | null;
39
59
  }>, "many">;
40
60
  }, "strip", z.ZodTypeAny, {
41
- regions: import('../../shared').Region[];
42
- category: import('../../shared').Category;
43
- startTime: string;
44
- createdAt: string;
45
- id: string & z.BRAND<"EventId">;
46
- link: string | null;
47
- title: string;
48
61
  adress: string;
49
62
  capacity: number | null;
63
+ category: import("../../shared").Category;
64
+ createdAt: string;
50
65
  description: string;
51
66
  externalSourceId: string | null;
52
67
  finishTime: string | null;
68
+ gpsCoordinates: {
69
+ latitude: number;
70
+ longitude: number;
71
+ } | null;
53
72
  hasHandicapAccess: boolean | null;
73
+ id: string & z.BRAND<"EventId">;
54
74
  imageBlurHashes: string[];
55
75
  imageUrls: string[];
56
76
  isDisplayed: boolean;
@@ -58,29 +78,33 @@ export declare const EventDTOSchema: z.ZodObject<{
58
78
  isOldTimes: boolean;
59
79
  isPriceRange: boolean;
60
80
  isPromoted: boolean;
81
+ link: string | null;
61
82
  price: number | null;
62
- secondaryCategory: import('../../shared').Category | null;
83
+ regions: import("../../shared").Region[];
84
+ secondaryCategory: import("../../shared").Category | null;
85
+ startTime: string;
63
86
  thumbnailUrl: string | null;
64
87
  ticketsUrl: string | null;
88
+ title: string;
65
89
  organizers: {
66
90
  id: string & z.BRAND<"OrganizerId">;
67
- imageUrl: string | null;
68
91
  name: string;
92
+ imageUrl: string | null;
69
93
  }[];
70
94
  }, {
71
- regions: import('../../shared').Region[];
72
- category: import('../../shared').Category;
73
- startTime: string;
74
- createdAt: string;
75
- id: string;
76
- link: string | null;
77
- title: string;
78
95
  adress: string;
79
96
  capacity: number | null;
97
+ category: import("../../shared").Category;
98
+ createdAt: string;
80
99
  description: string;
81
100
  externalSourceId: string | null;
82
101
  finishTime: string | null;
102
+ gpsCoordinates: {
103
+ latitude: number;
104
+ longitude: number;
105
+ } | null;
83
106
  hasHandicapAccess: boolean | null;
107
+ id: string;
84
108
  imageBlurHashes: string[];
85
109
  imageUrls: string[];
86
110
  isDisplayed: boolean;
@@ -88,20 +112,24 @@ export declare const EventDTOSchema: z.ZodObject<{
88
112
  isOldTimes: boolean;
89
113
  isPriceRange: boolean;
90
114
  isPromoted: boolean;
115
+ link: string | null;
91
116
  price: number | null;
92
- secondaryCategory: import('../../shared').Category | null;
117
+ regions: import("../../shared").Region[];
118
+ secondaryCategory: import("../../shared").Category | null;
119
+ startTime: string;
93
120
  thumbnailUrl: string | null;
94
121
  ticketsUrl: string | null;
122
+ title: string;
95
123
  organizers: {
96
124
  id: string;
97
- imageUrl: string | null;
98
125
  name: string;
126
+ imageUrl: string | null;
99
127
  }[];
100
128
  }>;
101
129
  export declare const CreateEventDTOSchema: z.ZodObject<{
102
130
  adress: z.ZodString;
103
131
  capacity: z.ZodNullable<z.ZodNumber>;
104
- category: z.ZodNativeEnum<typeof import('../../shared').Category>;
132
+ category: z.ZodNativeEnum<typeof import("../../shared").Category>;
105
133
  description: z.ZodString;
106
134
  externalSourceId: z.ZodNullable<z.ZodString>;
107
135
  finishTime: z.ZodNullable<z.ZodString>;
@@ -116,65 +144,65 @@ export declare const CreateEventDTOSchema: z.ZodObject<{
116
144
  link: z.ZodNullable<z.ZodString>;
117
145
  organizersIds: z.ZodArray<z.ZodBranded<z.ZodString, "OrganizerId">, "many">;
118
146
  price: z.ZodNullable<z.ZodNumber>;
119
- regions: z.ZodArray<z.ZodNativeEnum<typeof import('../../shared').Region>, "many">;
120
- secondaryCategory: z.ZodNullable<z.ZodNativeEnum<typeof import('../../shared').Category>>;
147
+ regions: z.ZodArray<z.ZodNativeEnum<typeof import("../../shared").Region>, "many">;
148
+ secondaryCategory: z.ZodNullable<z.ZodNativeEnum<typeof import("../../shared").Category>>;
121
149
  startTime: z.ZodString;
122
150
  thumbnailUrl: z.ZodNullable<z.ZodString>;
123
151
  title: z.ZodString;
124
152
  ticketsUrl: z.ZodNullable<z.ZodString>;
125
153
  }, "strip", z.ZodTypeAny, {
126
- regions: import('../../shared').Region[];
127
- category: import('../../shared').Category;
128
- startTime: string;
129
- id: string & z.BRAND<"EventId">;
130
- link: string | null;
131
- title: string;
132
154
  adress: string;
133
155
  capacity: number | null;
156
+ category: import("../../shared").Category;
134
157
  description: string;
135
158
  externalSourceId: string | null;
136
159
  finishTime: string | null;
137
160
  hasHandicapAccess: boolean | null;
161
+ id: string & z.BRAND<"EventId">;
138
162
  imageBlurHashes: string[];
139
163
  imageUrls: string[];
140
164
  isDisplayed: boolean;
141
165
  isExhibition: boolean;
142
166
  isOldTimes: boolean;
143
167
  isPriceRange: boolean;
168
+ link: string | null;
144
169
  price: number | null;
145
- secondaryCategory: import('../../shared').Category | null;
170
+ regions: import("../../shared").Region[];
171
+ secondaryCategory: import("../../shared").Category | null;
172
+ startTime: string;
146
173
  thumbnailUrl: string | null;
147
174
  ticketsUrl: string | null;
175
+ title: string;
148
176
  organizersIds: (string & z.BRAND<"OrganizerId">)[];
149
177
  }, {
150
- regions: import('../../shared').Region[];
151
- category: import('../../shared').Category;
152
- startTime: string;
153
- id: string;
154
- link: string | null;
155
- title: string;
156
178
  adress: string;
157
179
  capacity: number | null;
180
+ category: import("../../shared").Category;
158
181
  description: string;
159
182
  externalSourceId: string | null;
160
183
  finishTime: string | null;
161
184
  hasHandicapAccess: boolean | null;
185
+ id: string;
162
186
  imageBlurHashes: string[];
163
187
  imageUrls: string[];
164
188
  isDisplayed: boolean;
165
189
  isExhibition: boolean;
166
190
  isOldTimes: boolean;
167
191
  isPriceRange: boolean;
192
+ link: string | null;
168
193
  price: number | null;
169
- secondaryCategory: import('../../shared').Category | null;
194
+ regions: import("../../shared").Region[];
195
+ secondaryCategory: import("../../shared").Category | null;
196
+ startTime: string;
170
197
  thumbnailUrl: string | null;
171
198
  ticketsUrl: string | null;
199
+ title: string;
172
200
  organizersIds: string[];
173
201
  }>;
174
202
  export declare const UpdateEventDTOSchema: z.ZodObject<Omit<{
175
203
  adress: z.ZodString;
176
204
  capacity: z.ZodNullable<z.ZodNumber>;
177
- category: z.ZodNativeEnum<typeof import('../../shared').Category>;
205
+ category: z.ZodNativeEnum<typeof import("../../shared").Category>;
178
206
  description: z.ZodString;
179
207
  externalSourceId: z.ZodNullable<z.ZodString>;
180
208
  finishTime: z.ZodNullable<z.ZodString>;
@@ -189,20 +217,16 @@ export declare const UpdateEventDTOSchema: z.ZodObject<Omit<{
189
217
  link: z.ZodNullable<z.ZodString>;
190
218
  organizersIds: z.ZodArray<z.ZodBranded<z.ZodString, "OrganizerId">, "many">;
191
219
  price: z.ZodNullable<z.ZodNumber>;
192
- regions: z.ZodArray<z.ZodNativeEnum<typeof import('../../shared').Region>, "many">;
193
- secondaryCategory: z.ZodNullable<z.ZodNativeEnum<typeof import('../../shared').Category>>;
220
+ regions: z.ZodArray<z.ZodNativeEnum<typeof import("../../shared").Region>, "many">;
221
+ secondaryCategory: z.ZodNullable<z.ZodNativeEnum<typeof import("../../shared").Category>>;
194
222
  startTime: z.ZodString;
195
223
  thumbnailUrl: z.ZodNullable<z.ZodString>;
196
224
  title: z.ZodString;
197
225
  ticketsUrl: z.ZodNullable<z.ZodString>;
198
226
  }, "id">, "strip", z.ZodTypeAny, {
199
- regions: import('../../shared').Region[];
200
- category: import('../../shared').Category;
201
- startTime: string;
202
- link: string | null;
203
- title: string;
204
227
  adress: string;
205
228
  capacity: number | null;
229
+ category: import("../../shared").Category;
206
230
  description: string;
207
231
  externalSourceId: string | null;
208
232
  finishTime: string | null;
@@ -213,19 +237,19 @@ export declare const UpdateEventDTOSchema: z.ZodObject<Omit<{
213
237
  isExhibition: boolean;
214
238
  isOldTimes: boolean;
215
239
  isPriceRange: boolean;
240
+ link: string | null;
216
241
  price: number | null;
217
- secondaryCategory: import('../../shared').Category | null;
242
+ regions: import("../../shared").Region[];
243
+ secondaryCategory: import("../../shared").Category | null;
244
+ startTime: string;
218
245
  thumbnailUrl: string | null;
219
246
  ticketsUrl: string | null;
247
+ title: string;
220
248
  organizersIds: (string & z.BRAND<"OrganizerId">)[];
221
249
  }, {
222
- regions: import('../../shared').Region[];
223
- category: import('../../shared').Category;
224
- startTime: string;
225
- link: string | null;
226
- title: string;
227
250
  adress: string;
228
251
  capacity: number | null;
252
+ category: import("../../shared").Category;
229
253
  description: string;
230
254
  externalSourceId: string | null;
231
255
  finishTime: string | null;
@@ -236,10 +260,14 @@ export declare const UpdateEventDTOSchema: z.ZodObject<Omit<{
236
260
  isExhibition: boolean;
237
261
  isOldTimes: boolean;
238
262
  isPriceRange: boolean;
263
+ link: string | null;
239
264
  price: number | null;
240
- secondaryCategory: import('../../shared').Category | null;
265
+ regions: import("../../shared").Region[];
266
+ secondaryCategory: import("../../shared").Category | null;
267
+ startTime: string;
241
268
  thumbnailUrl: string | null;
242
269
  ticketsUrl: string | null;
270
+ title: string;
243
271
  organizersIds: string[];
244
272
  }>;
245
273
  export declare const DisplayEventDTOSchema: z.ZodObject<{
@@ -282,11 +310,21 @@ export declare const ImportDTOSchema: z.ZodObject<{
282
310
  partialEventState: z.ZodObject<{
283
311
  adress: z.ZodOptional<z.ZodString>;
284
312
  capacity: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
285
- category: z.ZodOptional<z.ZodNativeEnum<typeof import('../../shared').Category>>;
313
+ category: z.ZodOptional<z.ZodNativeEnum<typeof import("../../shared").Category>>;
286
314
  createdAt: z.ZodOptional<z.ZodString>;
287
315
  description: z.ZodOptional<z.ZodString>;
288
316
  externalSourceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
289
317
  finishTime: z.ZodOptional<z.ZodNullable<z.ZodString>>;
318
+ gpsCoordinates: z.ZodOptional<z.ZodNullable<z.ZodObject<{
319
+ latitude: z.ZodNumber;
320
+ longitude: z.ZodNumber;
321
+ }, "strip", z.ZodTypeAny, {
322
+ latitude: number;
323
+ longitude: number;
324
+ }, {
325
+ latitude: number;
326
+ longitude: number;
327
+ }>>>;
290
328
  hasHandicapAccess: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
291
329
  id: z.ZodOptional<z.ZodBranded<z.ZodString, "EventId">>;
292
330
  imageBlurHashes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
@@ -298,8 +336,8 @@ export declare const ImportDTOSchema: z.ZodObject<{
298
336
  isPromoted: z.ZodOptional<z.ZodBoolean>;
299
337
  link: z.ZodOptional<z.ZodNullable<z.ZodString>>;
300
338
  price: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
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>>>;
339
+ regions: z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof import("../../shared").Region>, "many">>;
340
+ secondaryCategory: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof import("../../shared").Category>>>;
303
341
  startTime: z.ZodOptional<z.ZodString>;
304
342
  thumbnailUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
305
343
  ticketsUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -310,27 +348,27 @@ export declare const ImportDTOSchema: z.ZodObject<{
310
348
  imageUrl: z.ZodNullable<z.ZodString>;
311
349
  }, "strip", z.ZodTypeAny, {
312
350
  id: string & z.BRAND<"OrganizerId">;
313
- imageUrl: string | null;
314
351
  name: string;
352
+ imageUrl: string | null;
315
353
  }, {
316
354
  id: string;
317
- imageUrl: string | null;
318
355
  name: string;
356
+ imageUrl: string | null;
319
357
  }>, "many">>;
320
358
  }, "strip", z.ZodTypeAny, {
321
- regions?: import('../../shared').Region[] | undefined;
322
- category?: import('../../shared').Category | undefined;
323
- startTime?: string | undefined;
324
- createdAt?: string | undefined;
325
- id?: (string & z.BRAND<"EventId">) | undefined;
326
- link?: string | null | undefined;
327
- title?: string | undefined;
328
359
  adress?: string | undefined;
329
360
  capacity?: number | null | undefined;
361
+ category?: import("../../shared").Category | undefined;
362
+ createdAt?: string | undefined;
330
363
  description?: string | undefined;
331
364
  externalSourceId?: string | null | undefined;
332
365
  finishTime?: string | null | undefined;
366
+ gpsCoordinates?: {
367
+ latitude: number;
368
+ longitude: number;
369
+ } | null | undefined;
333
370
  hasHandicapAccess?: boolean | null | undefined;
371
+ id?: (string & z.BRAND<"EventId">) | undefined;
334
372
  imageBlurHashes?: string[] | undefined;
335
373
  imageUrls?: string[] | undefined;
336
374
  isDisplayed?: boolean | undefined;
@@ -338,29 +376,33 @@ export declare const ImportDTOSchema: z.ZodObject<{
338
376
  isOldTimes?: boolean | undefined;
339
377
  isPriceRange?: boolean | undefined;
340
378
  isPromoted?: boolean | undefined;
379
+ link?: string | null | undefined;
341
380
  price?: number | null | undefined;
342
- secondaryCategory?: import('../../shared').Category | null | undefined;
381
+ regions?: import("../../shared").Region[] | undefined;
382
+ secondaryCategory?: import("../../shared").Category | null | undefined;
383
+ startTime?: string | undefined;
343
384
  thumbnailUrl?: string | null | undefined;
344
385
  ticketsUrl?: string | null | undefined;
386
+ title?: string | undefined;
345
387
  organizers?: {
346
388
  id: string & z.BRAND<"OrganizerId">;
347
- imageUrl: string | null;
348
389
  name: string;
390
+ imageUrl: string | null;
349
391
  }[] | undefined;
350
392
  }, {
351
- regions?: import('../../shared').Region[] | undefined;
352
- category?: import('../../shared').Category | undefined;
353
- startTime?: string | undefined;
354
- createdAt?: string | undefined;
355
- id?: string | undefined;
356
- link?: string | null | undefined;
357
- title?: string | undefined;
358
393
  adress?: string | undefined;
359
394
  capacity?: number | null | undefined;
395
+ category?: import("../../shared").Category | undefined;
396
+ createdAt?: string | undefined;
360
397
  description?: string | undefined;
361
398
  externalSourceId?: string | null | undefined;
362
399
  finishTime?: string | null | undefined;
400
+ gpsCoordinates?: {
401
+ latitude: number;
402
+ longitude: number;
403
+ } | null | undefined;
363
404
  hasHandicapAccess?: boolean | null | undefined;
405
+ id?: string | undefined;
364
406
  imageBlurHashes?: string[] | undefined;
365
407
  imageUrls?: string[] | undefined;
366
408
  isDisplayed?: boolean | undefined;
@@ -368,37 +410,40 @@ export declare const ImportDTOSchema: z.ZodObject<{
368
410
  isOldTimes?: boolean | undefined;
369
411
  isPriceRange?: boolean | undefined;
370
412
  isPromoted?: boolean | undefined;
413
+ link?: string | null | undefined;
371
414
  price?: number | null | undefined;
372
- secondaryCategory?: import('../../shared').Category | null | undefined;
415
+ regions?: import("../../shared").Region[] | undefined;
416
+ secondaryCategory?: import("../../shared").Category | null | undefined;
417
+ startTime?: string | undefined;
373
418
  thumbnailUrl?: string | null | undefined;
374
419
  ticketsUrl?: string | null | undefined;
420
+ title?: string | undefined;
375
421
  organizers?: {
376
422
  id: string;
377
- imageUrl: string | null;
378
423
  name: string;
424
+ imageUrl: string | null;
379
425
  }[] | undefined;
380
426
  }>;
381
427
  source: z.ZodString;
382
428
  userId: z.ZodString;
383
429
  }, "strip", z.ZodTypeAny, {
384
- userId: string;
385
430
  createdAt: string;
386
431
  id: string;
387
432
  organizersNames: string[];
388
433
  partialEventState: {
389
- regions?: import('../../shared').Region[] | undefined;
390
- category?: import('../../shared').Category | undefined;
391
- startTime?: string | undefined;
392
- createdAt?: string | undefined;
393
- id?: (string & z.BRAND<"EventId">) | undefined;
394
- link?: string | null | undefined;
395
- title?: string | undefined;
396
434
  adress?: string | undefined;
397
435
  capacity?: number | null | undefined;
436
+ category?: import("../../shared").Category | undefined;
437
+ createdAt?: string | undefined;
398
438
  description?: string | undefined;
399
439
  externalSourceId?: string | null | undefined;
400
440
  finishTime?: string | null | undefined;
441
+ gpsCoordinates?: {
442
+ latitude: number;
443
+ longitude: number;
444
+ } | null | undefined;
401
445
  hasHandicapAccess?: boolean | null | undefined;
446
+ id?: (string & z.BRAND<"EventId">) | undefined;
402
447
  imageBlurHashes?: string[] | undefined;
403
448
  imageUrls?: string[] | undefined;
404
449
  isDisplayed?: boolean | undefined;
@@ -406,36 +451,40 @@ export declare const ImportDTOSchema: z.ZodObject<{
406
451
  isOldTimes?: boolean | undefined;
407
452
  isPriceRange?: boolean | undefined;
408
453
  isPromoted?: boolean | undefined;
454
+ link?: string | null | undefined;
409
455
  price?: number | null | undefined;
410
- secondaryCategory?: import('../../shared').Category | null | undefined;
456
+ regions?: import("../../shared").Region[] | undefined;
457
+ secondaryCategory?: import("../../shared").Category | null | undefined;
458
+ startTime?: string | undefined;
411
459
  thumbnailUrl?: string | null | undefined;
412
460
  ticketsUrl?: string | null | undefined;
461
+ title?: string | undefined;
413
462
  organizers?: {
414
463
  id: string & z.BRAND<"OrganizerId">;
415
- imageUrl: string | null;
416
464
  name: string;
465
+ imageUrl: string | null;
417
466
  }[] | undefined;
418
467
  };
419
468
  source: string;
420
- }, {
421
469
  userId: string;
470
+ }, {
422
471
  createdAt: string;
423
472
  id: string;
424
473
  organizersNames: string[];
425
474
  partialEventState: {
426
- regions?: import('../../shared').Region[] | undefined;
427
- category?: import('../../shared').Category | undefined;
428
- startTime?: string | undefined;
429
- createdAt?: string | undefined;
430
- id?: string | undefined;
431
- link?: string | null | undefined;
432
- title?: string | undefined;
433
475
  adress?: string | undefined;
434
476
  capacity?: number | null | undefined;
477
+ category?: import("../../shared").Category | undefined;
478
+ createdAt?: string | undefined;
435
479
  description?: string | undefined;
436
480
  externalSourceId?: string | null | undefined;
437
481
  finishTime?: string | null | undefined;
482
+ gpsCoordinates?: {
483
+ latitude: number;
484
+ longitude: number;
485
+ } | null | undefined;
438
486
  hasHandicapAccess?: boolean | null | undefined;
487
+ id?: string | undefined;
439
488
  imageBlurHashes?: string[] | undefined;
440
489
  imageUrls?: string[] | undefined;
441
490
  isDisplayed?: boolean | undefined;
@@ -443,17 +492,22 @@ export declare const ImportDTOSchema: z.ZodObject<{
443
492
  isOldTimes?: boolean | undefined;
444
493
  isPriceRange?: boolean | undefined;
445
494
  isPromoted?: boolean | undefined;
495
+ link?: string | null | undefined;
446
496
  price?: number | null | undefined;
447
- secondaryCategory?: import('../../shared').Category | null | undefined;
497
+ regions?: import("../../shared").Region[] | undefined;
498
+ secondaryCategory?: import("../../shared").Category | null | undefined;
499
+ startTime?: string | undefined;
448
500
  thumbnailUrl?: string | null | undefined;
449
501
  ticketsUrl?: string | null | undefined;
502
+ title?: string | undefined;
450
503
  organizers?: {
451
504
  id: string;
452
- imageUrl: string | null;
453
505
  name: string;
506
+ imageUrl: string | null;
454
507
  }[] | undefined;
455
508
  };
456
509
  source: string;
510
+ userId: string;
457
511
  }>;
458
512
  export type ImportDTO = z.infer<typeof ImportDTOSchema>;
459
513
  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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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"}
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,oBAAoB;;;;;;;;;EAG/B,CAAC;AAEH,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAmCzB,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"}
@@ -229,14 +229,14 @@ export declare const SaveStatisticDTOSchema: z.ZodObject<{
229
229
  time: string;
230
230
  }>, z.ZodObject<{
231
231
  data: z.ZodObject<{
232
- category: z.ZodNativeEnum<typeof import("../../shared").Category>;
232
+ category: z.ZodNativeEnum<typeof import('../../shared').Category>;
233
233
  userId: z.ZodString;
234
234
  }, "strip", z.ZodTypeAny, {
235
235
  userId: string;
236
- category: import("../../shared").Category;
236
+ category: import('../../shared').Category;
237
237
  }, {
238
238
  userId: string;
239
- category: import("../../shared").Category;
239
+ category: import('../../shared').Category;
240
240
  }>;
241
241
  time: z.ZodString;
242
242
  type: z.ZodLiteral<"category-filter-applied">;
@@ -244,14 +244,14 @@ export declare const SaveStatisticDTOSchema: z.ZodObject<{
244
244
  type: "category-filter-applied";
245
245
  data: {
246
246
  userId: string;
247
- category: import("../../shared").Category;
247
+ category: import('../../shared').Category;
248
248
  };
249
249
  time: string;
250
250
  }, {
251
251
  type: "category-filter-applied";
252
252
  data: {
253
253
  userId: string;
254
- category: import("../../shared").Category;
254
+ category: import('../../shared').Category;
255
255
  };
256
256
  time: string;
257
257
  }>, z.ZodObject<{
@@ -521,14 +521,14 @@ export declare const SaveStatisticDTOSchema: z.ZodObject<{
521
521
  time: string;
522
522
  }>, z.ZodObject<{
523
523
  data: z.ZodObject<{
524
- regions: z.ZodArray<z.ZodNativeEnum<typeof import("../../shared").Region>, "many">;
524
+ regions: z.ZodArray<z.ZodNativeEnum<typeof import('../../shared').Region>, "many">;
525
525
  userId: z.ZodString;
526
526
  }, "strip", z.ZodTypeAny, {
527
527
  userId: string;
528
- regions: import("../../shared").Region[];
528
+ regions: import('../../shared').Region[];
529
529
  }, {
530
530
  userId: string;
531
- regions: import("../../shared").Region[];
531
+ regions: import('../../shared').Region[];
532
532
  }>;
533
533
  time: z.ZodString;
534
534
  type: z.ZodLiteral<"region-filter-applied">;
@@ -536,14 +536,14 @@ export declare const SaveStatisticDTOSchema: z.ZodObject<{
536
536
  type: "region-filter-applied";
537
537
  data: {
538
538
  userId: string;
539
- regions: import("../../shared").Region[];
539
+ regions: import('../../shared').Region[];
540
540
  };
541
541
  time: string;
542
542
  }, {
543
543
  type: "region-filter-applied";
544
544
  data: {
545
545
  userId: string;
546
- regions: import("../../shared").Region[];
546
+ regions: import('../../shared').Region[];
547
547
  };
548
548
  time: string;
549
549
  }>]>;
@@ -607,7 +607,7 @@ export declare const SaveStatisticDTOSchema: z.ZodObject<{
607
607
  type: "region-filter-applied";
608
608
  data: {
609
609
  userId: string;
610
- regions: import("../../shared").Region[];
610
+ regions: import('../../shared').Region[];
611
611
  };
612
612
  time: string;
613
613
  } | {
@@ -620,7 +620,7 @@ export declare const SaveStatisticDTOSchema: z.ZodObject<{
620
620
  type: "category-filter-applied";
621
621
  data: {
622
622
  userId: string;
623
- category: import("../../shared").Category;
623
+ category: import('../../shared').Category;
624
624
  };
625
625
  time: string;
626
626
  } | {
@@ -706,7 +706,7 @@ export declare const SaveStatisticDTOSchema: z.ZodObject<{
706
706
  type: "region-filter-applied";
707
707
  data: {
708
708
  userId: string;
709
- regions: import("../../shared").Region[];
709
+ regions: import('../../shared').Region[];
710
710
  };
711
711
  time: string;
712
712
  } | {
@@ -719,7 +719,7 @@ export declare const SaveStatisticDTOSchema: z.ZodObject<{
719
719
  type: "category-filter-applied";
720
720
  data: {
721
721
  userId: string;
722
- category: import("../../shared").Category;
722
+ category: import('../../shared').Category;
723
723
  };
724
724
  time: string;
725
725
  } | {
@@ -3,11 +3,21 @@ 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('../../shared').Category>>;
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>>;
10
10
  finishTime: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11
+ gpsCoordinates: z.ZodOptional<z.ZodNullable<z.ZodObject<{
12
+ latitude: z.ZodNumber;
13
+ longitude: z.ZodNumber;
14
+ }, "strip", z.ZodTypeAny, {
15
+ latitude: number;
16
+ longitude: number;
17
+ }, {
18
+ latitude: number;
19
+ longitude: number;
20
+ }>>>;
11
21
  hasHandicapAccess: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
12
22
  id: z.ZodOptional<z.ZodBranded<z.ZodString, "EventId">>;
13
23
  imageBlurHashes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
@@ -19,8 +29,8 @@ export declare const CreatePartialImportedEventDTOSchema: z.ZodObject<{
19
29
  isPromoted: z.ZodOptional<z.ZodBoolean>;
20
30
  link: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21
31
  price: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
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>>>;
32
+ regions: z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof import("../../shared").Region>, "many">>;
33
+ secondaryCategory: z.ZodOptional<z.ZodNullable<z.ZodNativeEnum<typeof import("../../shared").Category>>>;
24
34
  startTime: z.ZodOptional<z.ZodString>;
25
35
  thumbnailUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26
36
  ticketsUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -31,27 +41,27 @@ export declare const CreatePartialImportedEventDTOSchema: z.ZodObject<{
31
41
  imageUrl: z.ZodNullable<z.ZodString>;
32
42
  }, "strip", z.ZodTypeAny, {
33
43
  id: string & z.BRAND<"OrganizerId">;
34
- imageUrl: string | null;
35
44
  name: string;
45
+ imageUrl: string | null;
36
46
  }, {
37
47
  id: string;
38
- imageUrl: string | null;
39
48
  name: string;
49
+ imageUrl: string | null;
40
50
  }>, "many">>;
41
51
  }, "strip", z.ZodTypeAny, {
42
- regions?: import('../../shared').Region[] | undefined;
43
- category?: import('../../shared').Category | undefined;
44
- startTime?: string | undefined;
45
- createdAt?: string | undefined;
46
- id?: (string & z.BRAND<"EventId">) | undefined;
47
- link?: string | null | undefined;
48
- title?: string | undefined;
49
52
  adress?: string | undefined;
50
53
  capacity?: number | null | undefined;
54
+ category?: import("../../shared").Category | undefined;
55
+ createdAt?: string | undefined;
51
56
  description?: string | undefined;
52
57
  externalSourceId?: string | null | undefined;
53
58
  finishTime?: string | null | undefined;
59
+ gpsCoordinates?: {
60
+ latitude: number;
61
+ longitude: number;
62
+ } | null | undefined;
54
63
  hasHandicapAccess?: boolean | null | undefined;
64
+ id?: (string & z.BRAND<"EventId">) | undefined;
55
65
  imageBlurHashes?: string[] | undefined;
56
66
  imageUrls?: string[] | undefined;
57
67
  isDisplayed?: boolean | undefined;
@@ -59,29 +69,33 @@ export declare const CreatePartialImportedEventDTOSchema: z.ZodObject<{
59
69
  isOldTimes?: boolean | undefined;
60
70
  isPriceRange?: boolean | undefined;
61
71
  isPromoted?: boolean | undefined;
72
+ link?: string | null | undefined;
62
73
  price?: number | null | undefined;
63
- secondaryCategory?: import('../../shared').Category | null | undefined;
74
+ regions?: import("../../shared").Region[] | undefined;
75
+ secondaryCategory?: import("../../shared").Category | null | undefined;
76
+ startTime?: string | undefined;
64
77
  thumbnailUrl?: string | null | undefined;
65
78
  ticketsUrl?: string | null | undefined;
79
+ title?: string | undefined;
66
80
  organizers?: {
67
81
  id: string & z.BRAND<"OrganizerId">;
68
- imageUrl: string | null;
69
82
  name: string;
83
+ imageUrl: string | null;
70
84
  }[] | undefined;
71
85
  }, {
72
- regions?: import('../../shared').Region[] | undefined;
73
- category?: import('../../shared').Category | undefined;
74
- startTime?: string | undefined;
75
- createdAt?: string | undefined;
76
- id?: string | undefined;
77
- link?: string | null | undefined;
78
- title?: string | undefined;
79
86
  adress?: string | undefined;
80
87
  capacity?: number | null | undefined;
88
+ category?: import("../../shared").Category | undefined;
89
+ createdAt?: string | undefined;
81
90
  description?: string | undefined;
82
91
  externalSourceId?: string | null | undefined;
83
92
  finishTime?: string | null | undefined;
93
+ gpsCoordinates?: {
94
+ latitude: number;
95
+ longitude: number;
96
+ } | null | undefined;
84
97
  hasHandicapAccess?: boolean | null | undefined;
98
+ id?: string | undefined;
85
99
  imageBlurHashes?: string[] | undefined;
86
100
  imageUrls?: string[] | undefined;
87
101
  isDisplayed?: boolean | undefined;
@@ -89,14 +103,18 @@ export declare const CreatePartialImportedEventDTOSchema: z.ZodObject<{
89
103
  isOldTimes?: boolean | undefined;
90
104
  isPriceRange?: boolean | undefined;
91
105
  isPromoted?: boolean | undefined;
106
+ link?: string | null | undefined;
92
107
  price?: number | null | undefined;
93
- secondaryCategory?: import('../../shared').Category | null | undefined;
108
+ regions?: import("../../shared").Region[] | undefined;
109
+ secondaryCategory?: import("../../shared").Category | null | undefined;
110
+ startTime?: string | undefined;
94
111
  thumbnailUrl?: string | null | undefined;
95
112
  ticketsUrl?: string | null | undefined;
113
+ title?: string | undefined;
96
114
  organizers?: {
97
115
  id: string;
98
- imageUrl: string | null;
99
116
  name: string;
117
+ imageUrl: string | null;
100
118
  }[] | undefined;
101
119
  }>;
102
120
  token: z.ZodString;
@@ -104,22 +122,21 @@ export declare const CreatePartialImportedEventDTOSchema: z.ZodObject<{
104
122
  organizersNames: z.ZodArray<z.ZodString, "many">;
105
123
  source: z.ZodString;
106
124
  }, "strip", z.ZodTypeAny, {
107
- userId: string;
108
125
  organizersNames: string[];
109
126
  partialEventState: {
110
- regions?: import('../../shared').Region[] | undefined;
111
- category?: import('../../shared').Category | undefined;
112
- startTime?: string | undefined;
113
- createdAt?: string | undefined;
114
- id?: (string & z.BRAND<"EventId">) | undefined;
115
- link?: string | null | undefined;
116
- title?: string | undefined;
117
127
  adress?: string | undefined;
118
128
  capacity?: number | null | undefined;
129
+ category?: import("../../shared").Category | undefined;
130
+ createdAt?: string | undefined;
119
131
  description?: string | undefined;
120
132
  externalSourceId?: string | null | undefined;
121
133
  finishTime?: string | null | undefined;
134
+ gpsCoordinates?: {
135
+ latitude: number;
136
+ longitude: number;
137
+ } | null | undefined;
122
138
  hasHandicapAccess?: boolean | null | undefined;
139
+ id?: (string & z.BRAND<"EventId">) | undefined;
123
140
  imageBlurHashes?: string[] | undefined;
124
141
  imageUrls?: string[] | undefined;
125
142
  isDisplayed?: boolean | undefined;
@@ -127,35 +144,39 @@ export declare const CreatePartialImportedEventDTOSchema: z.ZodObject<{
127
144
  isOldTimes?: boolean | undefined;
128
145
  isPriceRange?: boolean | undefined;
129
146
  isPromoted?: boolean | undefined;
147
+ link?: string | null | undefined;
130
148
  price?: number | null | undefined;
131
- secondaryCategory?: import('../../shared').Category | null | undefined;
149
+ regions?: import("../../shared").Region[] | undefined;
150
+ secondaryCategory?: import("../../shared").Category | null | undefined;
151
+ startTime?: string | undefined;
132
152
  thumbnailUrl?: string | null | undefined;
133
153
  ticketsUrl?: string | null | undefined;
154
+ title?: string | undefined;
134
155
  organizers?: {
135
156
  id: string & z.BRAND<"OrganizerId">;
136
- imageUrl: string | null;
137
157
  name: string;
158
+ imageUrl: string | null;
138
159
  }[] | undefined;
139
160
  };
140
161
  source: string;
162
+ userId: string;
141
163
  token: string;
142
164
  }, {
143
- userId: string;
144
165
  organizersNames: string[];
145
166
  partialEventState: {
146
- regions?: import('../../shared').Region[] | undefined;
147
- category?: import('../../shared').Category | undefined;
148
- startTime?: string | undefined;
149
- createdAt?: string | undefined;
150
- id?: string | undefined;
151
- link?: string | null | undefined;
152
- title?: string | undefined;
153
167
  adress?: string | undefined;
154
168
  capacity?: number | null | undefined;
169
+ category?: import("../../shared").Category | undefined;
170
+ createdAt?: string | undefined;
155
171
  description?: string | undefined;
156
172
  externalSourceId?: string | null | undefined;
157
173
  finishTime?: string | null | undefined;
174
+ gpsCoordinates?: {
175
+ latitude: number;
176
+ longitude: number;
177
+ } | null | undefined;
158
178
  hasHandicapAccess?: boolean | null | undefined;
179
+ id?: string | undefined;
159
180
  imageBlurHashes?: string[] | undefined;
160
181
  imageUrls?: string[] | undefined;
161
182
  isDisplayed?: boolean | undefined;
@@ -163,17 +184,22 @@ export declare const CreatePartialImportedEventDTOSchema: z.ZodObject<{
163
184
  isOldTimes?: boolean | undefined;
164
185
  isPriceRange?: boolean | undefined;
165
186
  isPromoted?: boolean | undefined;
187
+ link?: string | null | undefined;
166
188
  price?: number | null | undefined;
167
- secondaryCategory?: import('../../shared').Category | null | undefined;
189
+ regions?: import("../../shared").Region[] | undefined;
190
+ secondaryCategory?: import("../../shared").Category | null | undefined;
191
+ startTime?: string | undefined;
168
192
  thumbnailUrl?: string | null | undefined;
169
193
  ticketsUrl?: string | null | undefined;
194
+ title?: string | undefined;
170
195
  organizers?: {
171
196
  id: string;
172
- imageUrl: string | null;
173
197
  name: string;
198
+ imageUrl: string | null;
174
199
  }[] | undefined;
175
200
  };
176
201
  source: string;
202
+ userId: string;
177
203
  token: string;
178
204
  }>;
179
205
  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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAM9C,CAAC;AAEH,MAAM,MAAM,6BAA6B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mCAAmC,CAAC,CAAC"}
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"}
@@ -4181,6 +4181,7 @@ const OldTimesFilterAppliedStatisticSchema = z.object({
4181
4181
  const AdPressedStatisticSchema = z.object({
4182
4182
  data: z.object({
4183
4183
  adId: UUIDSchema,
4184
+ adTitle: z.string(),
4184
4185
  userId: UUIDSchema
4185
4186
  }),
4186
4187
  time: z.string().datetime(),
@@ -4372,7 +4373,13 @@ const TopEventDTOSchema = z.object({
4372
4373
  eventId: EventIdSchema,
4373
4374
  eventTitle: StringSchema
4374
4375
  });
4376
+ const AdStatDTOSchema = z.object({
4377
+ adId: z.union([MainAdIdSchema, RegionalAdIdSchema]),
4378
+ adTitle: StringSchema,
4379
+ pressedCount: z.number()
4380
+ });
4375
4381
  const GlobalStatsDTOSchema = z.object({
4382
+ allAdsStats: AdStatDTOSchema.array(),
4376
4383
  currentFavoritesCount: z.number(),
4377
4384
  eventsCount: z.number(),
4378
4385
  openedEventsCount: z.number(),
@@ -4395,6 +4402,7 @@ const constraints = {
4395
4402
  };
4396
4403
  const index$2 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4397
4404
  __proto__: null,
4405
+ AdStatDTOSchema,
4398
4406
  AppConfigurationDTOSchema,
4399
4407
  CreateEventDTOSchema,
4400
4408
  CreateOrganizerDTOSchema,
@@ -4179,6 +4179,7 @@ const OldTimesFilterAppliedStatisticSchema = z.object({
4179
4179
  const AdPressedStatisticSchema = z.object({
4180
4180
  data: z.object({
4181
4181
  adId: UUIDSchema,
4182
+ adTitle: z.string(),
4182
4183
  userId: UUIDSchema
4183
4184
  }),
4184
4185
  time: z.string().datetime(),
@@ -4370,7 +4371,13 @@ const TopEventDTOSchema = z.object({
4370
4371
  eventId: EventIdSchema,
4371
4372
  eventTitle: StringSchema
4372
4373
  });
4374
+ const AdStatDTOSchema = z.object({
4375
+ adId: z.union([MainAdIdSchema, RegionalAdIdSchema]),
4376
+ adTitle: StringSchema,
4377
+ pressedCount: z.number()
4378
+ });
4373
4379
  const GlobalStatsDTOSchema = z.object({
4380
+ allAdsStats: AdStatDTOSchema.array(),
4374
4381
  currentFavoritesCount: z.number(),
4375
4382
  eventsCount: z.number(),
4376
4383
  openedEventsCount: z.number(),
@@ -4393,6 +4400,7 @@ const constraints = {
4393
4400
  };
4394
4401
  const index$2 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4395
4402
  __proto__: null,
4403
+ AdStatDTOSchema,
4396
4404
  AppConfigurationDTOSchema,
4397
4405
  CreateEventDTOSchema,
4398
4406
  CreateOrganizerDTOSchema,
@@ -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("./event").Region>, "many">;
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("./event").Region[];
227
+ regions: import('./event').Region[];
228
228
  }, {
229
229
  userId: string;
230
- regions: import("./event").Region[];
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("./event").Region[];
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("./event").Region[];
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("./event").Category>;
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("./event").Category;
278
+ category: import('./event').Category;
279
279
  }, {
280
280
  userId: string;
281
- category: import("./event").Category;
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("./event").Category;
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("./event").Category;
296
+ category: import('./event').Category;
297
297
  };
298
298
  time: string;
299
299
  }>;
@@ -442,14 +442,14 @@ export declare const StatisticSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
442
442
  time: string;
443
443
  }>, z.ZodObject<{
444
444
  data: z.ZodObject<{
445
- category: z.ZodNativeEnum<typeof import("./event").Category>;
445
+ category: z.ZodNativeEnum<typeof import('./event').Category>;
446
446
  userId: z.ZodString;
447
447
  }, "strip", z.ZodTypeAny, {
448
448
  userId: string;
449
- category: import("./event").Category;
449
+ category: import('./event').Category;
450
450
  }, {
451
451
  userId: string;
452
- category: import("./event").Category;
452
+ category: import('./event').Category;
453
453
  }>;
454
454
  time: z.ZodString;
455
455
  type: z.ZodLiteral<"category-filter-applied">;
@@ -457,14 +457,14 @@ export declare const StatisticSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
457
457
  type: "category-filter-applied";
458
458
  data: {
459
459
  userId: string;
460
- category: import("./event").Category;
460
+ category: import('./event').Category;
461
461
  };
462
462
  time: string;
463
463
  }, {
464
464
  type: "category-filter-applied";
465
465
  data: {
466
466
  userId: string;
467
- category: import("./event").Category;
467
+ category: import('./event').Category;
468
468
  };
469
469
  time: string;
470
470
  }>, z.ZodObject<{
@@ -734,14 +734,14 @@ export declare const StatisticSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
734
734
  time: string;
735
735
  }>, z.ZodObject<{
736
736
  data: z.ZodObject<{
737
- regions: z.ZodArray<z.ZodNativeEnum<typeof import("./event").Region>, "many">;
737
+ regions: z.ZodArray<z.ZodNativeEnum<typeof import('./event').Region>, "many">;
738
738
  userId: z.ZodString;
739
739
  }, "strip", z.ZodTypeAny, {
740
740
  userId: string;
741
- regions: import("./event").Region[];
741
+ regions: import('./event').Region[];
742
742
  }, {
743
743
  userId: string;
744
- regions: import("./event").Region[];
744
+ regions: import('./event').Region[];
745
745
  }>;
746
746
  time: z.ZodString;
747
747
  type: z.ZodLiteral<"region-filter-applied">;
@@ -749,14 +749,14 @@ export declare const StatisticSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
749
749
  type: "region-filter-applied";
750
750
  data: {
751
751
  userId: string;
752
- regions: import("./event").Region[];
752
+ regions: import('./event').Region[];
753
753
  };
754
754
  time: string;
755
755
  }, {
756
756
  type: "region-filter-applied";
757
757
  data: {
758
758
  userId: string;
759
- regions: import("./event").Region[];
759
+ regions: import('./event').Region[];
760
760
  };
761
761
  time: string;
762
762
  }>]>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sortipei/api-contracts",
3
- "version": "0.1.43",
3
+ "version": "0.2.0",
4
4
  "license": "UNLICENCED",
5
5
  "main": "dist/api-contracts.js",
6
6
  "module": "dist/api-contracts.mjs",