@sortipei/api-contracts 0.1.36 → 0.1.37

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,12 @@ 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
+ isOldTimes: z.ZodBoolean;
15
16
  isPromoted: z.ZodBoolean;
16
17
  isPriceRange: z.ZodBoolean;
17
18
  link: z.ZodNullable<z.ZodString>;
18
19
  price: z.ZodNullable<z.ZodNumber>;
19
- regions: z.ZodArray<z.ZodNativeEnum<typeof import('../../shared').Region>, "many">;
20
+ regions: z.ZodArray<z.ZodNativeEnum<typeof import("../../shared").Region>, "many">;
20
21
  startTime: z.ZodString;
21
22
  title: z.ZodString;
22
23
  thumbnailUrl: z.ZodNullable<z.ZodString>;
@@ -27,72 +28,74 @@ export declare const EventDTOSchema: z.ZodObject<{
27
28
  imageUrl: z.ZodNullable<z.ZodString>;
28
29
  }, "strip", z.ZodTypeAny, {
29
30
  id: string & z.BRAND<"OrganizerId">;
30
- imageUrl: string | null;
31
31
  name: string;
32
+ imageUrl: string | null;
32
33
  }, {
33
34
  id: string;
34
- imageUrl: string | null;
35
35
  name: string;
36
+ imageUrl: string | null;
36
37
  }>, "many">;
37
38
  }, "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
39
  adress: string;
45
40
  capacity: number | null;
41
+ category: import("../../shared").Category;
42
+ createdAt: string;
46
43
  description: string;
47
44
  externalSourceId: string | null;
48
45
  finishTime: string | null;
49
46
  hasHandicapAccess: boolean | null;
47
+ id: string & z.BRAND<"EventId">;
50
48
  imageBlurHashes: string[];
51
49
  imageUrls: string[];
52
50
  isDisplayed: boolean;
51
+ isOldTimes: boolean;
53
52
  isPromoted: boolean;
54
53
  isPriceRange: boolean;
54
+ link: string | null;
55
55
  price: number | null;
56
+ regions: import("../../shared").Region[];
57
+ startTime: string;
56
58
  title: string;
57
59
  thumbnailUrl: string | null;
58
60
  ticketsUrl: string | null;
59
61
  organizers: {
60
62
  id: string & z.BRAND<"OrganizerId">;
61
- imageUrl: string | null;
62
63
  name: string;
64
+ imageUrl: string | null;
63
65
  }[];
64
66
  }, {
65
- regions: import('../../shared').Region[];
66
- category: import('../../shared').Category;
67
- startTime: string;
68
- createdAt: string;
69
- id: string;
70
- link: string | null;
71
67
  adress: string;
72
68
  capacity: number | null;
69
+ category: import("../../shared").Category;
70
+ createdAt: string;
73
71
  description: string;
74
72
  externalSourceId: string | null;
75
73
  finishTime: string | null;
76
74
  hasHandicapAccess: boolean | null;
75
+ id: string;
77
76
  imageBlurHashes: string[];
78
77
  imageUrls: string[];
79
78
  isDisplayed: boolean;
79
+ isOldTimes: boolean;
80
80
  isPromoted: boolean;
81
81
  isPriceRange: boolean;
82
+ link: string | null;
82
83
  price: number | null;
84
+ regions: import("../../shared").Region[];
85
+ startTime: string;
83
86
  title: string;
84
87
  thumbnailUrl: string | null;
85
88
  ticketsUrl: string | null;
86
89
  organizers: {
87
90
  id: string;
88
- imageUrl: string | null;
89
91
  name: string;
92
+ imageUrl: string | null;
90
93
  }[];
91
94
  }>;
