@sortipei/api-contracts 0.2.0 → 0.2.2

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.
@@ -12,12 +12,12 @@ export declare const GPSCoordinatesSchema: z.ZodObject<{
12
12
  export declare const EventDTOSchema: z.ZodObject<{
13
13
  adress: z.ZodString;
14
14
  capacity: z.ZodNullable<z.ZodNumber>;
15
- category: z.ZodNativeEnum<typeof import("../../shared").Category>;
15
+ category: z.ZodNativeEnum<typeof import('../../shared').Category>;
16
16
  createdAt: z.ZodString;
17
17
  description: z.ZodString;
18
18
  externalSourceId: z.ZodNullable<z.ZodString>;
19
19
  finishTime: z.ZodNullable<z.ZodString>;
20
- gpsCoordinates: z.ZodNullable<z.ZodObject<{
20
+ gpsCoordinates: z.ZodObject<{
21
21
  latitude: z.ZodNumber;
22
22
  longitude: z.ZodNumber;
23
23
  }, "strip", z.ZodTypeAny, {
@@ -26,7 +26,7 @@ export declare const EventDTOSchema: z.ZodObject<{
26
26
  }, {
27
27
  latitude: number;
28
28
  longitude: number;
29
- }>>;
29
+ }>;
30
30
  hasHandicapAccess: z.ZodNullable<z.ZodBoolean>;
31
31
  id: z.ZodBranded<z.ZodString, "EventId">;
32
32
  imageBlurHashes: z.ZodArray<z.ZodString, "many">;
@@ -38,8 +38,8 @@ export declare const EventDTOSchema: z.ZodObject<{
38
38
  isPromoted: z.ZodBoolean;
39
39
  link: z.ZodNullable<z.ZodString>;
40
40
  price: z.ZodNullable<z.ZodNumber>;
41
- regions: z.ZodArray<z.ZodNativeEnum<typeof import("../../shared").Region>, "many">;
42
- 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>>;
43
43
  startTime: z.ZodString;
44
44
  thumbnailUrl: z.ZodNullable<z.ZodString>;
45
45
  ticketsUrl: z.ZodNullable<z.ZodString>;
@@ -50,27 +50,31 @@ export declare const EventDTOSchema: z.ZodObject<{
50
50
  imageUrl: z.ZodNullable<z.ZodString>;
51
51
  }, "strip", z.ZodTypeAny, {
52
52
  id: string & z.BRAND<"OrganizerId">;
53
- name: string;
54
53
  imageUrl: string | null;
54
+ name: string;
55
55
  }, {
56
56
  id: string;
57
- name: string;
58
57
  imageUrl: string | null;
58
+ name: string;
59
59
  }>, "many">;
60
60
  }, "strip", z.ZodTypeAny, {
61
+ regions: import('../../shared').Region[];
62
+ category: import('../../shared').Category;
63
+ startTime: string;
64
+ createdAt: string;
65
+ id: string & z.BRAND<"EventId">;
66
+ link: string | null;
67
+ title: string;
61
68
  adress: string;
62
69
  capacity: number | null;
63
- category: import("../../shared").Category;
64
- createdAt: string;
65
70
  description: string;
66
71
  externalSourceId: string | null;
67
72
  finishTime: string | null;
68
73
  gpsCoordinates: {
69
74
  latitude: number;
70
75
  longitude: number;
71
- } | null;
76
+ };
72
77
  hasHandicapAccess: boolean | null;
73
- id: string & z.BRAND<"EventId">;
74
78
  imageBlurHashes: string[];
75
79
  imageUrls: string[];
76
80
  isDisplayed: boolean;
@@ -78,33 +82,33 @@ export declare const EventDTOSchema: z.ZodObject<{
78
82
  isOldTimes: boolean;
79
83
  isPriceRange: boolean;
80
84
  isPromoted: boolean;
81
- link: string | null;
82
85
  price: number | null;
83
- regions: import("../../shared").Region[];
84
- secondaryCategory: import("../../shared").Category | null;
85
- startTime: string;
86
+ secondaryCategory: import('../../shared').Category | null;
86
87
  thumbnailUrl: string | null;
87
88
  ticketsUrl: string | null;
88
- title: string;
89
89
  organizers: {
90
90
  id: string & z.BRAND<"OrganizerId">;
91
- name: string;
92
91
  imageUrl: string | null;
92
+ name: string;
93
93
  }[];
94
94
  }, {
95
+ regions: import('../../shared').Region[];
96
+ category: import('../../shared').Category;
97
+ startTime: string;
98
+ createdAt: string;
99
+ id: string;
100
+ link: string | null;
101
+ title: string;
95
102
  adress: string;
96
103
  capacity: number | null;
97
- category: import("../../shared").Category;
98
- createdAt: string;
99
104
  description: string;
100
105
  externalSourceId: string | null;
101
106
  finishTime: string | null;
102
107
  gpsCoordinates: {
103
108
  latitude: number;
104
109
  longitude: number;
105
- } | null;
110
+ };
106
111
  hasHandicapAccess: boolean | null;
107
- id: string;
108
112
  imageBlurHashes: string[];
109
113
  imageUrls: string[];
110
114
  isDisplayed: boolean;
@@ -112,24 +116,20 @@ export declare const EventDTOSchema: z.ZodObject<{
112
116
  isOldTimes: boolean;
113
117
  isPriceRange: boolean;
114
118
  isPromoted: boolean;
115
- link: string | null;
116
119
  price: number | null;
117
- regions: import("../../shared").Region[];
118
- secondaryCategory: import("../../shared").Category | null;
119
- startTime: string;
120
+ secondaryCategory: import('../../shared').Category | null;
120
121
  thumbnailUrl: string | null;
121
122
  ticketsUrl: string | null;
122
- title: string;
123
123
  organizers: {
124
124
  id: string;
125
- name: string;
126
125
  imageUrl: string | null;
126
+ name: string;
127
127
  }[];
128
128
  }>;
129
129
  export declare const CreateEventDTOSchema: z.ZodObject<{
130
130
  adress: z.ZodString;
131
131
  capacity: z.ZodNullable<z.ZodNumber>;
132
- category: z.ZodNativeEnum<typeof import("../../shared").Category>;
132
+ category: z.ZodNativeEnum<typeof import('../../shared').Category>;
133
133
  description: z.ZodString;
134
134
  externalSourceId: z.ZodNullable<z.ZodString>;
135
135
  finishTime: z.ZodNullable<z.ZodString>;
@@ -144,65 +144,65 @@ export declare const CreateEventDTOSchema: z.ZodObject<{
144
144
  link: z.ZodNullable<z.ZodString>;
145
145
  organizersIds: z.ZodArray<z.ZodBranded<z.ZodString, "OrganizerId">, "many">;
146
146
  price: z.ZodNullable<z.ZodNumber>;
147
- regions: z.ZodArray<z.ZodNativeEnum<typeof import("../../shared").Region>, "many">;
148
- 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>>;
149
149
  startTime: z.ZodString;
150
150
  thumbnailUrl: z.ZodNullable<z.ZodString>;
151
151
  title: z.ZodString;
152
152
  ticketsUrl: z.ZodNullable<z.ZodString>;
153
153
  }, "strip", z.ZodTypeAny, {
154
+ regions: import('../../shared').Region[];
155
+ category: import('../../shared').Category;
156
+ startTime: string;
157
+ id: string & z.BRAND<"EventId">;
158
+ link: string | null;
159
+ title: string;
154
160
  adress: string;
155
161
  capacity: number | null;
156
- category: import("../../shared").Category;
157
162
  description: string;
158
163
  externalSourceId: string | null;
159
164
  finishTime: string | null;
160
165
  hasHandicapAccess: boolean | null;
161
- id: string & z.BRAND<"EventId">;
162
166
  imageBlurHashes: string[];
163
167
  imageUrls: string[];
164
168
  isDisplayed: boolean;
165
169
  isExhibition: boolean;
166
170
  isOldTimes: boolean;
167
171
  isPriceRange: boolean;
168
- link: string | null;
169
172
  price: number | null;
170
- regions: import("../../shared").Region[];
171
- secondaryCategory: import("../../shared").Category | null;
172
- startTime: string;
173
+ secondaryCategory: import('../../shared').Category | null;
173
174
  thumbnailUrl: string | null;
174
175
  ticketsUrl: string | null;
175
- title: string;
176
176
  organizersIds: (string & z.BRAND<"OrganizerId">)[];
177
177
  }, {
178
+ regions: import('../../shared').Region[];
179
+ category: import('../../shared').Category;
180
+ startTime: string;
181
+ id: string;
182
+ link: string | null;
183
+ title: string;
178
184
  adress: string;
179
185
  capacity: number | null;
180
- category: import("../../shared").Category;
181
186
  description: string;
182
187
  externalSourceId: string | null;
183
188
  finishTime: string | null;
184
189
  hasHandicapAccess: boolean | null;
185
- id: string;
186
190
  imageBlurHashes: string[];
187
191
  imageUrls: string[];
188
192
  isDisplayed: boolean;
189
193
  isExhibition: boolean;
190
194
  isOldTimes: boolean;
191
195
  isPriceRange: boolean;
192
- link: string | null;
193
196
  price: number | null;
194
- regions: import("../../shared").Region[];
195
- secondaryCategory: import("../../shared").Category | null;
196
- startTime: string;
197
+ secondaryCategory: import('../../shared').Category | null;
197
198
  thumbnailUrl: string | null;
198
199
  ticketsUrl: string | null;
199
- title: string;
200
200
  organizersIds: string[];
201
201
  }>;
202
202
  export declare const UpdateEventDTOSchema: z.ZodObject<Omit<{
203
203
  adress: z.ZodString;
204
204
  capacity: z.ZodNullable<z.ZodNumber>;
205
- category: z.ZodNativeEnum<typeof import("../../shared").Category>;
205
+ category: z.ZodNativeEnum<typeof import('../../shared').Category>;
206
206
  description: z.ZodString;
207
207
  externalSourceId: z.ZodNullable<z.ZodString>;
208
208
  finishTime: z.ZodNullable<z.ZodString>;
@@ -217,16 +217,20 @@ export declare const UpdateEventDTOSchema: z.ZodObject<Omit<{
217
217
  link: z.ZodNullable<z.ZodString>;
218
218
  organizersIds: z.ZodArray<z.ZodBranded<z.ZodString, "OrganizerId">, "many">;
219
219
  price: z.ZodNullable<z.ZodNumber>;
220
- regions: z.ZodArray<z.ZodNativeEnum<typeof import("../../shared").Region>, "many">;
221
- 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>>;
222
222
  startTime: z.ZodString;
223
223
  thumbnailUrl: z.ZodNullable<z.ZodString>;
224
224
  title: z.ZodString;
225
225
  ticketsUrl: z.ZodNullable<z.ZodString>;
226
226
  }, "id">, "strip", z.ZodTypeAny, {
227
+ regions: import('../../shared').Region[];
228
+ category: import('../../shared').Category;
229
+ startTime: string;
230
+ link: string | null;
231
+ title: string;
227
232
  adress: string;
228
233
  capacity: number | null;
229
- category: import("../../shared").Category;
230
234
  description: string;
231
235
  externalSourceId: string | null;
232
236
  finishTime: string | null;
@@ -237,19 +241,19 @@ export declare const UpdateEventDTOSchema: z.ZodObject<Omit<{
237
241
  isExhibition: boolean;
238
242
  isOldTimes: boolean;
239
243
  isPriceRange: boolean;
240
- link: string | null;
241
244
  price: number | null;
242
- regions: import("../../shared").Region[];
243
- secondaryCategory: import("../../shared").Category | null;
244
- startTime: string;
245
+ secondaryCategory: import('../../shared').Category | null;
245
246
  thumbnailUrl: string | null;
246
247
  ticketsUrl: string | null;
247
- title: string;
248
248
  organizersIds: (string & z.BRAND<"OrganizerId">)[];
249
249
  }, {
250
+ regions: import('../../shared').Region[];
251
+ category: import('../../shared').Category;
252
+ startTime: string;
253
+ link: string | null;
254
+ title: string;
250
255
  adress: string;
251
256
  capacity: number | null;
252
- category: import("../../shared").Category;
253
257
  description: string;
254
258
  externalSourceId: string | null;
255
259
  finishTime: string | null;
@@ -260,14 +264,10 @@ export declare const UpdateEventDTOSchema: z.ZodObject<Omit<{
260
264
  isExhibition: boolean;
261
265
  isOldTimes: boolean;
262
266
  isPriceRange: boolean;
263
- link: string | null;
264
267
  price: number | null;
265
- regions: import("../../shared").Region[];
266
- secondaryCategory: import("../../shared").Category | null;
267
- startTime: string;
268
+ secondaryCategory: import('../../shared').Category | null;
268
269
  thumbnailUrl: string | null;
269
270
  ticketsUrl: string | null;
270
- title: string;
271
271
  organizersIds: string[];
272
272
  }>;
273
273
  export declare const DisplayEventDTOSchema: z.ZodObject<{
@@ -310,12 +310,12 @@ export declare const ImportDTOSchema: z.ZodObject<{
310
310
  partialEventState: z.ZodObject<{
311
311
  adress: z.ZodOptional<z.ZodString>;
312
312
  capacity: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
313
- category: z.ZodOptional<z.ZodNativeEnum<typeof import("../../shared").Category>>;
313
+ category: z.ZodOptional<z.ZodNativeEnum<typeof import('../../shared').Category>>;
314
314
  createdAt: z.ZodOptional<z.ZodString>;
315
315
  description: z.ZodOptional<z.ZodString>;
316
316
  externalSourceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
317
317
  finishTime: z.ZodOptional<z.ZodNullable<z.ZodString>>;
318
- gpsCoordinates: z.ZodOptional<z.ZodNullable<z.ZodObject<{
318
+ gpsCoordinates: z.ZodOptional<z.ZodObject<{
319
319
  latitude: z.ZodNumber;
320
320
  longitude: z.ZodNumber;
321
321
  }, "strip", z.ZodTypeAny, {
@@ -324,7 +324,7 @@ export declare const ImportDTOSchema: z.ZodObject<{
324
324
  }, {
325
325
  latitude: number;
326
326
  longitude: number;
327
- }>>>;
327
+ }>>;
328
328
  hasHandicapAccess: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
329
329
  id: z.ZodOptional<z.ZodBranded<z.ZodString, "EventId">>;
330
330
  imageBlurHashes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
@@ -336,8 +336,8 @@ export declare const ImportDTOSchema: z.ZodObject<{
336
336
  isPromoted: z.ZodOptional<z.ZodBoolean>;
337
337
  link: z.ZodOptional<z.ZodNullable<z.ZodString>>;
338
338
  price: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
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>>>;
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>>>;
341
341
  startTime: z.ZodOptional<z.ZodString>;
342
342
  thumbnailUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
343
343
  ticketsUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -348,27 +348,31 @@ export declare const ImportDTOSchema: z.ZodObject<{
348
348
  imageUrl: z.ZodNullable<z.ZodString>;
349
349
  }, "strip", z.ZodTypeAny, {
350
350
  id: string & z.BRAND<"OrganizerId">;
351
- name: string;
352
351
  imageUrl: string | null;
352
+ name: string;
353
353
  }, {
354
354
  id: string;
355
- name: string;
356
355
  imageUrl: string | null;
356
+ name: string;
357
357
  }>, "many">>;
358
358
  }, "strip", z.ZodTypeAny, {
359
+ regions?: import('../../shared').Region[] | undefined;
360
+ category?: import('../../shared').Category | undefined;
361
+ startTime?: string | undefined;
362
+ createdAt?: string | undefined;
363
+ id?: (string & z.BRAND<"EventId">) | undefined;
364
+ link?: string | null | undefined;
365
+ title?: string | undefined;
359
366
  adress?: string | undefined;
360
367
  capacity?: number | null | undefined;
361
- category?: import("../../shared").Category | undefined;
362
- createdAt?: string | undefined;
363
368
  description?: string | undefined;
364
369
  externalSourceId?: string | null | undefined;
365
370
  finishTime?: string | null | undefined;
366
371
  gpsCoordinates?: {
367
372
  latitude: number;
368
373
  longitude: number;
369
- } | null | undefined;
374
+ } | undefined;
370
375
  hasHandicapAccess?: boolean | null | undefined;
371
- id?: (string & z.BRAND<"EventId">) | undefined;
372
376
  imageBlurHashes?: string[] | undefined;
373
377
  imageUrls?: string[] | undefined;
374
378
  isDisplayed?: boolean | undefined;
@@ -376,33 +380,33 @@ export declare const ImportDTOSchema: z.ZodObject<{
376
380
  isOldTimes?: boolean | undefined;
377
381
  isPriceRange?: boolean | undefined;
378
382
  isPromoted?: boolean | undefined;
379
- link?: string | null | undefined;
380
383
  price?: number | null | undefined;
381
- regions?: import("../../shared").Region[] | undefined;
382
- secondaryCategory?: import("../../shared").Category | null | undefined;
383
- startTime?: string | undefined;
384
+ secondaryCategory?: import('../../shared').Category | null | undefined;
384
385
  thumbnailUrl?: string | null | undefined;
385
386
  ticketsUrl?: string | null | undefined;
386
- title?: string | undefined;
387
387
  organizers?: {
388
388
  id: string & z.BRAND<"OrganizerId">;
389
- name: string;
390
389
  imageUrl: string | null;
390
+ name: string;
391
391
  }[] | undefined;
392
392
  }, {
393
+ regions?: import('../../shared').Region[] | undefined;
394
+ category?: import('../../shared').Category | undefined;
395
+ startTime?: string | undefined;
396
+ createdAt?: string | undefined;
397
+ id?: string | undefined;
398
+ link?: string | null | undefined;
399
+ title?: string | undefined;
393
400
  adress?: string | undefined;
394
401
  capacity?: number | null | undefined;
395
- category?: import("../../shared").Category | undefined;
396
- createdAt?: string | undefined;
397
402
  description?: string | undefined;
398
403
  externalSourceId?: string | null | undefined;
399
404
  finishTime?: string | null | undefined;
400
405
  gpsCoordinates?: {
401
406
  latitude: number;
402
407
  longitude: number;
403
- } | null | undefined;
408
+ } | undefined;
404
409
  hasHandicapAccess?: boolean | null | undefined;
405
- id?: string | undefined;
406
410
  imageBlurHashes?: string[] | undefined;
407
411
  imageUrls?: string[] | undefined;
408
412
  isDisplayed?: boolean | undefined;
@@ -410,40 +414,41 @@ export declare const ImportDTOSchema: z.ZodObject<{
410
414
  isOldTimes?: boolean | undefined;
411
415
  isPriceRange?: boolean | undefined;
412
416
  isPromoted?: boolean | undefined;
413
- link?: string | null | undefined;
414
417
  price?: number | null | undefined;
415
- regions?: import("../../shared").Region[] | undefined;
416
- secondaryCategory?: import("../../shared").Category | null | undefined;
417
- startTime?: string | undefined;
418
+ secondaryCategory?: import('../../shared').Category | null | undefined;
418
419
  thumbnailUrl?: string | null | undefined;
419
420
  ticketsUrl?: string | null | undefined;
420
- title?: string | undefined;
421
421
  organizers?: {
422
422
  id: string;
423
- name: string;
424
423
  imageUrl: string | null;
424
+ name: string;
425
425
  }[] | undefined;
426
426
  }>;
427
427
  source: z.ZodString;
428
428
  userId: z.ZodString;
429
429
  }, "strip", z.ZodTypeAny, {
430
+ userId: string;
430
431
  createdAt: string;
431
432
  id: string;
432
433
  organizersNames: string[];
433
434
  partialEventState: {
435
+ regions?: import('../../shared').Region[] | undefined;
436
+ category?: import('../../shared').Category | undefined;
437
+ startTime?: string | undefined;
438
+ createdAt?: string | undefined;
439
+ id?: (string & z.BRAND<"EventId">) | undefined;
440
+ link?: string | null | undefined;
441
+ title?: string | undefined;
434
442
  adress?: string | undefined;
435
443
  capacity?: number | null | undefined;
436
- category?: import("../../shared").Category | undefined;
437
- createdAt?: string | undefined;
438
444
  description?: string | undefined;
439
445
  externalSourceId?: string | null | undefined;
440
446
  finishTime?: string | null | undefined;
441
447
  gpsCoordinates?: {
442
448
  latitude: number;
443
449
  longitude: number;
444
- } | null | undefined;
450
+ } | undefined;
445
451
  hasHandicapAccess?: boolean | null | undefined;
446
- id?: (string & z.BRAND<"EventId">) | undefined;
447
452
  imageBlurHashes?: string[] | undefined;
448
453
  imageUrls?: string[] | undefined;
449
454
  isDisplayed?: boolean | undefined;
@@ -451,40 +456,40 @@ export declare const ImportDTOSchema: z.ZodObject<{
451
456
  isOldTimes?: boolean | undefined;
452
457
  isPriceRange?: boolean | undefined;
453
458
  isPromoted?: boolean | undefined;
454
- link?: string | null | undefined;
455
459
  price?: number | null | undefined;
456
- regions?: import("../../shared").Region[] | undefined;
457
- secondaryCategory?: import("../../shared").Category | null | undefined;
458
- startTime?: string | undefined;
460
+ secondaryCategory?: import('../../shared').Category | null | undefined;
459
461
  thumbnailUrl?: string | null | undefined;
460
462
  ticketsUrl?: string | null | undefined;
461
- title?: string | undefined;
462
463
  organizers?: {
463
464
  id: string & z.BRAND<"OrganizerId">;
464
- name: string;
465
465
  imageUrl: string | null;
466
+ name: string;
466
467
  }[] | undefined;
467
468
  };
468
469
  source: string;
469
- userId: string;
470
470
  }, {
471
+ userId: string;
471
472
  createdAt: string;
472
473
  id: string;
473
474
  organizersNames: string[];
474
475
  partialEventState: {
476
+ regions?: import('../../shared').Region[] | undefined;
477
+ category?: import('../../shared').Category | undefined;
478
+ startTime?: string | undefined;
479
+ createdAt?: string | undefined;
480
+ id?: string | undefined;
481
+ link?: string | null | undefined;
482
+ title?: string | undefined;
475
483
  adress?: string | undefined;
476
484
  capacity?: number | null | undefined;
477
- category?: import("../../shared").Category | undefined;
478
- createdAt?: string | undefined;
479
485
  description?: string | undefined;
480
486
  externalSourceId?: string | null | undefined;
481
487
  finishTime?: string | null | undefined;
482
488
  gpsCoordinates?: {
483
489
  latitude: number;
484
490
  longitude: number;
485
- } | null | undefined;
491
+ } | undefined;
486
492
  hasHandicapAccess?: boolean | null | undefined;
487
- id?: string | undefined;
488
493
  imageBlurHashes?: string[] | undefined;
489
494
  imageUrls?: string[] | undefined;
490
495
  isDisplayed?: boolean | undefined;
@@ -492,22 +497,17 @@ export declare const ImportDTOSchema: z.ZodObject<{
492
497
  isOldTimes?: boolean | undefined;
493
498
  isPriceRange?: boolean | undefined;
494
499
  isPromoted?: boolean | undefined;
495
- link?: string | null | undefined;
496
500
  price?: number | null | undefined;
497
- regions?: import("../../shared").Region[] | undefined;
498
- secondaryCategory?: import("../../shared").Category | null | undefined;
499
- startTime?: string | undefined;
501
+ secondaryCategory?: import('../../shared').Category | null | undefined;
500
502
  thumbnailUrl?: string | null | undefined;
501
503
  ticketsUrl?: string | null | undefined;
502
- title?: string | undefined;
503
504
  organizers?: {
504
505
  id: string;
505
- name: string;
506
506
  imageUrl: string | null;
507
+ name: string;
507
508
  }[] | undefined;
508
509
  };
509
510
  source: string;
510
- userId: string;
511
511
  }>;
512
512
  export type ImportDTO = z.infer<typeof ImportDTOSchema>;
513
513
  export declare const EventFileUploadDTOSchema: z.ZodObject<{
@@ -40,7 +40,6 @@ export declare const GlobalStatsDTOSchema: z.ZodObject<{
40
40
  adTitle: string;
41
41
  pressedCount: number;
42
42
  }>, "many">;
43
- currentFavoritesCount: z.ZodNumber;
44
43
  eventsCount: z.ZodNumber;
45
44
  openedEventsCount: z.ZodNumber;
46
45
  presentOrFutureEventsCount: z.ZodNumber;
@@ -97,7 +96,9 @@ export declare const GlobalStatsDTOSchema: z.ZodObject<{
97
96
  count: number;
98
97
  eventTitle: string;
99
98
  }>, "many">;
99
+ totalAddedToCalendar: z.ZodNumber;
100
100
  totalFavoritesCount: z.ZodNumber;
101
+ totalShared: z.ZodNumber;
101
102
  usersCount: z.ZodNumber;
102
103
  usersWithMultipleDayAppOpened: z.ZodNumber;
103
104
  }, "strip", z.ZodTypeAny, {
@@ -106,7 +107,6 @@ export declare const GlobalStatsDTOSchema: z.ZodObject<{
106
107
  adTitle: string;
107
108
  pressedCount: number;
108
109
  }[];
109
- currentFavoritesCount: number;
110
110
  eventsCount: number;
111
111
  openedEventsCount: number;
112
112
  presentOrFutureEventsCount: number;
@@ -131,7 +131,9 @@ export declare const GlobalStatsDTOSchema: z.ZodObject<{
131
131
  count: number;
132
132
  eventTitle: string;
133
133
  }[];
134
+ totalAddedToCalendar: number;
134
135
  totalFavoritesCount: number;
136
+ totalShared: number;
135
137
  usersCount: number;
136
138
  usersWithMultipleDayAppOpened: number;
137
139
  }, {
@@ -140,7 +142,6 @@ export declare const GlobalStatsDTOSchema: z.ZodObject<{
140
142
  adTitle: string;
141
143
  pressedCount: number;
142
144
  }[];
143
- currentFavoritesCount: number;
144
145
  eventsCount: number;
145
146
  openedEventsCount: number;
146
147
  presentOrFutureEventsCount: number;
@@ -165,7 +166,9 @@ export declare const GlobalStatsDTOSchema: z.ZodObject<{
165
166
  count: number;
166
167
  eventTitle: string;
167
168
  }[];
169
+ totalAddedToCalendar: number;
168
170
  totalFavoritesCount: number;
171
+ totalShared: number;
169
172
  usersCount: number;
170
173
  usersWithMultipleDayAppOpened: number;
171
174
  }>;
@@ -1 +1 @@
1
- {"version":3,"file":"statistics.d.ts","sourceRoot":"","sources":["../../../src/V1/api/statistics.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,eAAe,EAAgB,MAAM,cAAc,CAAC;AAG7D,eAAO,MAAM,iBAAiB;;;;;;;;;;;;EAI5B,CAAC;AAEH,eAAO,MAAM,eAAe;;;;;;;;;;;;EAI1B,CAAC;AAEH,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAc/B,CAAC;AAEH,MAAM,MAAM,SAAS,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,eAAe,CAAC,CAAC;AACxD,MAAM,MAAM,WAAW,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iBAAiB,CAAC,CAAC;AAC5D,MAAM,MAAM,cAAc,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,CAAC;AAElE,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAEjC,CAAC;AAEH,MAAM,MAAM,gBAAgB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,sBAAsB,CAAC,CAAC;AACtE,MAAM,MAAM,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,eAAe,CAAC,CAAC"}
1
+ {"version":3,"file":"statistics.d.ts","sourceRoot":"","sources":["../../../src/V1/api/statistics.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,eAAe,EAAgB,MAAM,cAAc,CAAC;AAG7D,eAAO,MAAM,iBAAiB;;;;;;;;;;;;EAI5B,CAAC;AAEH,eAAO,MAAM,eAAe;;;;;;;;;;;;EAI1B,CAAC;AAEH,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAe/B,CAAC;AAEH,MAAM,MAAM,SAAS,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,eAAe,CAAC,CAAC;AACxD,MAAM,MAAM,WAAW,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iBAAiB,CAAC,CAAC;AAC5D,MAAM,MAAM,cAAc,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,CAAC;AAElE,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAEjC,CAAC;AAEH,MAAM,MAAM,gBAAgB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,sBAAsB,CAAC,CAAC;AACtE,MAAM,MAAM,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,eAAe,CAAC,CAAC"}
@@ -3,12 +3,12 @@ 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<{
11
+ gpsCoordinates: z.ZodOptional<z.ZodObject<{
12
12
  latitude: z.ZodNumber;
13
13
  longitude: z.ZodNumber;
14
14
  }, "strip", z.ZodTypeAny, {
@@ -17,7 +17,7 @@ export declare const CreatePartialImportedEventDTOSchema: z.ZodObject<{
17
17
  }, {
18
18
  latitude: number;
19
19
  longitude: number;
20
- }>>>;
20
+ }>>;
21
21
  hasHandicapAccess: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
22
22
  id: z.ZodOptional<z.ZodBranded<z.ZodString, "EventId">>;
23
23
  imageBlurHashes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
@@ -29,8 +29,8 @@ export declare const CreatePartialImportedEventDTOSchema: z.ZodObject<{
29
29
  isPromoted: z.ZodOptional<z.ZodBoolean>;
30
30
  link: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31
31
  price: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
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>>>;
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>>>;
34
34
  startTime: z.ZodOptional<z.ZodString>;
35
35
  thumbnailUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
36
36
  ticketsUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -41,27 +41,31 @@ export declare const CreatePartialImportedEventDTOSchema: z.ZodObject<{
41
41
  imageUrl: z.ZodNullable<z.ZodString>;
42
42
  }, "strip", z.ZodTypeAny, {
43
43
  id: string & z.BRAND<"OrganizerId">;
44
- name: string;
45
44
  imageUrl: string | null;
45
+ name: string;
46
46
  }, {
47
47
  id: string;
48
- name: string;
49
48
  imageUrl: string | null;
49
+ name: string;
50
50
  }>, "many">>;
51
51
  }, "strip", z.ZodTypeAny, {
52
+ regions?: import('../../shared').Region[] | undefined;
53
+ category?: import('../../shared').Category | undefined;
54
+ startTime?: string | undefined;
55
+ createdAt?: string | undefined;
56
+ id?: (string & z.BRAND<"EventId">) | undefined;
57
+ link?: string | null | undefined;
58
+ title?: string | undefined;
52
59
  adress?: string | undefined;
53
60
  capacity?: number | null | undefined;
54
- category?: import("../../shared").Category | undefined;
55
- createdAt?: string | undefined;
56
61
  description?: string | undefined;
57
62
  externalSourceId?: string | null | undefined;
58
63
  finishTime?: string | null | undefined;
59
64
  gpsCoordinates?: {
60
65
  latitude: number;
61
66
  longitude: number;
62
- } | null | undefined;
67
+ } | undefined;
63
68
  hasHandicapAccess?: boolean | null | undefined;
64
- id?: (string & z.BRAND<"EventId">) | undefined;
65
69
  imageBlurHashes?: string[] | undefined;
66
70
  imageUrls?: string[] | undefined;
67
71
  isDisplayed?: boolean | undefined;
@@ -69,33 +73,33 @@ export declare const CreatePartialImportedEventDTOSchema: z.ZodObject<{
69
73
  isOldTimes?: boolean | undefined;
70
74
  isPriceRange?: boolean | undefined;
71
75
  isPromoted?: boolean | undefined;
72
- link?: string | null | undefined;
73
76
  price?: number | null | undefined;
74
- regions?: import("../../shared").Region[] | undefined;
75
- secondaryCategory?: import("../../shared").Category | null | undefined;
76
- startTime?: string | undefined;
77
+ secondaryCategory?: import('../../shared').Category | null | undefined;
77
78
  thumbnailUrl?: string | null | undefined;
78
79
  ticketsUrl?: string | null | undefined;
79
- title?: string | undefined;
80
80
  organizers?: {
81
81
  id: string & z.BRAND<"OrganizerId">;
82
- name: string;
83
82
  imageUrl: string | null;
83
+ name: string;
84
84
  }[] | undefined;
85
85
  }, {
86
+ regions?: import('../../shared').Region[] | undefined;
87
+ category?: import('../../shared').Category | undefined;
88
+ startTime?: string | undefined;
89
+ createdAt?: string | undefined;
90
+ id?: string | undefined;
91
+ link?: string | null | undefined;
92
+ title?: string | undefined;
86
93
  adress?: string | undefined;
87
94
  capacity?: number | null | undefined;
88
- category?: import("../../shared").Category | undefined;
89
- createdAt?: string | undefined;
90
95
  description?: string | undefined;
91
96
  externalSourceId?: string | null | undefined;
92
97
  finishTime?: string | null | undefined;
93
98
  gpsCoordinates?: {
94
99
  latitude: number;
95
100
  longitude: number;
96
- } | null | undefined;
101
+ } | undefined;
97
102
  hasHandicapAccess?: boolean | null | undefined;
98
- id?: string | undefined;
99
103
  imageBlurHashes?: string[] | undefined;
100
104
  imageUrls?: string[] | undefined;
101
105
  isDisplayed?: boolean | undefined;
@@ -103,18 +107,14 @@ export declare const CreatePartialImportedEventDTOSchema: z.ZodObject<{
103
107
  isOldTimes?: boolean | undefined;
104
108
  isPriceRange?: boolean | undefined;
105
109
  isPromoted?: boolean | undefined;
106
- link?: string | null | undefined;
107
110
  price?: number | null | undefined;
108
- regions?: import("../../shared").Region[] | undefined;
109
- secondaryCategory?: import("../../shared").Category | null | undefined;
110
- startTime?: string | undefined;
111
+ secondaryCategory?: import('../../shared').Category | null | undefined;
111
112
  thumbnailUrl?: string | null | undefined;
112
113
  ticketsUrl?: string | null | undefined;
113
- title?: string | undefined;
114
114
  organizers?: {
115
115
  id: string;
116
- name: string;
117
116
  imageUrl: string | null;
117
+ name: string;
118
118
  }[] | undefined;
119
119
  }>;
120
120
  token: z.ZodString;
@@ -122,21 +122,26 @@ export declare const CreatePartialImportedEventDTOSchema: z.ZodObject<{
122
122
  organizersNames: z.ZodArray<z.ZodString, "many">;
123
123
  source: z.ZodString;
124
124
  }, "strip", z.ZodTypeAny, {
125
+ userId: string;
125
126
  organizersNames: string[];
126
127
  partialEventState: {
128
+ regions?: import('../../shared').Region[] | undefined;
129
+ category?: import('../../shared').Category | undefined;
130
+ startTime?: string | undefined;
131
+ createdAt?: string | undefined;
132
+ id?: (string & z.BRAND<"EventId">) | undefined;
133
+ link?: string | null | undefined;
134
+ title?: string | undefined;
127
135
  adress?: string | undefined;
128
136
  capacity?: number | null | undefined;
129
- category?: import("../../shared").Category | undefined;
130
- createdAt?: string | undefined;
131
137
  description?: string | undefined;
132
138
  externalSourceId?: string | null | undefined;
133
139
  finishTime?: string | null | undefined;
134
140
  gpsCoordinates?: {
135
141
  latitude: number;
136
142
  longitude: number;
137
- } | null | undefined;
143
+ } | undefined;
138
144
  hasHandicapAccess?: boolean | null | undefined;
139
- id?: (string & z.BRAND<"EventId">) | undefined;
140
145
  imageBlurHashes?: string[] | undefined;
141
146
  imageUrls?: string[] | undefined;
142
147
  isDisplayed?: boolean | undefined;
@@ -144,39 +149,39 @@ export declare const CreatePartialImportedEventDTOSchema: z.ZodObject<{
144
149
  isOldTimes?: boolean | undefined;
145
150
  isPriceRange?: boolean | undefined;
146
151
  isPromoted?: boolean | undefined;
147
- link?: string | null | undefined;
148
152
  price?: number | null | undefined;
149
- regions?: import("../../shared").Region[] | undefined;
150
- secondaryCategory?: import("../../shared").Category | null | undefined;
151
- startTime?: string | undefined;
153
+ secondaryCategory?: import('../../shared').Category | null | undefined;
152
154
  thumbnailUrl?: string | null | undefined;
153
155
  ticketsUrl?: string | null | undefined;
154
- title?: string | undefined;
155
156
  organizers?: {
156
157
  id: string & z.BRAND<"OrganizerId">;
157
- name: string;
158
158
  imageUrl: string | null;
159
+ name: string;
159
160
  }[] | undefined;
160
161
  };
161
162
  source: string;
162
- userId: string;
163
163
  token: string;
164
164
  }, {
165
+ userId: string;
165
166
  organizersNames: string[];
166
167
  partialEventState: {
168
+ regions?: import('../../shared').Region[] | undefined;
169
+ category?: import('../../shared').Category | undefined;
170
+ startTime?: string | undefined;
171
+ createdAt?: string | undefined;
172
+ id?: string | undefined;
173
+ link?: string | null | undefined;
174
+ title?: string | undefined;
167
175
  adress?: string | undefined;
168
176
  capacity?: number | null | undefined;
169
- category?: import("../../shared").Category | undefined;
170
- createdAt?: string | undefined;
171
177
  description?: string | undefined;
172
178
  externalSourceId?: string | null | undefined;
173
179
  finishTime?: string | null | undefined;
174
180
  gpsCoordinates?: {
175
181
  latitude: number;
176
182
  longitude: number;
177
- } | null | undefined;
183
+ } | undefined;
178
184
  hasHandicapAccess?: boolean | null | undefined;
179
- id?: string | undefined;
180
185
  imageBlurHashes?: string[] | undefined;
181
186
  imageUrls?: string[] | undefined;
182
187
  isDisplayed?: boolean | undefined;
@@ -184,22 +189,17 @@ export declare const CreatePartialImportedEventDTOSchema: z.ZodObject<{
184
189
  isOldTimes?: boolean | undefined;
185
190
  isPriceRange?: boolean | undefined;
186
191
  isPromoted?: boolean | undefined;
187
- link?: string | null | undefined;
188
192
  price?: number | null | undefined;
189
- regions?: import("../../shared").Region[] | undefined;
190
- secondaryCategory?: import("../../shared").Category | null | undefined;
191
- startTime?: string | undefined;
193
+ secondaryCategory?: import('../../shared').Category | null | undefined;
192
194
  thumbnailUrl?: string | null | undefined;
193
195
  ticketsUrl?: string | null | undefined;
194
- title?: string | undefined;
195
196
  organizers?: {
196
197
  id: string;
197
- name: string;
198
198
  imageUrl: string | null;
199
+ name: string;
199
200
  }[] | undefined;
200
201
  };
201
202
  source: string;
202
- userId: string;
203
203
  token: string;
204
204
  }>;
205
205
  export type CreatePartialImportedEventDTO = z.infer<typeof CreatePartialImportedEventDTOSchema>;
@@ -4254,6 +4254,10 @@ const FileUploadDTOSchema = z.object({
4254
4254
  publicUrl: URLSchema,
4255
4255
  uploadUrl: URLSchema
4256
4256
  });
4257
+ const GPSCoordinatesSchema = z.object({
4258
+ latitude: z.number(),
4259
+ longitude: z.number()
4260
+ });
4257
4261
  const EventDTOSchema = z.object({
4258
4262
  adress: StringSchema,
4259
4263
  capacity: SafeNonNegativeIntegerSchema.nullable(),
@@ -4262,6 +4266,7 @@ const EventDTOSchema = z.object({
4262
4266
  description: StringSchema,
4263
4267
  externalSourceId: StringSchema.nullable(),
4264
4268
  finishTime: z.string().datetime().nullable(),
4269
+ gpsCoordinates: GPSCoordinatesSchema,
4265
4270
  hasHandicapAccess: z.boolean().nullable(),
4266
4271
  id: EventIdSchema,
4267
4272
  imageBlurHashes: StringSchema.array(),
@@ -4380,7 +4385,6 @@ const AdStatDTOSchema = z.object({
4380
4385
  });
4381
4386
  const GlobalStatsDTOSchema = z.object({
4382
4387
  allAdsStats: AdStatDTOSchema.array(),
4383
- currentFavoritesCount: z.number(),
4384
4388
  eventsCount: z.number(),
4385
4389
  openedEventsCount: z.number(),
4386
4390
  presentOrFutureEventsCount: z.number(),
@@ -4389,7 +4393,9 @@ const GlobalStatsDTOSchema = z.object({
4389
4393
  topUpcomingAddedToFavoritesEvents: TopEventDTOSchema.array(),
4390
4394
  topUpcomingViewedEvents: TopEventDTOSchema.array(),
4391
4395
  topViewedEvents: TopEventDTOSchema.array(),
4396
+ totalAddedToCalendar: z.number(),
4392
4397
  totalFavoritesCount: z.number(),
4398
+ totalShared: z.number(),
4393
4399
  usersCount: z.number(),
4394
4400
  usersWithMultipleDayAppOpened: z.number()
4395
4401
  });
@@ -4410,6 +4416,7 @@ const index$2 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.definePrope
4410
4416
  EventDTOSchema,
4411
4417
  EventFileUploadDTOSchema,
4412
4418
  FileUploadDTOSchema,
4419
+ GPSCoordinatesSchema,
4413
4420
  GlobalStatsDTOSchema,
4414
4421
  ImportDTOSchema,
4415
4422
  ImportFromUrlDTOSchema,
@@ -4252,6 +4252,10 @@ const FileUploadDTOSchema = z.object({
4252
4252
  publicUrl: URLSchema,
4253
4253
  uploadUrl: URLSchema
4254
4254
  });
4255
+ const GPSCoordinatesSchema = z.object({
4256
+ latitude: z.number(),
4257
+ longitude: z.number()
4258
+ });
4255
4259
  const EventDTOSchema = z.object({
4256
4260
  adress: StringSchema,
4257
4261
  capacity: SafeNonNegativeIntegerSchema.nullable(),
@@ -4260,6 +4264,7 @@ const EventDTOSchema = z.object({
4260
4264
  description: StringSchema,
4261
4265
  externalSourceId: StringSchema.nullable(),
4262
4266
  finishTime: z.string().datetime().nullable(),
4267
+ gpsCoordinates: GPSCoordinatesSchema,
4263
4268
  hasHandicapAccess: z.boolean().nullable(),
4264
4269
  id: EventIdSchema,
4265
4270
  imageBlurHashes: StringSchema.array(),
@@ -4378,7 +4383,6 @@ const AdStatDTOSchema = z.object({
4378
4383
  });
4379
4384
  const GlobalStatsDTOSchema = z.object({
4380
4385
  allAdsStats: AdStatDTOSchema.array(),
4381
- currentFavoritesCount: z.number(),
4382
4386
  eventsCount: z.number(),
4383
4387
  openedEventsCount: z.number(),
4384
4388
  presentOrFutureEventsCount: z.number(),
@@ -4387,7 +4391,9 @@ const GlobalStatsDTOSchema = z.object({
4387
4391
  topUpcomingAddedToFavoritesEvents: TopEventDTOSchema.array(),
4388
4392
  topUpcomingViewedEvents: TopEventDTOSchema.array(),
4389
4393
  topViewedEvents: TopEventDTOSchema.array(),
4394
+ totalAddedToCalendar: z.number(),
4390
4395
  totalFavoritesCount: z.number(),
4396
+ totalShared: z.number(),
4391
4397
  usersCount: z.number(),
4392
4398
  usersWithMultipleDayAppOpened: z.number()
4393
4399
  });
@@ -4408,6 +4414,7 @@ const index$2 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.definePrope
4408
4414
  EventDTOSchema,
4409
4415
  EventFileUploadDTOSchema,
4410
4416
  FileUploadDTOSchema,
4417
+ GPSCoordinatesSchema,
4411
4418
  GlobalStatsDTOSchema,
4412
4419
  ImportDTOSchema,
4413
4420
  ImportFromUrlDTOSchema,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sortipei/api-contracts",
3
- "version": "0.2.0",
3
+ "version": "0.2.2",
4
4
  "license": "UNLICENCED",
5
5
  "main": "dist/api-contracts.js",
6
6
  "module": "dist/api-contracts.mjs",