@sortipei/api-contracts 0.1.36 → 0.1.38

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.
@@ -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('../../shared').Category>;
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>;
@@ -12,11 +12,13 @@ export declare const EventDTOSchema: z.ZodObject<{
12
12
  imageBlurHashes: z.ZodArray<z.ZodString, "many">;
13
13
  imageUrls: z.ZodArray<z.ZodString, "many">;
14
14
  isDisplayed: z.ZodBoolean;
15
- isPromoted: z.ZodBoolean;
15
+ isExhibition: z.ZodBoolean;
16
+ isOldTimes: z.ZodBoolean;
16
17
  isPriceRange: z.ZodBoolean;
18
+ isPromoted: z.ZodBoolean;
17
19
  link: z.ZodNullable<z.ZodString>;
18
20
  price: z.ZodNullable<z.ZodNumber>;
19
- regions: z.ZodArray<z.ZodNativeEnum<typeof import('../../shared').Region>, "many">;
21
+ regions: z.ZodArray<z.ZodNativeEnum<typeof import("../../shared").Region>, "many">;
20
22
  startTime: z.ZodString;
21
23
  title: z.ZodString;
22
24
  thumbnailUrl: z.ZodNullable<z.ZodString>;
@@ -27,72 +29,76 @@ export declare const EventDTOSchema: z.ZodObject<{
27
29
  imageUrl: z.ZodNullable<z.ZodString>;
28
30
  }, "strip", z.ZodTypeAny, {
29
31
  id: string & z.BRAND<"OrganizerId">;
30
- imageUrl: string | null;
31
32
  name: string;
33
+ imageUrl: string | null;
32
34
  }, {
33
35
  id: string;
34
- imageUrl: string | null;
35
36
  name: string;
37
+ imageUrl: string | null;
36
38
  }>, "many">;
37
39
  }, "strip", z.ZodTypeAny, {
38
- regions: import('../../shared').Region[];
39
- category: import('../../shared').Category;
40
- startTime: string;
41
- createdAt: string;
42
- id: string & z.BRAND<"EventId">;
43
- link: string | null;
44
40
  adress: string;
45
41
  capacity: number | null;
42
+ category: import("../../shared").Category;
43
+ createdAt: string;
46
44
  description: string;
47
45
  externalSourceId: string | null;
48
46
  finishTime: string | null;
49
47
  hasHandicapAccess: boolean | null;
48
+ id: string & z.BRAND<"EventId">;
50
49
  imageBlurHashes: string[];
51
50
  imageUrls: string[];
52
51
  isDisplayed: boolean;
53
- isPromoted: boolean;
52
+ isExhibition: boolean;
53
+ isOldTimes: boolean;
54
54
  isPriceRange: boolean;
55
+ isPromoted: boolean;
56
+ link: string | null;
55
57
  price: number | null;
58
+ regions: import("../../shared").Region[];
59
+ startTime: string;
56
60
  title: string;
57
61
  thumbnailUrl: string | null;
58
62
  ticketsUrl: string | null;
59
63
  organizers: {
60
64
  id: string & z.BRAND<"OrganizerId">;
61
- imageUrl: string | null;
62
65
  name: string;
66
+ imageUrl: string | null;
63
67
  }[];
64
68
  }, {
65
- regions: import('../../shared').Region[];
66
- category: import('../../shared').Category;
67
- startTime: string;
68
- createdAt: string;
69
- id: string;
70
- link: string | null;
71
69
  adress: string;
72
70
  capacity: number | null;
71
+ category: import("../../shared").Category;
72
+ createdAt: string;
73
73
  description: string;
74
74
  externalSourceId: string | null;
75
75
  finishTime: string | null;
76
76
  hasHandicapAccess: boolean | null;
77
+ id: string;
77
78
  imageBlurHashes: string[];
78
79
  imageUrls: string[];
79
80
  isDisplayed: boolean;
80
- isPromoted: boolean;
81
+ isExhibition: boolean;
82
+ isOldTimes: boolean;
81
83
  isPriceRange: boolean;
84
+ isPromoted: boolean;
85
+ link: string | null;
82
86
  price: number | null;
87
+ regions: import("../../shared").Region[];
88
+ startTime: string;
83
89
  title: string;
84
90
  thumbnailUrl: string | null;
85
91
  ticketsUrl: string | null;
86
92
  organizers: {
87
93
  id: string;
88
- imageUrl: string | null;
89
94
  name: string;
95
+ imageUrl: string | null;
90
96
  }[];
91
97
  }>;