92
95
  export declare const CreateEventDTOSchema: z.ZodObject<{
93
96
  adress: z.ZodString;
94
97
  capacity: z.ZodNullable<z.ZodNumber>;
95
- category: z.ZodNativeEnum<typeof import('../../shared').Category>;
98
+ category: z.ZodNativeEnum<typeof import("../../shared").Category>;
96
99
  description: z.ZodString;
97
100
  externalSourceId: z.ZodNullable<z.ZodString>;
98
101
  finishTime: z.ZodNullable<z.ZodString>;
@@ -105,49 +108,49 @@ export declare const CreateEventDTOSchema: z.ZodObject<{
105
108
  link: z.ZodNullable<z.ZodString>;
106
109
  organizersIds: z.ZodArray<z.ZodBranded<z.ZodString, "OrganizerId">, "many">;
107
110
  price: z.ZodNullable<z.ZodNumber>;
108
- regions: z.ZodArray<z.ZodNativeEnum<typeof import('../../shared').Region>, "many">;
111
+ regions: z.ZodArray<z.ZodNativeEnum<typeof import("../../shared").Region>, "many">;
109
112
  startTime: z.ZodString;
110
113
  title: z.ZodString;
111
114
  thumbnailUrl: z.ZodNullable<z.ZodString>;
112
115
  ticketsUrl: z.ZodNullable<z.ZodString>;
113
116
  }, "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
117
  adress: string;
120
118
  capacity: number | null;
119
+ category: import("../../shared").Category;
121
120
  description: string;
122
121
  externalSourceId: string | null;
123
122
  finishTime: string | null;
124
123
  hasHandicapAccess: boolean | null;
124
+ id: string & z.BRAND<"EventId">;
125
125
  imageBlurHashes: string[];
126
126
  imageUrls: string[];
127
127
  isDisplayed: boolean;
128
128
  isPriceRange: boolean;
129
+ link: string | null;
129
130
  price: number | null;
131
+ regions: import("../../shared").Region[];
132
+ startTime: string;
130
133
  title: string;
131
134
  thumbnailUrl: string | null;
132
135
  ticketsUrl: string | null;
133
136
  organizersIds: (string & z.BRAND<"OrganizerId">)[];
134
137
  }, {
135
- regions: import('../../shared').Region[];
136
- category: import('../../shared').Category;
137
- startTime: string;
138
- id: string;
139
- link: string | null;
140
138
  adress: string;
141
139
  capacity: number | null;
140
+ category: import("../../shared").Category;
142
141
  description: string;
143
142
  externalSourceId: string | null;
144
143
  finishTime: string | null;
145
144
  hasHandicapAccess: boolean | null;
145
+ id: string;
146
146
  imageBlurHashes: string[];
147
147
  imageUrls: string[];
148
148
  isDisplayed: boolean;
149
149
  isPriceRange: boolean;
150
+ link: string | null;
150
151
  price: number | null;
152
+ regions: import("../../shared").Region[];
153
+ startTime: string;
151
154
  title: string;
152
155
  thumbnailUrl: string | null;
153
156
  ticketsUrl: string | null;
@@ -156,7 +159,7 @@ export declare const CreateEventDTOSchema: z.ZodObject<{
156
159
  export declare const UpdateEventDTOSchema: z.ZodObject<Omit<{
157
160
  adress: z.ZodString;
158
161
  capacity: z.ZodNullable<z.ZodNumber>;
159
- category: z.ZodNativeEnum<typeof import('../../shared').Category>;
162
+ category: z.ZodNativeEnum<typeof import("../../shared").Category>;
160
163
  description: z.ZodString;
161
164
  externalSourceId: z.ZodNullable<z.ZodString>;
162
165
  finishTime: z.ZodNullable<z.ZodString>;
@@ -169,18 +172,15 @@ export declare const UpdateEventDTOSchema: z.ZodObject<Omit<{
169
172
  link: z.ZodNullable<z.ZodString>;
170
173
  organizersIds: z.ZodArray<z.ZodBranded<z.ZodString, "OrganizerId">, "many">;
171
174
  price: z.ZodNullable<z.ZodNumber>;
172
- regions: z.ZodArray<z.ZodNativeEnum<typeof import('../../shared').Region>, "many">;
175
+ regions: z.ZodArray<z.ZodNativeEnum<typeof import("../../shared").Region>, "many">;
173
176
  startTime: z.ZodString;
174
177
  title: z.ZodString;
175
178
  thumbnailUrl: z.ZodNullable<z.ZodString>;
176
179
  ticketsUrl: z.ZodNullable<z.ZodString>;
177
180
  }, "id">, "strip", z.ZodTypeAny, {
178
- regions: import('../../shared').Region[];
179
- category: import('../../shared').Category;
180
- startTime: string;
181
- link: string | null;
182
181
  adress: string;
183
182
  capacity: number | null;
183
+ category: import("../../shared").Category;
184
184
  description: string;
185
185
  externalSourceId: string | null;
186
186
  finishTime: string | null;
@@ -189,18 +189,18 @@ export declare const UpdateEventDTOSchema: z.ZodObject<Omit<{
189
189
  imageUrls: string[];
190
190
  isDisplayed: boolean;
191
191
  isPriceRange: boolean;
192
+ link: string | null;
192
193
  price: number | null;
194
+ regions: import("../../shared").Region[];
195
+ startTime: string;
193
196
  title: string;
194
197
  thumbnailUrl: string | null;
195
198
  ticketsUrl: string | null;
196
199
  organizersIds: (string & z.BRAND<"OrganizerId">)[];
197
200
  }, {
198
- regions: import('../../shared').Region[];
199
- category: import('../../shared').Category;
200
- startTime: string;
201
- link: string | null;
202
201
  adress: string;
203
202
  capacity: number | null;
203
+ category: import("../../shared").Category;
204
204
  description: string;
205
205
  externalSourceId: string | null;
206
206
  finishTime: string | null;
@@ -209,7 +209,10 @@ export declare const UpdateEventDTOSchema: z.ZodObject<Omit<{
209
209
  imageUrls: string[];
210
210
  isDisplayed: boolean;
211
211
  isPriceRange: boolean;
212
+ link: string | null;
212
213
  price: number | null;
214
+ regions: import("../../shared").Region[];
215
+ startTime: string;
213
216
  title: string;
214
217
  thumbnailUrl: string | null;
215
218
  ticketsUrl: string | null;
@@ -255,7 +258,7 @@ export declare const ImportDTOSchema: z.ZodObject<{
255
258
  partialEventState: z.ZodObject<{
256
259
  adress: z.ZodOptional<z.ZodString>;
257
260
  capacity: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
258
- category: z.ZodOptional<z.ZodNativeEnum<typeof import('../../shared').Category>>;
261
+ category: z.ZodOptional<z.ZodNativeEnum<typeof import("../../shared").Category>>;
259
262
  createdAt: z.ZodOptional<z.ZodString>;
260
263
  description: z.ZodOptional<z.ZodString>;
261
264
  externalSourceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -265,11 +268,12 @@ export declare const ImportDTOSchema: z.ZodObject<{
265
268
  imageBlurHashes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
266
269
  imageUrls: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
267
270
  isDisplayed: z.ZodOptional<z.ZodBoolean>;
271
+ isOldTimes: z.ZodOptional<z.ZodBoolean>;
268
272
  isPromoted: z.ZodOptional<z.ZodBoolean>;
269
273
  isPriceRange: z.ZodOptional<z.ZodBoolean>;
270
274
  link: z.ZodOptional<z.ZodNullable<z.ZodString>>;
271
275
  price: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
272
- regions: z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof import('../../shared').Region>, "many">>;
276
+ regions: z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof import("../../shared").Region>, "many">>;
273
277
  startTime: z.ZodOptional<z.ZodString>;
274
278
  title: z.ZodOptional<z.ZodString>;
275
279
  thumbnailUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -280,138 +284,142 @@ export declare const ImportDTOSchema: z.ZodObject<{
280
284
  imageUrl: z.ZodNullable<z.ZodString>;
281
285
  }, "strip", z.ZodTypeAny, {
282
286
  id: string & z.BRAND<"OrganizerId">;
283
- imageUrl: string | null;
284
287
  name: string;
288
+ imageUrl: string | null;
285
289
  }, {
286
290
  id: string;
287
- imageUrl: string | null;
288
291
  name: string;
292
+ imageUrl: string | null;
289
293
  }>, "many">>;
290
294
  }, "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
295
  adress?: string | undefined;
298
296
  capacity?: number | null | undefined;
297
+ category?: import("../../shared").Category | undefined;
298
+ createdAt?: string | undefined;
299
299
  description?: string | undefined;
300
300
  externalSourceId?: string | null | undefined;
301
301
  finishTime?: string | null | undefined;
302
302
  hasHandicapAccess?: boolean | null | undefined;
303
+ id?: (string & z.BRAND<"EventId">) | undefined;
303
304
  imageBlurHashes?: string[] | undefined;
304
305
  imageUrls?: string[] | undefined;
305
306
  isDisplayed?: boolean | undefined;
307
+ isOldTimes?: boolean | undefined;
306
308
  isPromoted?: boolean | undefined;
307
309
  isPriceRange?: boolean | undefined;
310
+ link?: string | null | undefined;
308
311
  price?: number | null | undefined;
312
+ regions?: import("../../shared").Region[] | undefined;
313
+ startTime?: string | undefined;
309
314
  title?: string | undefined;
310
315
  thumbnailUrl?: string | null | undefined;
311
316
  ticketsUrl?: string | null | undefined;
312
317
  organizers?: {
313
318
  id: string & z.BRAND<"OrganizerId">;
314
- imageUrl: string | null;
315
319
  name: string;
320
+ imageUrl: string | null;
316
321
  }[] | undefined;
317
322
  }, {
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
323
  adress?: string | undefined;
325
324
  capacity?: number | null | undefined;
325
+ category?: import("../../shared").Category | undefined;
326
+ createdAt?: string | undefined;
326
327
  description?: string | undefined;
327
328
  externalSourceId?: string | null | undefined;
328
329
  finishTime?: string | null | undefined;
329
330
  hasHandicapAccess?: boolean | null | undefined;
331
+ id?: string | undefined;
330
332
  imageBlurHashes?: string[] | undefined;
331
333
  imageUrls?: string[] | undefined;
332
334
  isDisplayed?: boolean | undefined;
335
+ isOldTimes?: boolean | undefined;
333
336
  isPromoted?: boolean | undefined;
334
337
  isPriceRange?: boolean | undefined;
338
+ link?: string | null | undefined;
335
339
  price?: number | null | undefined;
340
+ regions?: import("../../shared").Region[] | undefined;
341
+ startTime?: string | undefined;
336
342
  title?: string | undefined;
337
343
  thumbnailUrl?: string | null | undefined;
338
344
  ticketsUrl?: string | null | undefined;
339
345
  organizers?: {
340
346
  id: string;
341
- imageUrl: string | null;
342
347
  name: string;
348
+ imageUrl: string | null;
343
349
  }[] | undefined;
344
350
  }>;
345
351
  source: z.ZodUnion<[z.ZodLiteral<"facebook">, z.ZodLiteral<"website">]>;
346
352
  userId: z.ZodString;
347
353
  }, "strip", z.ZodTypeAny, {
348
- userId: string;
349
354
  createdAt: string;
350
355
  id: string;
351
356
  organizersNames: string[];
352
357
  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
358
  adress?: string | undefined;
360
359
  capacity?: number | null | undefined;
360
+ category?: import("../../shared").Category | undefined;
361
+ createdAt?: string | undefined;
361
362
  description?: string | undefined;
362
363
  externalSourceId?: string | null | undefined;
363
364
  finishTime?: string | null | undefined;
364
365
  hasHandicapAccess?: boolean | null | undefined;
366
+ id?: (string & z.BRAND<"EventId">) | undefined;
365
367
  imageBlurHashes?: string[] | undefined;
366
368
  imageUrls?: string[] | undefined;
367
369
  isDisplayed?: boolean | undefined;
370
+ isOldTimes?: boolean | undefined;
368
371
  isPromoted?: boolean | undefined;
369
372
  isPriceRange?: boolean | undefined;
373
+ link?: string | null | undefined;
370
374
  price?: number | null | undefined;
375
+ regions?: import("../../shared").Region[] | undefined;
376
+ startTime?: string | undefined;
371
377
  title?: string | undefined;
372
378
  thumbnailUrl?: string | null | undefined;
373
379
  ticketsUrl?: string | null | undefined;
374
380
  organizers?: {
375
381
  id: string & z.BRAND<"OrganizerId">;
376
- imageUrl: string | null;
377
382
  name: string;
383
+ imageUrl: string | null;
378
384
  }[] | undefined;
379
385
  };
380
386
  source: "facebook" | "website";
381
- }, {
382
387
  userId: string;
388
+ }, {
383
389
  createdAt: string;
384
390
  id: string;
385
391
  organizersNames: string[];
386
392
  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
393
  adress?: string | undefined;
394
394
  capacity?: number | null | undefined;
395
+ category?: import("../../shared").Category | undefined;
396
+ createdAt?: string | undefined;
395
397
  description?: string | undefined;
396
398
  externalSourceId?: string | null | undefined;
397
399
  finishTime?: string | null | undefined;
398
400
  hasHandicapAccess?: boolean | null | undefined;
401
+ id?: string | undefined;
399
402
  imageBlurHashes?: string[] | undefined;
400
403
  imageUrls?: string[] | undefined;
401
404
  isDisplayed?: boolean | undefined;
405
+ isOldTimes?: boolean | undefined;
402
406
  isPromoted?: boolean | undefined;
403
407
  isPriceRange?: boolean | undefined;
408
+ link?: string | null | undefined;
404
409
  price?: number | null | undefined;
410
+ regions?: import("../../shared").Region[] | undefined;
411
+ startTime?: string | undefined;
405
412
  title?: string | undefined;
406
413
  thumbnailUrl?: string | null | undefined;
407
414
  ticketsUrl?: string | null | undefined;
408
415
  organizers?: {
409
416
  id: string;
410
- imageUrl: string | null;
411
417
  name: string;
418
+ imageUrl: string | null;
412
419
  }[] | undefined;
413
420
  };
414
421
  source: "facebook" | "website";
422
+ userId: string;
415
423
  }>;
416
424
  export type ImportDTO = z.infer<typeof ImportDTOSchema>;
417
425
  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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAgCzB,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"}
@@ -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,12 @@ 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
+ isOldTimes: z.ZodOptional<z.ZodBoolean>;
16
17
  isPromoted: z.ZodOptional<z.ZodBoolean>;
17
18
  isPriceRange: z.ZodOptional<z.ZodBoolean>;
18
19
  link: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19
20
  price: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
20
- regions: z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof import('../../shared').Region>, "many">>;
21
+ regions: z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof import("../../shared").Region>, "many">>;
21
22
  startTime: z.ZodOptional<z.ZodString>;
22
23
  title: z.ZodOptional<z.ZodString>;
23
24
  thumbnailUrl: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -28,66 +29,68 @@ export declare const CreatePartialImportedEventDTOSchema: z.ZodObject<{
28
29
  imageUrl: z.ZodNullable<z.ZodString>;
29
30
  }, "strip", z.ZodTypeAny, {
30
31
  id: string & z.BRAND<"OrganizerId">;
31
- imageUrl: string | null;
32
32
  name: string;
33
+ imageUrl: string | null;
33
34
  }, {
34
35
  id: string;
35
- imageUrl: string | null;
36
36
  name: string;
37
+ imageUrl: string | null;
37
38
  }>, "many">>;
38
39
  }, "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
40
  adress?: string | undefined;
46
41
  capacity?: number | null | undefined;
42
+ category?: import("../../shared").Category | undefined;
43
+ createdAt?: string | undefined;
47
44
  description?: string | undefined;
48
45
  externalSourceId?: string | null | undefined;
49
46
  finishTime?: string | null | undefined;
50
47
  hasHandicapAccess?: boolean | null | undefined;
48
+ id?: (string & z.BRAND<"EventId">) | undefined;
51
49
  imageBlurHashes?: string[] | undefined;
52
50
  imageUrls?: string[] | undefined;
53
51
  isDisplayed?: boolean | undefined;
52
+ isOldTimes?: boolean | undefined;
54
53
  isPromoted?: boolean | undefined;
55
54
  isPriceRange?: boolean | undefined;
55
+ link?: string | null | undefined;
56
56
  price?: number | null | undefined;
57
+ regions?: import("../../shared").Region[] | undefined;
58
+ startTime?: string | undefined;
57
59
  title?: string | undefined;
58
60
  thumbnailUrl?: string | null | undefined;
59
61
  ticketsUrl?: string | null | undefined;
60
62
  organizers?: {
61
63
  id: string & z.BRAND<"OrganizerId">;
62
- imageUrl: string | null;
63
64
  name: string;
65
+ imageUrl: string | null;
64
66
  }[] | undefined;
65
67
  }, {
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
68
  adress?: string | undefined;
73
69
  capacity?: number | null | undefined;
70
+ category?: import("../../shared").Category | undefined;
71
+ createdAt?: string | undefined;
74
72
  description?: string | undefined;
75
73
  externalSourceId?: string | null | undefined;
76
74
  finishTime?: string | null | undefined;
77
75
  hasHandicapAccess?: boolean | null | undefined;
76
+ id?: string | undefined;
78
77
  imageBlurHashes?: string[] | undefined;
79
78
  imageUrls?: string[] | undefined;
80
79
  isDisplayed?: boolean | undefined;
80
+ isOldTimes?: boolean | undefined;
81
81
  isPromoted?: boolean | undefined;
82
82
  isPriceRange?: boolean | undefined;
83
+ link?: string | null | undefined;
83
84
  price?: number | null | undefined;
85
+ regions?: import("../../shared").Region[] | undefined;
86
+ startTime?: string | undefined;
84
87
  title?: string | undefined;
85
88
  thumbnailUrl?: string | null | undefined;
86
89
  ticketsUrl?: string | null | undefined;
87
90
  organizers?: {
88
91
  id: string;
89
- imageUrl: string | null;
90
92
  name: string;
93
+ imageUrl: string | null;
91
94
  }[] | undefined;
92
95
  }>;
93
96
  token: z.ZodString;
@@ -95,70 +98,72 @@ export declare const CreatePartialImportedEventDTOSchema: z.ZodObject<{
95
98
  organizersNames: z.ZodArray<z.ZodString, "many">;
96
99
  source: z.ZodUnion<[z.ZodLiteral<"facebook">, z.ZodLiteral<"website">]>;
97
100
  }, "strip", z.ZodTypeAny, {
98
- userId: string;
99
101
  organizersNames: string[];
100
102
  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
103
  adress?: string | undefined;
108
104
  capacity?: number | null | undefined;
105
+ category?: import("../../shared").Category | undefined;
106
+ createdAt?: string | undefined;
109
107
  description?: string | undefined;
110
108
  externalSourceId?: string | null | undefined;
111
109
  finishTime?: string | null | undefined;
112
110
  hasHandicapAccess?: boolean | null | undefined;
111
+ id?: (string & z.BRAND<"EventId">) | undefined;
113
112
  imageBlurHashes?: string[] | undefined;
114
113
  imageUrls?: string[] | undefined;
115
114
  isDisplayed?: boolean | undefined;
115
+ isOldTimes?: boolean | undefined;
116
116
  isPromoted?: boolean | undefined;
117
117
  isPriceRange?: boolean | undefined;
118
+ link?: string | null | undefined;
118
119
  price?: number | null | undefined;
120
+ regions?: import("../../shared").Region[] | undefined;
121
+ startTime?: string | undefined;
119
122
  title?: string | undefined;
120
123
  thumbnailUrl?: string | null | undefined;
121
124
  ticketsUrl?: string | null | undefined;
122
125
  organizers?: {
123
126
  id: string & z.BRAND<"OrganizerId">;
124
- imageUrl: string | null;
125
127
  name: string;
128
+ imageUrl: string | null;
126
129
  }[] | undefined;
127
130
  };
128
131
  source: "facebook" | "website";
132
+ userId: string;
129
133
  token: string;
130
134
  }, {
131
- userId: string;
132
135
  organizersNames: string[];
133
136
  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
137
  adress?: string | undefined;
141
138
  capacity?: number | null | undefined;
139
+ category?: import("../../shared").Category | undefined;
140
+ createdAt?: string | undefined;
142
141
  description?: string | undefined;
143
142
  externalSourceId?: string | null | undefined;
144
143
  finishTime?: string | null | undefined;
145
144
  hasHandicapAccess?: boolean | null | undefined;
145
+ id?: string | undefined;
146
146
  imageBlurHashes?: string[] | undefined;
147
147
  imageUrls?: string[] | undefined;
148
148
  isDisplayed?: boolean | undefined;
149
+ isOldTimes?: boolean | undefined;
149
150
  isPromoted?: boolean | undefined;
150
151
  isPriceRange?: boolean | undefined;
152
+ link?: string | null | undefined;
151
153
  price?: number | null | undefined;
154
+ regions?: import("../../shared").Region[] | undefined;
155
+ startTime?: string | undefined;
152
156
  title?: string | undefined;
153
157
  thumbnailUrl?: string | null | undefined;
154
158
  ticketsUrl?: string | null | undefined;
155
159
  organizers?: {
156
160
  id: string;
157
- imageUrl: string | null;
158
161
  name: string;
162
+ imageUrl: string | null;
159
163
  }[] | undefined;
160
164
  };
161
165
  source: "facebook" | "website";
166
+ userId: string;
162
167
  token: string;
163
168
  }>;
164
169
  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.37",
4
4
  "license": "UNLICENCED",
5
5
  "main": "dist/api-contracts.js",
6
6
  "module": "dist/api-contracts.mjs",