92
98
  export declare const CreateEventDTOSchema: z.ZodObject<{
93
99
  adress: z.ZodString;
94
100
  capacity: z.ZodNullable<z.ZodNumber>;
95
- category: z.ZodNativeEnum<typeof import('../../shared').Category>;
101
+ category: z.ZodNativeEnum<typeof import("../../shared").Category>;
96
102
  description: z.ZodString;
97
103
  externalSourceId: z.ZodNullable<z.ZodString>;
98
104
  finishTime: z.ZodNullable<z.ZodString>;
@@ -101,53 +107,59 @@ export declare const CreateEventDTOSchema: z.ZodObject<{
101
107
  imageBlurHashes: z.ZodArray<z.ZodString, "many">;
102
108
  imageUrls: z.ZodArray<z.ZodString, "many">;
103
109
  isDisplayed: z.ZodBoolean;
110
+ isExhibition: z.ZodBoolean;
111
+ isOldTimes: z.ZodBoolean;
104
112
  isPriceRange: z.ZodBoolean;
105
113
  link: z.ZodNullable<z.ZodString>;
106
114
  organizersIds: z.ZodArray<z.ZodBranded<z.ZodString, "OrganizerId">, "many">;
107
115
  price: z.ZodNullable<z.ZodNumber>;
108
- regions: z.ZodArray<z.ZodNativeEnum<typeof import('../../shared').Region>, "many">;
116
+ regions: z.ZodArray<z.ZodNativeEnum<typeof import("../../shared").Region>, "many">;
109
117
  startTime: z.ZodString;
110
118
  title: z.ZodString;
111
119
  thumbnailUrl: z.ZodNullable<z.ZodString>;
112
120
  ticketsUrl: z.ZodNullable<z.ZodString>;
113
121
  }, "strip", z.ZodTypeAny, {
114
- regions: import('../../shared').Region[];
115
- category: import('../../shared').Category;
116
- startTime: string;
117
- id: string & z.BRAND<"EventId">;
118
- link: string | null;
119
122
  adress: string;
120
123
  capacity: number | null;
124
+ category: import("../../shared").Category;
121
125
  description: string;
122
126
  externalSourceId: string | null;
123
127
  finishTime: string | null;
124
128
  hasHandicapAccess: boolean | null;
129
+ id: string & z.BRAND<"EventId">;
125
130
  imageBlurHashes: string[];
126
131
  imageUrls: string[];
127
132
  isDisplayed: boolean;
133
+ isExhibition: boolean;
134
+ isOldTimes: boolean;
128
135
  isPriceRange: boolean;
136
+ link: string | null;
129
137
  price: number | null;
138
+ regions: import("../../shared").Region[];
139
+ startTime: string;
130
140
  title: string;
131
141
  thumbnailUrl: string | null;
132
142
  ticketsUrl: string | null;
133
143
  organizersIds: (string & z.BRAND<"OrganizerId">)[];
134
144
  }, {
135
- regions: import('../../shared').Region[];
136
- category: import('../../shared').Category;
137
- startTime: string;
138
- id: string;
139
- link: string | null;
140
145
  adress: string;
141
146
  capacity: number | null;
147
+ category: import("../../shared").Category;
142
148
  description: string;
143
149
  externalSourceId: string | null;
144
150
  finishTime: string | null;
145
151
  hasHandicapAccess: boolean | null;
152
+ id: string;
146
153
  imageBlurHashes: string[];
147
154
  imageUrls: string[];
148
155
  isDisplayed: boolean;
156
+ isExhibition: boolean;
157
+ isOldTimes: boolean;
149
158
  isPriceRange: boolean;
159
+ link: string | null;
150
160
  price: number | null;
161
+ regions: import("../../shared").Region[];
162
+ startTime: string;
151
163
  title: string;
152
164
  thumbnailUrl: string | null;
153
165
  ticketsUrl: string | null;
@@ -156,7 +168,7 @@ export declare const CreateEventDTOSchema: z.ZodObject<{
156
168
  export declare const UpdateEventDTOSchema: z.ZodObject<Omit<{
157
169
  adress: z.ZodString;
158
170
  capacity: z.ZodNullable<z.ZodNumber>;
159
- category: z.ZodNativeEnum<typeof import('../../shared').Category>;
171
+ category: z.ZodNativeEnum<typeof import("../../shared").Category>;
160
172
  description: z.ZodString;
161
173
  externalSourceId: z.ZodNullable<z.ZodString>;
162
174
  finishTime: z.ZodNullable<z.ZodString>;
@@ -165,22 +177,21 @@ export declare const UpdateEventDTOSchema: z.ZodObject<Omit<{
165
177
  imageBlurHashes: z.ZodArray<z.ZodString, "many">;
166
178
  imageUrls: z.ZodArray<z.ZodString, "many">;
167
179
  isDisplayed: z.ZodBoolean;
180
+ isExhibition: z.ZodBoolean;
181
+ isOldTimes: z.ZodBoolean;
168
182
  isPriceRange: z.ZodBoolean;
169
183
  link: z.ZodNullable<z.ZodString>;
170
184
  organizersIds: z.ZodArray<z.ZodBranded<z.ZodString, "OrganizerId">, "many">;
171
185
  price: z.ZodNullable<z.ZodNumber>;
172
- regions: z.ZodArray<z.ZodNativeEnum<typeof import('../../shared').Region>, "many">;
186
+ regions: z.ZodArray<z.ZodNativeEnum<typeof import("../../shared").Region>, "many">;
173
187
  startTime: z.ZodString;
174
188
  title: z.ZodString;
175
189
  thumbnailUrl: z.ZodNullable<z.ZodString>;
176
190
  ticketsUrl: z.ZodNullable<z.ZodString>;
177
191
  }, "id">, "strip", z.ZodTypeAny, {
178
- regions: import('../../shared').Region[];
179
- category: import('../../shared').Category;
180
- startTime: string;
181
- link: string | null;
182
192
  adress: string;
183
193
  capacity: number | null;
194
+ category: import("../../shared").Category;
184
195
  description: string;
185
196
  externalSourceId: string | null;
186
197
  finishTime: string | null;
@@ -188,19 +199,21 @@ export declare const UpdateEventDTOSchema: z.ZodObject<Omit<{
188
199
  imageBlurHashes: string[];
189
200
  imageUrls: string[];
190
201
  isDisplayed: boolean;
202
+ isExhibition: boolean;
203
+ isOldTimes: boolean;
191
204
  isPriceRange: boolean;
205
+ link: string | null;
192
206
  price: number | null;
207
+ regions: import("../../shared").Region[];
208
+ startTime: string;
193
209
  title: string;
194
210
  thumbnailUrl: string | null;
195
211
  ticketsUrl: string | null;
196
212
  organizersIds: (string & z.BRAND<"OrganizerId">)[];
197
213
  }, {
198
- regions: import('../../shared').Region[];
199
- category: import('../../shared').Category;
200
- startTime: string;
201
- link: string | null;
202
214
  adress: string;
203
215
  capacity: number | null;
216
+ category: import("../../shared").Category;
204
217
  description: string;
205
218
  externalSourceId: string | null;
206
219
  finishTime: string | null;
@@ -208,8 +221,13 @@ export declare const UpdateEventDTOSchema: z.ZodObject<Omit<{
208
221
  imageBlurHashes: string[];
209
222
  imageUrls: string[];
210
223
  isDisplayed: boolean;
224
+ isExhibition: boolean;
225
+ isOldTimes: boolean;
211
226
  isPriceRange: boolean;
227
+ link: string | null;
212
228
  price: number | null;
229
+ regions: import("../../shared").Region[];
230
+ startTime: string;
213
231
  title: string;
214
232
  thumbnailUrl: string | null;
215
233
  ticketsUrl: string | null;
@@ -255,7 +273,7 @@ export declare const ImportDTOSchema: z.ZodObject<{
255
273
  partialEventState: z.ZodObject<{
256
274
  adress: z.ZodOptional<z.ZodString>;
257
275
  capacity: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
258
- category: z.ZodOptional<z.ZodNativeEnum<typeof import('../../shared').Category>>;
276
+ category: z.ZodOptional<z.ZodNativeEnum<typeof import("../../shared").Category>>;
259
277
  createdAt: z.ZodOptional<z.ZodString>;
260
278
  description: z.ZodOptional<z.ZodString>;
261
279
  externalSourceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -265,11 +283,13 @@ export declare const ImportDTOSchema: z.ZodObject<{
265
283
  imageBlurHashes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
266
284
  imageUrls: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
267
285
  isDisplayed: z.ZodOptional<z.ZodBoolean>;
268
- isPromoted: z.ZodOptional<z.ZodBoolean>;
286
+ isExhibition: z.ZodOptional<z.ZodBoolean>;
287
+ isOldTimes: z.ZodOptional<z.ZodBoolean>;
269
288
  isPriceRange: z.ZodOptional<z.ZodBoolean>;
289
+ isPromoted: z.ZodOptional<z.ZodBoolean>;
270
290
  link: z.ZodOptional<z.ZodNullable<z.ZodString>>;
271
291
  price: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
272
- regions: z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof import('../../shared').Region>, "many">>;
292
+ regions: z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof import("../../shared").Region>, "many">>;
273
293
  startTime: z.ZodOptional<z.ZodString>;
274
294
  title: z.ZodOptional<z.ZodString>;
275
295
  thumbnailUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -280,138 +300,146 @@ export declare const ImportDTOSchema: z.ZodObject<{
280
300
  imageUrl: z.ZodNullable<z.ZodString>;
281
301
  }, "strip", z.ZodTypeAny, {
282
302
  id: string & z.BRAND<"OrganizerId">;
283
- imageUrl: string | null;
284
303
  name: string;
304
+ imageUrl: string | null;
285
305
  }, {
286
306
  id: string;
287
- imageUrl: string | null;
288
307
  name: string;
308
+ imageUrl: string | null;
289
309
  }>, "many">>;
290
310
  }, "strip", z.ZodTypeAny, {
291
- regions?: import('../../shared').Region[] | undefined;
292
- category?: import('../../shared').Category | undefined;
293
- startTime?: string | undefined;
294
- createdAt?: string | undefined;
295
- id?: (string & z.BRAND<"EventId">) | undefined;
296
- link?: string | null | undefined;
297
311
  adress?: string | undefined;
298
312
  capacity?: number | null | undefined;
313
+ category?: import("../../shared").Category | undefined;
314
+ createdAt?: string | undefined;
299
315
  description?: string | undefined;
300
316
  externalSourceId?: string | null | undefined;
301
317
  finishTime?: string | null | undefined;
302
318
  hasHandicapAccess?: boolean | null | undefined;
319
+ id?: (string & z.BRAND<"EventId">) | undefined;
303
320
  imageBlurHashes?: string[] | undefined;
304
321
  imageUrls?: string[] | undefined;
305
322
  isDisplayed?: boolean | undefined;
306
- isPromoted?: boolean | undefined;
323
+ isExhibition?: boolean | undefined;
324
+ isOldTimes?: boolean | undefined;
307
325
  isPriceRange?: boolean | undefined;
326
+ isPromoted?: boolean | undefined;
327
+ link?: string | null | undefined;
308
328
  price?: number | null | undefined;
329
+ regions?: import("../../shared").Region[] | undefined;
330
+ startTime?: string | undefined;
309
331
  title?: string | undefined;
310
332
  thumbnailUrl?: string | null | undefined;
311
333
  ticketsUrl?: string | null | undefined;
312
334
  organizers?: {
313
335
  id: string & z.BRAND<"OrganizerId">;
314
- imageUrl: string | null;
315
336
  name: string;
337
+ imageUrl: string | null;
316
338
  }[] | undefined;
317
339
  }, {
318
- regions?: import('../../shared').Region[] | undefined;
319
- category?: import('../../shared').Category | undefined;
320
- startTime?: string | undefined;
321
- createdAt?: string | undefined;
322
- id?: string | undefined;
323
- link?: string | null | undefined;
324
340
  adress?: string | undefined;
325
341
  capacity?: number | null | undefined;
342
+ category?: import("../../shared").Category | undefined;
343
+ createdAt?: string | undefined;
326
344
  description?: string | undefined;
327
345
  externalSourceId?: string | null | undefined;
328
346
  finishTime?: string | null | undefined;
329
347
  hasHandicapAccess?: boolean | null | undefined;
348
+ id?: string | undefined;
330
349
  imageBlurHashes?: string[] | undefined;
331
350
  imageUrls?: string[] | undefined;
332
351
  isDisplayed?: boolean | undefined;
333
- isPromoted?: boolean | undefined;
352
+ isExhibition?: boolean | undefined;
353
+ isOldTimes?: boolean | undefined;
334
354
  isPriceRange?: boolean | undefined;
355
+ isPromoted?: boolean | undefined;
356
+ link?: string | null | undefined;
335
357
  price?: number | null | undefined;
358
+ regions?: import("../../shared").Region[] | undefined;
359
+ startTime?: string | undefined;
336
360
  title?: string | undefined;
337
361
  thumbnailUrl?: string | null | undefined;
338
362
  ticketsUrl?: string | null | undefined;
339
363
  organizers?: {
340
364
  id: string;
341
- imageUrl: string | null;
342
365
  name: string;
366
+ imageUrl: string | null;
343
367
  }[] | undefined;
344
368
  }>;
345
369
  source: z.ZodUnion<[z.ZodLiteral<"facebook">, z.ZodLiteral<"website">]>;
346
370
  userId: z.ZodString;
347
371
  }, "strip", z.ZodTypeAny, {
348
- userId: string;
349
372
  createdAt: string;
350
373
  id: string;
351
374
  organizersNames: string[];
352
375
  partialEventState: {
353
- regions?: import('../../shared').Region[] | undefined;
354
- category?: import('../../shared').Category | undefined;
355
- startTime?: string | undefined;
356
- createdAt?: string | undefined;
357
- id?: (string & z.BRAND<"EventId">) | undefined;
358
- link?: string | null | undefined;
359
376
  adress?: string | undefined;
360
377
  capacity?: number | null | undefined;
378
+ category?: import("../../shared").Category | undefined;
379
+ createdAt?: string | undefined;
361
380
  description?: string | undefined;
362
381
  externalSourceId?: string | null | undefined;
363
382
  finishTime?: string | null | undefined;
364
383
  hasHandicapAccess?: boolean | null | undefined;
384
+ id?: (string & z.BRAND<"EventId">) | undefined;
365
385
  imageBlurHashes?: string[] | undefined;
366
386
  imageUrls?: string[] | undefined;
367
387
  isDisplayed?: boolean | undefined;
368
- isPromoted?: boolean | undefined;
388
+ isExhibition?: boolean | undefined;
389
+ isOldTimes?: boolean | undefined;
369
390
  isPriceRange?: boolean | undefined;
391
+ isPromoted?: boolean | undefined;
392
+ link?: string | null | undefined;
370
393
  price?: number | null | undefined;
394
+ regions?: import("../../shared").Region[] | undefined;
395
+ startTime?: string | undefined;
371
396
  title?: string | undefined;
372
397
  thumbnailUrl?: string | null | undefined;
373
398
  ticketsUrl?: string | null | undefined;
374
399
  organizers?: {
375
400
  id: string & z.BRAND<"OrganizerId">;
376
- imageUrl: string | null;
377
401
  name: string;
402
+ imageUrl: string | null;
378
403
  }[] | undefined;
379
404
  };
380
405
  source: "facebook" | "website";
381
- }, {
382
406
  userId: string;
407
+ }, {
383
408
  createdAt: string;
384
409
  id: string;
385
410
  organizersNames: string[];
386
411
  partialEventState: {
387
- regions?: import('../../shared').Region[] | undefined;
388
- category?: import('../../shared').Category | undefined;
389
- startTime?: string | undefined;
390
- createdAt?: string | undefined;
391
- id?: string | undefined;
392
- link?: string | null | undefined;
393
412
  adress?: string | undefined;
394
413
  capacity?: number | null | undefined;
414
+ category?: import("../../shared").Category | undefined;
415
+ createdAt?: string | undefined;
395
416
  description?: string | undefined;
396
417
  externalSourceId?: string | null | undefined;
397
418
  finishTime?: string | null | undefined;
398
419
  hasHandicapAccess?: boolean | null | undefined;
420
+ id?: string | undefined;
399
421
  imageBlurHashes?: string[] | undefined;
400
422
  imageUrls?: string[] | undefined;
401
423
  isDisplayed?: boolean | undefined;
402
- isPromoted?: boolean | undefined;
424
+ isExhibition?: boolean | undefined;
425
+ isOldTimes?: boolean | undefined;
403
426
  isPriceRange?: boolean | undefined;
427
+ isPromoted?: boolean | undefined;
428
+ link?: string | null | undefined;
404
429
  price?: number | null | undefined;
430
+ regions?: import("../../shared").Region[] | undefined;
431
+ startTime?: string | undefined;
405
432
  title?: string | undefined;
406
433
  thumbnailUrl?: string | null | undefined;
407
434
  ticketsUrl?: string | null | undefined;
408
435
  organizers?: {
409
436
  id: string;
410
- imageUrl: string | null;
411
437
  name: string;
438
+ imageUrl: string | null;
412
439
  }[] | undefined;
413
440
  };
414
441
  source: "facebook" | "website";
442
+ userId: string;
415
443
  }>;
416
444
  export type ImportDTO = z.infer<typeof ImportDTOSchema>;
417
445
  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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA+BzB,CAAC;AAEH,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAqB/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,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAiCzB,CAAC;AAEH,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAuB/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"}
@@ -5,12 +5,12 @@ export declare const TopEventDTOSchema: z.ZodObject<{
5
5
  eventId: z.ZodBranded<z.ZodString, "EventId">;
6
6
  eventTitle: z.ZodString;
7
7
  }, "strip", z.ZodTypeAny, {
8
- count: number;
9
8
  eventId: string & z.BRAND<"EventId">;
9
+ count: number;
10
10
  eventTitle: string;
11
11
  }, {
12
- count: number;
13
12
  eventId: string;
13
+ count: number;
14
14
  eventTitle: string;
15
15
  }>;
16
16
  export declare const GlobalStatsDTOSchema: z.ZodObject<{
@@ -24,12 +24,12 @@ export declare const GlobalStatsDTOSchema: z.ZodObject<{
24
24
  eventId: z.ZodBranded<z.ZodString, "EventId">;
25
25
  eventTitle: z.ZodString;
26
26
  }, "strip", z.ZodTypeAny, {
27
- count: number;
28
27
  eventId: string & z.BRAND<"EventId">;
28
+ count: number;
29
29
  eventTitle: string;
30
30
  }, {
31
- count: number;
32
31
  eventId: string;
32
+ count: number;
33
33
  eventTitle: string;
34
34
  }>, "many">;
35
35
  topUpcomingAddedToFavoritesEvents: z.ZodArray<z.ZodObject<{
@@ -37,12 +37,12 @@ export declare const GlobalStatsDTOSchema: z.ZodObject<{
37
37
  eventId: z.ZodBranded<z.ZodString, "EventId">;
38
38
  eventTitle: z.ZodString;
39
39
  }, "strip", z.ZodTypeAny, {
40
- count: number;
41
40
  eventId: string & z.BRAND<"EventId">;
41
+ count: number;
42
42
  eventTitle: string;
43
43
  }, {
44
- count: number;
45
44
  eventId: string;
45
+ count: number;
46
46
  eventTitle: string;
47
47
  }>, "many">;
48
48
  topUpcomingViewedEvents: z.ZodArray<z.ZodObject<{
@@ -50,12 +50,12 @@ export declare const GlobalStatsDTOSchema: z.ZodObject<{
50
50
  eventId: z.ZodBranded<z.ZodString, "EventId">;
51
51
  eventTitle: z.ZodString;
52
52
  }, "strip", z.ZodTypeAny, {
53
- count: number;
54
53
  eventId: string & z.BRAND<"EventId">;
54
+ count: number;
55
55
  eventTitle: string;
56
56
  }, {
57
- count: number;
58
57
  eventId: string;
58
+ count: number;
59
59
  eventTitle: string;
60
60
  }>, "many">;
61
61
  topViewedEvents: z.ZodArray<z.ZodObject<{
@@ -63,12 +63,12 @@ export declare const GlobalStatsDTOSchema: z.ZodObject<{
63
63
  eventId: z.ZodBranded<z.ZodString, "EventId">;
64
64
  eventTitle: z.ZodString;
65
65
  }, "strip", z.ZodTypeAny, {
66
- count: number;
67
66
  eventId: string & z.BRAND<"EventId">;
67
+ count: number;
68
68
  eventTitle: string;
69
69
  }, {
70
- count: number;
71
70
  eventId: string;
71
+ count: number;
72
72
  eventTitle: string;
73
73
  }>, "many">;
74
74
  totalFavoritesCount: z.ZodNumber;
@@ -81,23 +81,23 @@ export declare const GlobalStatsDTOSchema: z.ZodObject<{
81
81
  presentOrFutureEventsCount: number;
82
82
  sharedEventsCount: number;
83
83
  topAddedToFavoritesEvents: {
84
- count: number;
85
84
  eventId: string & z.BRAND<"EventId">;
85
+ count: number;
86
86
  eventTitle: string;
87
87
  }[];
88
88
  topUpcomingAddedToFavoritesEvents: {
89
- count: number;
90
89
  eventId: string & z.BRAND<"EventId">;
90
+ count: number;
91
91
  eventTitle: string;
92
92
  }[];
93
93
  topUpcomingViewedEvents: {
94
- count: number;
95
94
  eventId: string & z.BRAND<"EventId">;
95
+ count: number;
96
96
  eventTitle: string;
97
97
  }[];
98
98
  topViewedEvents: {
99
- count: number;
100
99
  eventId: string & z.BRAND<"EventId">;
100
+ count: number;
101
101
  eventTitle: string;
102
102
  }[];
103
103
  totalFavoritesCount: number;
@@ -110,23 +110,23 @@ export declare const GlobalStatsDTOSchema: z.ZodObject<{
110
110
  presentOrFutureEventsCount: number;
111
111
  sharedEventsCount: number;
112
112
  topAddedToFavoritesEvents: {
113
- count: number;
114
113
  eventId: string;
114
+ count: number;
115
115
  eventTitle: string;
116
116
  }[];
117
117
  topUpcomingAddedToFavoritesEvents: {
118
- count: number;
119
118
  eventId: string;
119
+ count: number;
120
120
  eventTitle: string;
121
121
  }[];
122
122
  topUpcomingViewedEvents: {
123
- count: number;
124
123
  eventId: string;
124
+ count: number;
125
125
  eventTitle: string;
126
126
  }[];
127
127
  topViewedEvents: {
128
- count: number;
129
128
  eventId: string;
129
+ count: number;
130
130
  eventTitle: string;
131
131
  }[];
132
132
  totalFavoritesCount: number;
@@ -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("../../shared").Category>;
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("../../shared").Category;
167
+ category: import('../../shared').Category;
168
168
  }, {
169
169
  userId: string;
170
- category: import("../../shared").Category;
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("../../shared").Category;
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("../../shared").Category;
185
+ category: import('../../shared').Category;
186
186
  };
187
187
  time: string;
188
188
  }>, z.ZodObject<{
@@ -222,26 +222,26 @@ export declare const SaveStatisticDTOSchema: z.ZodObject<{
222
222
  userId: z.ZodString;
223
223
  eventId: z.ZodString;
224
224
  }, "strip", z.ZodTypeAny, {
225
- eventId: string;
226
225
  userId: string;
227
- }, {
228
226
  eventId: string;
227
+ }, {
229
228
  userId: string;
229
+ eventId: string;
230
230
  }>;
231
231
  time: z.ZodString;
232
232
  type: z.ZodLiteral<"event-added-to-calendar">;
233
233
  }, "strip", z.ZodTypeAny, {
234
234
  type: "event-added-to-calendar";
235
235
  data: {
236
- eventId: string;
237
236
  userId: string;
237
+ eventId: string;
238
238
  };
239
239
  time: string;
240
240
  }, {
241
241
  type: "event-added-to-calendar";
242
242
  data: {
243
- eventId: string;
244
243
  userId: string;
244
+ eventId: string;
245
245
  };
246
246
  time: string;
247
247
  }>, z.ZodObject<{
@@ -249,26 +249,26 @@ export declare const SaveStatisticDTOSchema: z.ZodObject<{
249
249
  userId: z.ZodString;
250
250
  eventId: z.ZodString;
251
251
  }, "strip", z.ZodTypeAny, {
252
- eventId: string;
253
252
  userId: string;
254
- }, {
255
253
  eventId: string;
254
+ }, {
256
255
  userId: string;
256
+ eventId: string;
257
257
  }>;
258
258
  time: z.ZodString;
259
259
  type: z.ZodLiteral<"event-added-to-favorites">;
260
260
  }, "strip", z.ZodTypeAny, {
261
261
  type: "event-added-to-favorites";
262
262
  data: {
263
- eventId: string;
264
263
  userId: string;
264
+ eventId: string;
265
265
  };
266
266
  time: string;
267
267
  }, {
268
268
  type: "event-added-to-favorites";
269
269
  data: {
270
- eventId: string;
271
270
  userId: string;
271
+ eventId: string;
272
272
  };
273
273
  time: string;
274
274
  }>, z.ZodObject<{
@@ -276,26 +276,26 @@ export declare const SaveStatisticDTOSchema: z.ZodObject<{
276
276
  userId: z.ZodString;
277
277
  eventId: z.ZodString;
278
278
  }, "strip", z.ZodTypeAny, {
279
- eventId: string;
280
279
  userId: string;
281
- }, {
282
280
  eventId: string;
281
+ }, {
283
282
  userId: string;
283
+ eventId: string;
284
284
  }>;
285
285
  time: z.ZodString;
286
286
  type: z.ZodLiteral<"event-displayed">;
287
287
  }, "strip", z.ZodTypeAny, {
288
288
  type: "event-displayed";
289
289
  data: {
290
- eventId: string;
291
290
  userId: string;
291
+ eventId: string;
292
292
  };
293
293
  time: string;
294
294
  }, {
295
295
  type: "event-displayed";
296
296
  data: {
297
- eventId: string;
298
297
  userId: string;
298
+ eventId: string;
299
299
  };
300
300
  time: string;
301
301
  }>, z.ZodObject<{
@@ -303,26 +303,26 @@ export declare const SaveStatisticDTOSchema: z.ZodObject<{
303
303
  userId: z.ZodString;
304
304
  eventId: z.ZodString;
305
305
  }, "strip", z.ZodTypeAny, {
306
- eventId: string;
307
306
  userId: string;
308
- }, {
309
307
  eventId: string;
308
+ }, {
310
309
  userId: string;
310
+ eventId: string;
311
311
  }>;
312
312
  time: z.ZodString;
313
313
  type: z.ZodLiteral<"event-see-more-clicked">;
314
314
  }, "strip", z.ZodTypeAny, {
315
315
  type: "event-see-more-clicked";
316
316
  data: {
317
- eventId: string;
318
317
  userId: string;
318
+ eventId: string;
319
319
  };
320
320
  time: string;
321
321
  }, {
322
322
  type: "event-see-more-clicked";
323
323
  data: {
324
- eventId: string;
325
324
  userId: string;
325
+ eventId: string;
326
326
  };
327
327
  time: string;
328
328
  }>, z.ZodObject<{
@@ -330,26 +330,26 @@ export declare const SaveStatisticDTOSchema: z.ZodObject<{
330
330
  userId: z.ZodString;
331
331
  eventId: z.ZodString;
332
332
  }, "strip", z.ZodTypeAny, {
333
- eventId: string;
334
333
  userId: string;
335
- }, {
336
334
  eventId: string;
335
+ }, {
337
336
  userId: string;
337
+ eventId: string;
338
338
  }>;
339
339
  time: z.ZodString;
340
340
  type: z.ZodLiteral<"event-tickets-clicked">;
341
341
  }, "strip", z.ZodTypeAny, {
342
342
  type: "event-tickets-clicked";
343
343
  data: {
344
- eventId: string;
345
344
  userId: string;
345
+ eventId: string;
346
346
  };
347
347
  time: string;
348
348
  }, {
349
349
  type: "event-tickets-clicked";
350
350
  data: {
351
- eventId: string;
352
351
  userId: string;
352
+ eventId: string;
353
353
  };
354
354
  time: string;
355
355
  }>, z.ZodObject<{
@@ -357,26 +357,26 @@ export declare const SaveStatisticDTOSchema: z.ZodObject<{
357
357
  userId: z.ZodString;
358
358
  eventId: z.ZodString;
359
359
  }, "strip", z.ZodTypeAny, {
360
- eventId: string;
361
360
  userId: string;
362
- }, {
363
361
  eventId: string;
362
+ }, {
364
363
  userId: string;
364
+ eventId: string;
365
365
  }>;
366
366
  time: z.ZodString;
367
367
  type: z.ZodLiteral<"event-shared">;
368
368
  }, "strip", z.ZodTypeAny, {
369
369
  type: "event-shared";
370
370
  data: {
371
- eventId: string;
372
371
  userId: string;
372
+ eventId: string;
373
373
  };
374
374
  time: string;
375
375
  }, {
376
376
  type: "event-shared";
377
377
  data: {
378
- eventId: string;
379
378
  userId: string;
379
+ eventId: string;
380
380
  };
381
381
  time: string;
382
382
  }>, z.ZodObject<{
@@ -430,14 +430,14 @@ export declare const SaveStatisticDTOSchema: z.ZodObject<{
430
430
  time: string;
431
431
  }>, z.ZodObject<{
432
432
  data: z.ZodObject<{
433
- regions: z.ZodArray<z.ZodNativeEnum<typeof import("../../shared").Region>, "many">;
433
+ regions: z.ZodArray<z.ZodNativeEnum<typeof import('../../shared').Region>, "many">;
434
434
  userId: z.ZodString;
435
435
  }, "strip", z.ZodTypeAny, {
436
436
  userId: string;
437
- regions: import("../../shared").Region[];
437
+ regions: import('../../shared').Region[];
438
438
  }, {
439
439
  userId: string;
440
- regions: import("../../shared").Region[];
440
+ regions: import('../../shared').Region[];
441
441
  }>;
442
442
  time: z.ZodString;
443
443
  type: z.ZodLiteral<"region-filter-applied">;
@@ -445,14 +445,14 @@ export declare const SaveStatisticDTOSchema: z.ZodObject<{
445
445
  type: "region-filter-applied";
446
446
  data: {
447
447
  userId: string;
448
- regions: import("../../shared").Region[];
448
+ regions: import('../../shared').Region[];
449
449
  };
450
450
  time: string;
451
451
  }, {
452
452
  type: "region-filter-applied";
453
453
  data: {
454
454
  userId: string;
455
- regions: import("../../shared").Region[];
455
+ regions: import('../../shared').Region[];
456
456
  };
457
457
  time: string;
458
458
  }>]>;
@@ -464,60 +464,59 @@ export declare const SaveStatisticDTOSchema: z.ZodObject<{
464
464
  };
465
465
  time: string;
466
466
  } | {
467
- type: "category-filter-applied";
467
+ type: "event-displayed";
468
468
  data: {
469
469
  userId: string;
470
- category: import("../../shared").Category;
470
+ eventId: string;
471
471
  };
472
472
  time: string;
473
473
  } | {
474
- type: "date-filter-applied";
474
+ type: "organizer-displayed";
475
475
  data: {
476
476
  userId: string;
477
- startTime: string;
478
- endTime: string;
477
+ organizerId: string;
479
478
  };
480
479
  time: string;
481
480
  } | {
482
- type: "event-added-to-calendar";
481
+ type: "event-added-to-favorites";
483
482
  data: {
484
- eventId: string;
485
483
  userId: string;
484
+ eventId: string;
486
485
  };
487
486
  time: string;
488
487
  } | {
489
- type: "event-added-to-favorites";
488
+ type: "event-added-to-calendar";
490
489
  data: {
491
- eventId: string;
492
490
  userId: string;
491
+ eventId: string;
493
492
  };
494
493
  time: string;
495
494
  } | {
496
- type: "event-displayed";
495
+ type: "event-shared";
497
496
  data: {
498
- eventId: string;
499
497
  userId: string;
498
+ eventId: string;
500
499
  };
501
500
  time: string;
502
501
  } | {
503
- type: "event-see-more-clicked";
502
+ type: "event-tickets-clicked";
504
503
  data: {
505
- eventId: string;
506
504
  userId: string;
505
+ eventId: string;
507
506
  };
508
507
  time: string;
509
508
  } | {
510
- type: "event-tickets-clicked";
509
+ type: "event-see-more-clicked";
511
510
  data: {
512
- eventId: string;
513
511
  userId: string;
512
+ eventId: string;
514
513
  };
515
514
  time: string;
516
515
  } | {
517
- type: "event-shared";
516
+ type: "region-filter-applied";
518
517
  data: {
519
- eventId: string;
520
518
  userId: string;
519
+ regions: import('../../shared').Region[];
521
520
  };
522
521
  time: string;
523
522
  } | {
@@ -527,17 +526,18 @@ export declare const SaveStatisticDTOSchema: z.ZodObject<{
527
526
  };
528
527
  time: string;
529
528
  } | {
530
- type: "organizer-displayed";
529
+ type: "category-filter-applied";
531
530
  data: {
532
531
  userId: string;
533
- organizerId: string;
532
+ category: import('../../shared').Category;
534
533
  };
535
534
  time: string;
536
535
  } | {
537
- type: "region-filter-applied";
536
+ type: "date-filter-applied";
538
537
  data: {
539
538
  userId: string;
540
- regions: import("../../shared").Region[];
539
+ startTime: string;
540
+ endTime: string;
541
541
  };
542
542
  time: string;
543
543
  };
@@ -549,60 +549,59 @@ export declare const SaveStatisticDTOSchema: z.ZodObject<{
549
549
  };
550
550
  time: string;
551
551
  } | {
552
- type: "category-filter-applied";
552
+ type: "event-displayed";
553
553
  data: {
554
554
  userId: string;
555
- category: import("../../shared").Category;
555
+ eventId: string;
556
556
  };
557
557
  time: string;
558
558
  } | {
559
- type: "date-filter-applied";
559
+ type: "organizer-displayed";
560
560
  data: {
561
561
  userId: string;
562
- startTime: string;
563
- endTime: string;
562
+ organizerId: string;
564
563
  };
565
564
  time: string;
566
565
  } | {
567
- type: "event-added-to-calendar";
566
+ type: "event-added-to-favorites";
568
567
  data: {
569
- eventId: string;
570
568
  userId: string;
569
+ eventId: string;
571
570
  };
572
571
  time: string;
573
572
  } | {
574
- type: "event-added-to-favorites";
573
+ type: "event-added-to-calendar";
575
574
  data: {
576
- eventId: string;
577
575
  userId: string;
576
+ eventId: string;
578
577
  };
579
578
  time: string;
580
579
  } | {
581
- type: "event-displayed";
580
+ type: "event-shared";
582
581
  data: {
583
- eventId: string;
584
582
  userId: string;
583
+ eventId: string;
585
584
  };
586
585
  time: string;
587
586
  } | {
588
- type: "event-see-more-clicked";
587
+ type: "event-tickets-clicked";
589
588
  data: {
590
- eventId: string;
591
589
  userId: string;
590
+ eventId: string;
592
591
  };
593
592
  time: string;
594
593
  } | {
595
- type: "event-tickets-clicked";
594
+ type: "event-see-more-clicked";
596
595
  data: {
597
- eventId: string;
598
596
  userId: string;
597
+ eventId: string;
599
598
  };
600
599
  time: string;
601
600
  } | {
602
- type: "event-shared";
601
+ type: "region-filter-applied";
603
602
  data: {
604
- eventId: string;
605
603
  userId: string;
604
+ regions: import('../../shared').Region[];
606
605
  };
607
606
  time: string;
608
607
  } | {
@@ -612,17 +611,18 @@ export declare const SaveStatisticDTOSchema: z.ZodObject<{
612
611
  };
613
612
  time: string;
614
613
  } | {
615
- type: "organizer-displayed";
614
+ type: "category-filter-applied";
616
615
  data: {
617
616
  userId: string;
618
- organizerId: string;
617
+ category: import('../../shared').Category;
619
618
  };
620
619
  time: string;
621
620
  } | {
622
- type: "region-filter-applied";
621
+ type: "date-filter-applied";
623
622
  data: {
624
623
  userId: string;
625
- regions: import("../../shared").Region[];
624
+ startTime: string;
625
+ endTime: string;
626
626
  };
627
627
  time: string;
628
628
  };
@@ -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('../../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>>;
@@ -13,11 +13,13 @@ export declare const CreatePartialImportedEventDTOSchema: z.ZodObject<{
13
13
  imageBlurHashes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
14
14
  imageUrls: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
15
15
  isDisplayed: z.ZodOptional<z.ZodBoolean>;
16
- isPromoted: z.ZodOptional<z.ZodBoolean>;
16
+ isExhibition: z.ZodOptional<z.ZodBoolean>;
17
+ isOldTimes: z.ZodOptional<z.ZodBoolean>;
17
18
  isPriceRange: z.ZodOptional<z.ZodBoolean>;
19
+ isPromoted: z.ZodOptional<z.ZodBoolean>;
18
20
  link: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19
21
  price: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
20
- regions: z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof import('../../shared').Region>, "many">>;
22
+ regions: z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof import("../../shared").Region>, "many">>;
21
23
  startTime: z.ZodOptional<z.ZodString>;
22
24
  title: z.ZodOptional<z.ZodString>;
23
25
  thumbnailUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -28,66 +30,70 @@ export declare const CreatePartialImportedEventDTOSchema: z.ZodObject<{
28
30
  imageUrl: z.ZodNullable<z.ZodString>;
29
31
  }, "strip", z.ZodTypeAny, {
30
32
  id: string & z.BRAND<"OrganizerId">;
31
- imageUrl: string | null;
32
33
  name: string;
34
+ imageUrl: string | null;
33
35
  }, {
34
36
  id: string;
35
- imageUrl: string | null;
36
37
  name: string;
38
+ imageUrl: string | null;
37
39
  }>, "many">>;
38
40
  }, "strip", z.ZodTypeAny, {
39
- regions?: import('../../shared').Region[] | undefined;
40
- category?: import('../../shared').Category | undefined;
41
- startTime?: string | undefined;
42
- createdAt?: string | undefined;
43
- id?: (string & z.BRAND<"EventId">) | undefined;
44
- link?: string | null | undefined;
45
41
  adress?: string | undefined;
46
42
  capacity?: number | null | undefined;
43
+ category?: import("../../shared").Category | undefined;
44
+ createdAt?: string | undefined;
47
45
  description?: string | undefined;
48
46
  externalSourceId?: string | null | undefined;
49
47
  finishTime?: string | null | undefined;
50
48
  hasHandicapAccess?: boolean | null | undefined;
49
+ id?: (string & z.BRAND<"EventId">) | undefined;
51
50
  imageBlurHashes?: string[] | undefined;
52
51
  imageUrls?: string[] | undefined;
53
52
  isDisplayed?: boolean | undefined;
54
- isPromoted?: boolean | undefined;
53
+ isExhibition?: boolean | undefined;
54
+ isOldTimes?: boolean | undefined;
55
55
  isPriceRange?: boolean | undefined;
56
+ isPromoted?: boolean | undefined;
57
+ link?: string | null | undefined;
56
58
  price?: number | null | undefined;
59
+ regions?: import("../../shared").Region[] | undefined;
60
+ startTime?: string | undefined;
57
61
  title?: string | undefined;
58
62
  thumbnailUrl?: string | null | undefined;
59
63
  ticketsUrl?: string | null | undefined;
60
64
  organizers?: {
61
65
  id: string & z.BRAND<"OrganizerId">;
62
- imageUrl: string | null;
63
66
  name: string;
67
+ imageUrl: string | null;
64
68
  }[] | undefined;
65
69
  }, {
66
- regions?: import('../../shared').Region[] | undefined;
67
- category?: import('../../shared').Category | undefined;
68
- startTime?: string | undefined;
69
- createdAt?: string | undefined;
70
- id?: string | undefined;
71
- link?: string | null | undefined;
72
70
  adress?: string | undefined;
73
71
  capacity?: number | null | undefined;
72
+ category?: import("../../shared").Category | undefined;
73
+ createdAt?: string | undefined;
74
74
  description?: string | undefined;
75
75
  externalSourceId?: string | null | undefined;
76
76
  finishTime?: string | null | undefined;
77
77
  hasHandicapAccess?: boolean | null | undefined;
78
+ id?: string | undefined;
78
79
  imageBlurHashes?: string[] | undefined;
79
80
  imageUrls?: string[] | undefined;
80
81
  isDisplayed?: boolean | undefined;
81
- isPromoted?: boolean | undefined;
82
+ isExhibition?: boolean | undefined;
83
+ isOldTimes?: boolean | undefined;
82
84
  isPriceRange?: boolean | undefined;
85
+ isPromoted?: boolean | undefined;
86
+ link?: string | null | undefined;
83
87
  price?: number | null | undefined;
88
+ regions?: import("../../shared").Region[] | undefined;
89
+ startTime?: string | undefined;
84
90
  title?: string | undefined;
85
91
  thumbnailUrl?: string | null | undefined;
86
92
  ticketsUrl?: string | null | undefined;
87
93
  organizers?: {
88
94
  id: string;
89
- imageUrl: string | null;
90
95
  name: string;
96
+ imageUrl: string | null;
91
97
  }[] | undefined;
92
98
  }>;
93
99
  token: z.ZodString;
@@ -95,70 +101,74 @@ export declare const CreatePartialImportedEventDTOSchema: z.ZodObject<{
95
101
  organizersNames: z.ZodArray<z.ZodString, "many">;
96
102
  source: z.ZodUnion<[z.ZodLiteral<"facebook">, z.ZodLiteral<"website">]>;
97
103
  }, "strip", z.ZodTypeAny, {
98
- userId: string;
99
104
  organizersNames: string[];
100
105
  partialEventState: {
101
- regions?: import('../../shared').Region[] | undefined;
102
- category?: import('../../shared').Category | undefined;
103
- startTime?: string | undefined;
104
- createdAt?: string | undefined;
105
- id?: (string & z.BRAND<"EventId">) | undefined;
106
- link?: string | null | undefined;
107
106
  adress?: string | undefined;
108
107
  capacity?: number | null | undefined;
108
+ category?: import("../../shared").Category | undefined;
109
+ createdAt?: string | undefined;
109
110
  description?: string | undefined;
110
111
  externalSourceId?: string | null | undefined;
111
112
  finishTime?: string | null | undefined;
112
113
  hasHandicapAccess?: boolean | null | undefined;
114
+ id?: (string & z.BRAND<"EventId">) | undefined;
113
115
  imageBlurHashes?: string[] | undefined;
114
116
  imageUrls?: string[] | undefined;
115
117
  isDisplayed?: boolean | undefined;
116
- isPromoted?: boolean | undefined;
118
+ isExhibition?: boolean | undefined;
119
+ isOldTimes?: boolean | undefined;
117
120
  isPriceRange?: boolean | undefined;
121
+ isPromoted?: boolean | undefined;
122
+ link?: string | null | undefined;
118
123
  price?: number | null | undefined;
124
+ regions?: import("../../shared").Region[] | undefined;
125
+ startTime?: string | undefined;
119
126
  title?: string | undefined;
120
127
  thumbnailUrl?: string | null | undefined;
121
128
  ticketsUrl?: string | null | undefined;
122
129
  organizers?: {
123
130
  id: string & z.BRAND<"OrganizerId">;
124
- imageUrl: string | null;
125
131
  name: string;
132
+ imageUrl: string | null;
126
133
  }[] | undefined;
127
134
  };
128
135
  source: "facebook" | "website";
136
+ userId: string;
129
137
  token: string;
130
138
  }, {
131
- userId: string;
132
139
  organizersNames: string[];
133
140
  partialEventState: {
134
- regions?: import('../../shared').Region[] | undefined;
135
- category?: import('../../shared').Category | undefined;
136
- startTime?: string | undefined;
137
- createdAt?: string | undefined;
138
- id?: string | undefined;
139
- link?: string | null | undefined;
140
141
  adress?: string | undefined;
141
142
  capacity?: number | null | undefined;
143
+ category?: import("../../shared").Category | undefined;
144
+ createdAt?: string | undefined;
142
145
  description?: string | undefined;
143
146
  externalSourceId?: string | null | undefined;
144
147
  finishTime?: string | null | undefined;
145
148
  hasHandicapAccess?: boolean | null | undefined;
149
+ id?: string | undefined;
146
150
  imageBlurHashes?: string[] | undefined;
147
151
  imageUrls?: string[] | undefined;
148
152
  isDisplayed?: boolean | undefined;
149
- isPromoted?: boolean | undefined;
153
+ isExhibition?: boolean | undefined;
154
+ isOldTimes?: boolean | undefined;
150
155
  isPriceRange?: boolean | undefined;
156
+ isPromoted?: boolean | undefined;
157
+ link?: string | null | undefined;
151
158
  price?: number | null | undefined;
159
+ regions?: import("../../shared").Region[] | undefined;
160
+ startTime?: string | undefined;
152
161
  title?: string | undefined;
153
162
  thumbnailUrl?: string | null | undefined;
154
163
  ticketsUrl?: string | null | undefined;
155
164
  organizers?: {
156
165
  id: string;
157
- imageUrl: string | null;
158
166
  name: string;
167
+ imageUrl: string | null;
159
168
  }[] | undefined;
160
169
  };
161
170
  source: "facebook" | "website";
171
+ userId: string;
162
172
  token: string;
163
173
  }>;
164
174
  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"}
@@ -4354,6 +4354,8 @@ const GlobalStatsDTOSchema = z.object({
4354
4354
  presentOrFutureEventsCount: z.number(),
4355
4355
  sharedEventsCount: z.number(),
4356
4356
  topAddedToFavoritesEvents: TopEventDTOSchema.array(),
4357
+ topUpcomingAddedToFavoritesEvents: TopEventDTOSchema.array(),
4358
+ topUpcomingViewedEvents: TopEventDTOSchema.array(),
4357
4359
  topViewedEvents: TopEventDTOSchema.array(),
4358
4360
  totalFavoritesCount: z.number(),
4359
4361
  usersCount: z.number(),
@@ -4352,6 +4352,8 @@ const GlobalStatsDTOSchema = z.object({
4352
4352
  presentOrFutureEventsCount: z.number(),
4353
4353
  sharedEventsCount: z.number(),
4354
4354
  topAddedToFavoritesEvents: TopEventDTOSchema.array(),
4355
+ topUpcomingAddedToFavoritesEvents: TopEventDTOSchema.array(),
4356
+ topUpcomingViewedEvents: TopEventDTOSchema.array(),
4355
4357
  topViewedEvents: TopEventDTOSchema.array(),
4356
4358
  totalFavoritesCount: z.number(),
4357
4359
  usersCount: z.number(),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sortipei/api-contracts",
3
- "version": "0.1.36",
3
+ "version": "0.1.38",
4
4
  "license": "UNLICENCED",
5
5
  "main": "dist/api-contracts.js",
6
6
  "module": "dist/api-contracts.mjs",