@sortipei/api-contracts 0.2.6 → 0.2.7

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.
@@ -9,22 +9,22 @@ export declare const MainAdDTOSchema: z.ZodObject<{
9
9
  startTime: z.ZodString;
10
10
  title: z.ZodString;
11
11
  }, "strip", z.ZodTypeAny, {
12
- startTime: string;
13
- endTime: string;
14
- id: string & z.BRAND<"MainAdId">;
15
- imageUrl: string;
16
- title: string;
17
12
  createdAt: string;
13
+ id: string & z.BRAND<"MainAdId">;
18
14
  link: string | null;
19
- isEnabled: boolean;
20
- }, {
21
15
  startTime: string;
22
- endTime: string;
23
- id: string;
24
- imageUrl: string;
25
16
  title: string;
17
+ imageUrl: string;
18
+ endTime: string;
19
+ isEnabled: boolean;
20
+ }, {
26
21
  createdAt: string;
22
+ id: string;
27
23
  link: string | null;
24
+ startTime: string;
25
+ title: string;
26
+ imageUrl: string;
27
+ endTime: string;
28
28
  isEnabled: boolean;
29
29
  }>;
30
30
  export declare const UpdateMainAdDTOSchema: z.ZodObject<Omit<{
@@ -36,19 +36,19 @@ export declare const UpdateMainAdDTOSchema: z.ZodObject<Omit<{
36
36
  link: z.ZodNullable<z.ZodString>;
37
37
  startTime: z.ZodString;
38
38
  title: z.ZodString;
39
- }, "id" | "createdAt">, "strip", z.ZodTypeAny, {
39
+ }, "createdAt" | "id">, "strip", z.ZodTypeAny, {
40
+ link: string | null;
40
41
  startTime: string;
41
- endTime: string;
42
- imageUrl: string;
43
42
  title: string;
44
- link: string | null;
43
+ imageUrl: string;
44
+ endTime: string;
45
45
  isEnabled: boolean;
46
46
  }, {
47
+ link: string | null;
47
48
  startTime: string;
48
- endTime: string;
49
- imageUrl: string;
50
49
  title: string;
51
- link: string | null;
50
+ imageUrl: string;
51
+ endTime: string;
52
52
  isEnabled: boolean;
53
53
  }>;
54
54
  export declare const RegionalAdDTOSchema: z.ZodObject<{
@@ -62,24 +62,24 @@ export declare const RegionalAdDTOSchema: z.ZodObject<{
62
62
  startTime: z.ZodString;
63
63
  title: z.ZodString;
64
64
  }, "strip", z.ZodTypeAny, {
65
- startTime: string;
66
- endTime: string;
67
- regions: import("../../shared").Region[];
68
- id: string & z.BRAND<"RegionalAdId">;
69
- imageUrl: string;
70
- title: string;
71
65
  createdAt: string;
66
+ id: string & z.BRAND<"RegionalAdId">;
72
67
  link: string | null;
73
- isEnabled: boolean;
74
- }, {
75
- startTime: string;
76
- endTime: string;
77
68
  regions: import("../../shared").Region[];
78
- id: string;
79
- imageUrl: string;
69
+ startTime: string;
80
70
  title: string;
71
+ imageUrl: string;
72
+ endTime: string;
73
+ isEnabled: boolean;
74
+ }, {
81
75
  createdAt: string;
76
+ id: string;
82
77
  link: string | null;
78
+ regions: import("../../shared").Region[];
79
+ startTime: string;
80
+ title: string;
81
+ imageUrl: string;
82
+ endTime: string;
83
83
  isEnabled: boolean;
84
84
  }>;
85
85
  export declare const UpdateRegionalAdDTOSchema: z.ZodObject<Omit<{
@@ -92,21 +92,21 @@ export declare const UpdateRegionalAdDTOSchema: z.ZodObject<Omit<{
92
92
  regions: z.ZodArray<z.ZodNativeEnum<typeof import("../../shared").Region>, "many">;
93
93
  startTime: z.ZodString;
94
94
  title: z.ZodString;
95
- }, "id" | "createdAt">, "strip", z.ZodTypeAny, {
96
- startTime: string;
97
- endTime: string;
95
+ }, "createdAt" | "id">, "strip", z.ZodTypeAny, {
96
+ link: string | null;
98
97
  regions: import("../../shared").Region[];
99
- imageUrl: string;
98
+ startTime: string;
100
99
  title: string;
101
- link: string | null;
100
+ imageUrl: string;
101
+ endTime: string;
102
102
  isEnabled: boolean;
103
103
  }, {
104
- startTime: string;
105
- endTime: string;
104
+ link: string | null;
106
105
  regions: import("../../shared").Region[];
107
- imageUrl: string;
106
+ startTime: string;
108
107
  title: string;
109
- link: string | null;
108
+ imageUrl: string;
109
+ endTime: string;
110
110
  isEnabled: boolean;
111
111
  }>;
112
112
  export type MainAdDTO = z.infer<typeof MainAdDTOSchema>;
@@ -50,21 +50,17 @@ export declare const EventDTOSchema: z.ZodObject<{
50
50
  imageUrl: z.ZodNullable<z.ZodString>;
51
51
  }, "strip", z.ZodTypeAny, {
52
52
  id: string & z.BRAND<"OrganizerId">;
53
- imageUrl: string | null;
54
53
  name: string;
54
+ imageUrl: string | null;
55
55
  }, {
56
56
  id: string;
57
- imageUrl: string | null;
58
57
  name: string;
58
+ imageUrl: string | null;
59
59
  }>, "many">;
60
60
  }, "strip", z.ZodTypeAny, {
61
- category: import("../../shared").Category;
62
- startTime: string;
63
- regions: import("../../shared").Region[];
64
- id: string & z.BRAND<"EventId">;
65
- title: string;
66
61
  adress: string;
67
62
  capacity: number | null;
63
+ category: import("../../shared").Category;
68
64
  createdAt: string;
69
65
  description: string;
70
66
  externalSourceId: string | null;
@@ -74,6 +70,7 @@ export declare const EventDTOSchema: z.ZodObject<{
74
70
  longitude: number;
75
71
  };
76
72
  hasHandicapAccess: boolean | null;
73
+ id: string & z.BRAND<"EventId">;
77
74
  imageBlurHashes: string[];
78
75
  imageUrls: string[];
79
76
  isDisplayed: boolean;
@@ -83,22 +80,21 @@ export declare const EventDTOSchema: z.ZodObject<{
83
80
  isPromoted: boolean;
84
81
  link: string | null;
85
82
  price: number | null;
83
+ regions: import("../../shared").Region[];
86
84
  secondaryCategory: import("../../shared").Category | null;
85
+ startTime: string;
87
86
  thumbnailUrl: string | null;
88
87
  ticketsUrl: string | null;
88
+ title: string;
89
89
  organizers: {
90
90
  id: string & z.BRAND<"OrganizerId">;
91
- imageUrl: string | null;
92
91
  name: string;
92
+ imageUrl: string | null;
93
93
  }[];
94
94
  }, {
95
- category: import("../../shared").Category;
96
- startTime: string;
97
- regions: import("../../shared").Region[];
98
- id: string;
99
- title: string;
100
95
  adress: string;
101
96
  capacity: number | null;
97
+ category: import("../../shared").Category;
102
98
  createdAt: string;
103
99
  description: string;
104
100
  externalSourceId: string | null;
@@ -108,6 +104,7 @@ export declare const EventDTOSchema: z.ZodObject<{
108
104
  longitude: number;
109
105
  };
110
106
  hasHandicapAccess: boolean | null;
107
+ id: string;
111
108
  imageBlurHashes: string[];
112
109
  imageUrls: string[];
113
110
  isDisplayed: boolean;
@@ -117,13 +114,16 @@ export declare const EventDTOSchema: z.ZodObject<{
117
114
  isPromoted: boolean;
118
115
  link: string | null;
119
116
  price: number | null;
117
+ regions: import("../../shared").Region[];
120
118
  secondaryCategory: import("../../shared").Category | null;
119
+ startTime: string;
121
120
  thumbnailUrl: string | null;
122
121
  ticketsUrl: string | null;
122
+ title: string;
123
123
  organizers: {
124
124
  id: string;
125
- imageUrl: string | null;
126
125
  name: string;
126
+ imageUrl: string | null;
127
127
  }[];
128
128
  }>;
129
129
  export declare const CreateEventDTOSchema: z.ZodObject<{
@@ -151,17 +151,14 @@ export declare const CreateEventDTOSchema: z.ZodObject<{
151
151
  title: z.ZodString;
152
152
  ticketsUrl: z.ZodNullable<z.ZodString>;
153
153
  }, "strip", z.ZodTypeAny, {
154
- category: import("../../shared").Category;
155
- startTime: string;
156
- regions: import("../../shared").Region[];
157
- id: string & z.BRAND<"EventId">;
158
- title: string;
159
154
  adress: string;
160
155
  capacity: number | null;
156
+ category: import("../../shared").Category;
161
157
  description: string;
162
158
  externalSourceId: string | null;
163
159
  finishTime: string | null;
164
160
  hasHandicapAccess: boolean | null;
161
+ id: string & z.BRAND<"EventId">;
165
162
  imageBlurHashes: string[];
166
163
  imageUrls: string[];
167
164
  isDisplayed: boolean;
@@ -170,22 +167,22 @@ export declare const CreateEventDTOSchema: z.ZodObject<{
170
167
  isPriceRange: boolean;
171
168
  link: string | null;
172
169
  price: number | null;
170
+ regions: import("../../shared").Region[];
173
171
  secondaryCategory: import("../../shared").Category | null;
172
+ startTime: string;
174
173
  thumbnailUrl: string | null;
175
174
  ticketsUrl: string | null;
175
+ title: string;
176
176
  organizersIds: (string & z.BRAND<"OrganizerId">)[];
177
177
  }, {
178
- category: import("../../shared").Category;
179
- startTime: string;
180
- regions: import("../../shared").Region[];
181
- id: string;
182
- title: string;
183
178
  adress: string;
184
179
  capacity: number | null;
180
+ category: import("../../shared").Category;
185
181
  description: string;
186
182
  externalSourceId: string | null;
187
183
  finishTime: string | null;
188
184
  hasHandicapAccess: boolean | null;
185
+ id: string;
189
186
  imageBlurHashes: string[];
190
187
  imageUrls: string[];
191
188
  isDisplayed: boolean;
@@ -194,9 +191,12 @@ export declare const CreateEventDTOSchema: z.ZodObject<{
194
191
  isPriceRange: boolean;
195
192
  link: string | null;
196
193
  price: number | null;
194
+ regions: import("../../shared").Region[];
197
195
  secondaryCategory: import("../../shared").Category | null;
196
+ startTime: string;
198
197
  thumbnailUrl: string | null;
199
198
  ticketsUrl: string | null;
199
+ title: string;
200
200
  organizersIds: string[];
201
201
  }>;
202
202
  export declare const UpdateEventDTOSchema: z.ZodObject<Omit<{
@@ -224,12 +224,9 @@ export declare const UpdateEventDTOSchema: z.ZodObject<Omit<{
224
224
  title: z.ZodString;
225
225
  ticketsUrl: z.ZodNullable<z.ZodString>;
226
226
  }, "id">, "strip", z.ZodTypeAny, {
227
- category: import("../../shared").Category;
228
- startTime: string;
229
- regions: import("../../shared").Region[];
230
- title: string;
231
227
  adress: string;
232
228
  capacity: number | null;
229
+ category: import("../../shared").Category;
233
230
  description: string;
234
231
  externalSourceId: string | null;
235
232
  finishTime: string | null;
@@ -242,17 +239,17 @@ export declare const UpdateEventDTOSchema: z.ZodObject<Omit<{
242
239
  isPriceRange: boolean;
243
240
  link: string | null;
244
241
  price: number | null;
242
+ regions: import("../../shared").Region[];
245
243
  secondaryCategory: import("../../shared").Category | null;
244
+ startTime: string;
246
245
  thumbnailUrl: string | null;
247
246
  ticketsUrl: string | null;
247
+ title: string;
248
248
  organizersIds: (string & z.BRAND<"OrganizerId">)[];
249
249
  }, {
250
- category: import("../../shared").Category;
251
- startTime: string;
252
- regions: import("../../shared").Region[];
253
- title: string;
254
250
  adress: string;
255
251
  capacity: number | null;
252
+ category: import("../../shared").Category;
256
253
  description: string;
257
254
  externalSourceId: string | null;
258
255
  finishTime: string | null;
@@ -265,9 +262,12 @@ export declare const UpdateEventDTOSchema: z.ZodObject<Omit<{
265
262
  isPriceRange: boolean;
266
263
  link: string | null;
267
264
  price: number | null;
265
+ regions: import("../../shared").Region[];
268
266
  secondaryCategory: import("../../shared").Category | null;
267
+ startTime: string;
269
268
  thumbnailUrl: string | null;
270
269
  ticketsUrl: string | null;
270
+ title: string;
271
271
  organizersIds: string[];
272
272
  }>;
273
273
  export declare const DisplayEventDTOSchema: z.ZodObject<{
@@ -348,21 +348,17 @@ export declare const ImportDTOSchema: z.ZodObject<{
348
348
  imageUrl: z.ZodNullable<z.ZodString>;
349
349
  }, "strip", z.ZodTypeAny, {
350
350
  id: string & z.BRAND<"OrganizerId">;
351
- imageUrl: string | null;
352
351
  name: string;
352
+ imageUrl: string | null;
353
353
  }, {
354
354
  id: string;
355
- imageUrl: string | null;
356
355
  name: string;
356
+ imageUrl: string | null;
357
357
  }>, "many">>;
358
358
  }, "strip", z.ZodTypeAny, {
359
- category?: import("../../shared").Category | undefined;
360
- startTime?: string | undefined;
361
- regions?: import("../../shared").Region[] | undefined;
362
- id?: (string & z.BRAND<"EventId">) | undefined;
363
- title?: string | undefined;
364
359
  adress?: string | undefined;
365
360
  capacity?: number | null | undefined;
361
+ category?: import("../../shared").Category | undefined;
366
362
  createdAt?: string | undefined;
367
363
  description?: string | undefined;
368
364
  externalSourceId?: string | null | undefined;
@@ -372,6 +368,7 @@ export declare const ImportDTOSchema: z.ZodObject<{
372
368
  longitude: number;
373
369
  } | undefined;
374
370
  hasHandicapAccess?: boolean | null | undefined;
371
+ id?: (string & z.BRAND<"EventId">) | undefined;
375
372
  imageBlurHashes?: string[] | undefined;
376
373
  imageUrls?: string[] | undefined;
377
374
  isDisplayed?: boolean | undefined;
@@ -381,22 +378,21 @@ export declare const ImportDTOSchema: z.ZodObject<{
381
378
  isPromoted?: boolean | undefined;
382
379
  link?: string | null | undefined;
383
380
  price?: number | null | undefined;
381
+ regions?: import("../../shared").Region[] | undefined;
384
382
  secondaryCategory?: import("../../shared").Category | null | undefined;
383
+ startTime?: string | undefined;
385
384
  thumbnailUrl?: string | null | undefined;
386
385
  ticketsUrl?: string | null | undefined;
386
+ title?: string | undefined;
387
387
  organizers?: {
388
388
  id: string & z.BRAND<"OrganizerId">;
389
- imageUrl: string | null;
390
389
  name: string;
390
+ imageUrl: string | null;
391
391
  }[] | undefined;
392
392
  }, {
393
- category?: import("../../shared").Category | undefined;
394
- startTime?: string | undefined;
395
- regions?: import("../../shared").Region[] | undefined;
396
- id?: string | undefined;
397
- title?: string | undefined;
398
393
  adress?: string | undefined;
399
394
  capacity?: number | null | undefined;
395
+ category?: import("../../shared").Category | undefined;
400
396
  createdAt?: string | undefined;
401
397
  description?: string | undefined;
402
398
  externalSourceId?: string | null | undefined;
@@ -406,6 +402,7 @@ export declare const ImportDTOSchema: z.ZodObject<{
406
402
  longitude: number;
407
403
  } | undefined;
408
404
  hasHandicapAccess?: boolean | null | undefined;
405
+ id?: string | undefined;
409
406
  imageBlurHashes?: string[] | undefined;
410
407
  imageUrls?: string[] | undefined;
411
408
  isDisplayed?: boolean | undefined;
@@ -415,30 +412,27 @@ export declare const ImportDTOSchema: z.ZodObject<{
415
412
  isPromoted?: boolean | undefined;
416
413
  link?: string | null | undefined;
417
414
  price?: number | null | undefined;
415
+ regions?: import("../../shared").Region[] | undefined;
418
416
  secondaryCategory?: import("../../shared").Category | null | undefined;
417
+ startTime?: string | undefined;
419
418
  thumbnailUrl?: string | null | undefined;
420
419
  ticketsUrl?: string | null | undefined;
420
+ title?: string | undefined;
421
421
  organizers?: {
422
422
  id: string;
423
- imageUrl: string | null;
424
423
  name: string;
424
+ imageUrl: string | null;
425
425
  }[] | undefined;
426
426
  }>;
427
427
  source: z.ZodString;
428
428
  userId: z.ZodString;
429
429
  }, "strip", z.ZodTypeAny, {
430
- userId: string;
431
- id: string;
432
430
  createdAt: string;
433
- organizersNames: string[];
431
+ id: string;
434
432
  partialEventState: {
435
- category?: import("../../shared").Category | undefined;
436
- startTime?: string | undefined;
437
- regions?: import("../../shared").Region[] | undefined;
438
- id?: (string & z.BRAND<"EventId">) | undefined;
439
- title?: string | undefined;
440
433
  adress?: string | undefined;
441
434
  capacity?: number | null | undefined;
435
+ category?: import("../../shared").Category | undefined;
442
436
  createdAt?: string | undefined;
443
437
  description?: string | undefined;
444
438
  externalSourceId?: string | null | undefined;
@@ -448,6 +442,7 @@ export declare const ImportDTOSchema: z.ZodObject<{
448
442
  longitude: number;
449
443
  } | undefined;
450
444
  hasHandicapAccess?: boolean | null | undefined;
445
+ id?: (string & z.BRAND<"EventId">) | undefined;
451
446
  imageBlurHashes?: string[] | undefined;
452
447
  imageUrls?: string[] | undefined;
453
448
  isDisplayed?: boolean | undefined;
@@ -457,29 +452,28 @@ export declare const ImportDTOSchema: z.ZodObject<{
457
452
  isPromoted?: boolean | undefined;
458
453
  link?: string | null | undefined;
459
454
  price?: number | null | undefined;
455
+ regions?: import("../../shared").Region[] | undefined;
460
456
  secondaryCategory?: import("../../shared").Category | null | undefined;
457
+ startTime?: string | undefined;
461
458
  thumbnailUrl?: string | null | undefined;
462
459
  ticketsUrl?: string | null | undefined;
460
+ title?: string | undefined;
463
461
  organizers?: {
464
462
  id: string & z.BRAND<"OrganizerId">;
465
- imageUrl: string | null;
466
463
  name: string;
464
+ imageUrl: string | null;
467
465
  }[] | undefined;
468
466
  };
467
+ userId: string;
468
+ organizersNames: string[];
469
469
  source: string;
470
470
  }, {
471
- userId: string;
472
- id: string;
473
471
  createdAt: string;
474
- organizersNames: string[];
472
+ id: string;
475
473
  partialEventState: {
476
- category?: import("../../shared").Category | undefined;
477
- startTime?: string | undefined;
478
- regions?: import("../../shared").Region[] | undefined;
479
- id?: string | undefined;
480
- title?: string | undefined;
481
474
  adress?: string | undefined;
482
475
  capacity?: number | null | undefined;
476
+ category?: import("../../shared").Category | undefined;
483
477
  createdAt?: string | undefined;
484
478
  description?: string | undefined;
485
479
  externalSourceId?: string | null | undefined;
@@ -489,6 +483,7 @@ export declare const ImportDTOSchema: z.ZodObject<{
489
483
  longitude: number;
490
484
  } | undefined;
491
485
  hasHandicapAccess?: boolean | null | undefined;
486
+ id?: string | undefined;
492
487
  imageBlurHashes?: string[] | undefined;
493
488
  imageUrls?: string[] | undefined;
494
489
  isDisplayed?: boolean | undefined;
@@ -498,15 +493,20 @@ export declare const ImportDTOSchema: z.ZodObject<{
498
493
  isPromoted?: boolean | undefined;
499
494
  link?: string | null | undefined;
500
495
  price?: number | null | undefined;
496
+ regions?: import("../../shared").Region[] | undefined;
501
497
  secondaryCategory?: import("../../shared").Category | null | undefined;
498
+ startTime?: string | undefined;
502
499
  thumbnailUrl?: string | null | undefined;
503
500
  ticketsUrl?: string | null | undefined;
501
+ title?: string | undefined;
504
502
  organizers?: {
505
503
  id: string;
506
- imageUrl: string | null;
507
504
  name: string;
505
+ imageUrl: string | null;
508
506
  }[] | undefined;
509
507
  };
508
+ userId: string;
509
+ organizersNames: string[];
510
510
  source: string;
511
511
  }>;
512
512
  export type ImportDTO = z.infer<typeof ImportDTOSchema>;
@@ -563,11 +563,11 @@ export declare const ExtractedDatesDTOSchema: z.ZodObject<{
563
563
  startTime: z.ZodString;
564
564
  finishTime: z.ZodNullable<z.ZodString>;
565
565
  }, "strip", z.ZodTypeAny, {
566
- startTime: string;
567
566
  finishTime: string | null;
568
- }, {
569
567
  startTime: string;
568
+ }, {
570
569
  finishTime: string | null;
570
+ startTime: string;
571
571
  }>;
572
572
  export type ExtractedDatesDTO = z.infer<typeof ExtractedDatesDTOSchema>;
573
573
  //# sourceMappingURL=event.d.ts.map
@@ -1,49 +1,47 @@
1
1
  import { z } from 'zod';
2
- export declare const ImportReminderFrequencySchema: z.ZodEnum<["TWO_DAYS", "FOUR_DAYS", "ONE_WEEK", "TWO_WEEKS"]>;
3
- export type ImportReminderFrequency = z.infer<typeof ImportReminderFrequencySchema>;
4
2
  export declare const ImportReminderDTOSchema: z.ZodObject<{
5
- frequency: z.ZodEnum<["TWO_DAYS", "FOUR_DAYS", "ONE_WEEK", "TWO_WEEKS"]>;
3
+ frequency: z.ZodNativeEnum<typeof import("../../shared").ImportReminderFrequency>;
6
4
  id: z.ZodBranded<z.ZodString, "ImportReminderId">;
7
5
  title: z.ZodString;
8
6
  url: z.ZodString;
9
7
  }, "strip", z.ZodTypeAny, {
10
8
  id: string & z.BRAND<"ImportReminderId">;
11
- frequency: "TWO_DAYS" | "FOUR_DAYS" | "ONE_WEEK" | "TWO_WEEKS";
12
9
  title: string;
10
+ frequency: import("../../shared").ImportReminderFrequency;
13
11
  url: string;
14
12
  }, {
15
13
  id: string;
16
- frequency: "TWO_DAYS" | "FOUR_DAYS" | "ONE_WEEK" | "TWO_WEEKS";
17
14
  title: string;
15
+ frequency: import("../../shared").ImportReminderFrequency;
18
16
  url: string;
19
17
  }>;
20
18
  export declare const CreateImportReminderDTOSchema: z.ZodObject<{
21
- frequency: z.ZodEnum<["TWO_DAYS", "FOUR_DAYS", "ONE_WEEK", "TWO_WEEKS"]>;
19
+ frequency: z.ZodNativeEnum<typeof import("../../shared").ImportReminderFrequency>;
22
20
  id: z.ZodBranded<z.ZodString, "ImportReminderId">;
23
21
  title: z.ZodString;
24
22
  url: z.ZodString;
25
23
  }, "strip", z.ZodTypeAny, {
26
24
  id: string & z.BRAND<"ImportReminderId">;
27
- frequency: "TWO_DAYS" | "FOUR_DAYS" | "ONE_WEEK" | "TWO_WEEKS";
28
25
  title: string;
26
+ frequency: import("../../shared").ImportReminderFrequency;
29
27
  url: string;
30
28
  }, {
31
29
  id: string;
32
- frequency: "TWO_DAYS" | "FOUR_DAYS" | "ONE_WEEK" | "TWO_WEEKS";
33
30
  title: string;
31
+ frequency: import("../../shared").ImportReminderFrequency;
34
32
  url: string;
35
33
  }>;
36
34
  export declare const UpdateImportReminderDTOSchema: z.ZodObject<{
37
- frequency: z.ZodOptional<z.ZodEnum<["TWO_DAYS", "FOUR_DAYS", "ONE_WEEK", "TWO_WEEKS"]>>;
38
35
  title: z.ZodOptional<z.ZodString>;
36
+ frequency: z.ZodOptional<z.ZodNativeEnum<typeof import("../../shared").ImportReminderFrequency>>;
39
37
  url: z.ZodOptional<z.ZodString>;
40
38
  }, "strip", z.ZodTypeAny, {
41
- frequency?: "TWO_DAYS" | "FOUR_DAYS" | "ONE_WEEK" | "TWO_WEEKS" | undefined;
42
39
  title?: string | undefined;
40
+ frequency?: import("../../shared").ImportReminderFrequency | undefined;
43
41
  url?: string | undefined;
44
42
  }, {
45
- frequency?: "TWO_DAYS" | "FOUR_DAYS" | "ONE_WEEK" | "TWO_WEEKS" | undefined;
46
43
  title?: string | undefined;
44
+ frequency?: import("../../shared").ImportReminderFrequency | undefined;
47
45
  url?: string | undefined;
48
46
  }>;
49
47
  export type ImportReminderDTO = z.infer<typeof ImportReminderDTOSchema>;
@@ -1 +1 @@
1
- {"version":3,"file":"import-reminder.d.ts","sourceRoot":"","sources":["../../../src/V1/api/import-reminder.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,eAAO,MAAM,6BAA6B,+DAA6D,CAAC;AACxG,MAAM,MAAM,uBAAuB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,6BAA6B,CAAC,CAAC;AAEpF,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;EAKlC,CAAC;AAEH,eAAO,MAAM,6BAA6B;;;;;;;;;;;;;;;EAA0B,CAAC;AAErE,eAAO,MAAM,6BAA6B;;;;;;;;;;;;EAAuD,CAAC;AAElG,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,uBAAuB,CAAC,CAAC;AACxE,MAAM,MAAM,uBAAuB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,6BAA6B,CAAC,CAAC;AACpF,MAAM,MAAM,uBAAuB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,6BAA6B,CAAC,CAAC"}
1
+ {"version":3,"file":"import-reminder.d.ts","sourceRoot":"","sources":["../../../src/V1/api/import-reminder.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;EAKlC,CAAC;AAEH,eAAO,MAAM,6BAA6B;;;;;;;;;;;;;;;EAA0B,CAAC;AAErE,eAAO,MAAM,6BAA6B;;;;;;;;;;;;EAAuD,CAAC;AAElG,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,uBAAuB,CAAC,CAAC;AACxE,MAAM,MAAM,uBAAuB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,6BAA6B,CAAC,CAAC;AACpF,MAAM,MAAM,uBAAuB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,6BAA6B,CAAC,CAAC"}
@@ -5,15 +5,15 @@ export declare const OrganizerDTOSchema: z.ZodObject<{
5
5
  imageUrl: z.ZodNullable<z.ZodString>;
6
6
  name: z.ZodString;
7
7
  }, "strip", z.ZodTypeAny, {
8
- eventsIds: (string & z.BRAND<"EventId">)[];
9
8
  id: string & z.BRAND<"OrganizerId">;
10
- imageUrl: string | null;
11
9
  name: string;
10
+ imageUrl: string | null;
11
+ eventsIds: (string & z.BRAND<"EventId">)[];
12
12
  }, {
13
- eventsIds: string[];
14
13
  id: string;
15
- imageUrl: string | null;
16
14
  name: string;
15
+ imageUrl: string | null;
16
+ eventsIds: string[];
17
17
  }>;
18
18
  export declare const CreateOrganizerDTOSchema: z.ZodObject<{
19
19
  id: z.ZodBranded<z.ZodString, "OrganizerId">;
@@ -21,12 +21,12 @@ export declare const CreateOrganizerDTOSchema: z.ZodObject<{
21
21
  name: z.ZodString;
22
22
  }, "strip", z.ZodTypeAny, {
23
23
  id: string & z.BRAND<"OrganizerId">;
24
- imageUrl: string | null;
25
24
  name: string;
25
+ imageUrl: string | null;
26
26
  }, {
27
27
  id: string;
28
- imageUrl: string | null;
29
28
  name: string;
29
+ imageUrl: string | null;
30
30
  }>;
31
31
  export declare const UpdateOrganizerDTOSchema: z.ZodObject<z.objectUtil.extendShape<Omit<{
32
32
  id: z.ZodBranded<z.ZodString, "OrganizerId">;
@@ -205,30 +205,30 @@ export declare const SaveStatisticDTOSchema: z.ZodObject<{
205
205
  adTitle: z.ZodString;
206
206
  userId: z.ZodString;
207
207
  }, "strip", z.ZodTypeAny, {
208
+ userId: string;
208
209
  adId: string;
209
210
  adTitle: string;
210
- userId: string;
211
211
  }, {
212
+ userId: string;
212
213
  adId: string;
213
214
  adTitle: string;
214
- userId: string;
215
215
  }>;
216
216
  time: z.ZodString;
217
217
  type: z.ZodLiteral<"ad-pressed">;
218
218
  }, "strip", z.ZodTypeAny, {
219
219
  type: "ad-pressed";
220
220
  data: {
221
+ userId: string;
221
222
  adId: string;
222
223
  adTitle: string;
223
- userId: string;
224
224
  };
225
225
  time: string;
226
226
  }, {
227
227
  type: "ad-pressed";
228
228
  data: {
229
+ userId: string;
229
230
  adId: string;
230
231
  adTitle: string;
231
- userId: string;
232
232
  };
233
233
  time: string;
234
234
  }>, z.ZodObject<{
@@ -258,26 +258,26 @@ export declare const SaveStatisticDTOSchema: z.ZodObject<{
258
258
  category: z.ZodNativeEnum<typeof import("../../shared").Category>;
259
259
  userId: z.ZodString;
260
260
  }, "strip", z.ZodTypeAny, {
261
- userId: string;
262
261
  category: import("../../shared").Category;
263
- }, {
264
262
  userId: string;
263
+ }, {
265
264
  category: import("../../shared").Category;
265
+ userId: string;
266
266
  }>;
267
267
  time: z.ZodString;
268
268
  type: z.ZodLiteral<"category-filter-applied">;
269
269
  }, "strip", z.ZodTypeAny, {
270
270
  type: "category-filter-applied";
271
271
  data: {
272
- userId: string;
273
272
  category: import("../../shared").Category;
273
+ userId: string;
274
274
  };
275
275
  time: string;
276
276
  }, {
277
277
  type: "category-filter-applied";
278
278
  data: {
279
- userId: string;
280
279
  category: import("../../shared").Category;
280
+ userId: string;
281
281
  };
282
282
  time: string;
283
283
  }>, z.ZodObject<{
@@ -286,12 +286,12 @@ export declare const SaveStatisticDTOSchema: z.ZodObject<{
286
286
  endTime: z.ZodString;
287
287
  userId: z.ZodString;
288
288
  }, "strip", z.ZodTypeAny, {
289
- userId: string;
290
289
  startTime: string;
290
+ userId: string;
291
291
  endTime: string;
292
292
  }, {
293
- userId: string;
294
293
  startTime: string;
294
+ userId: string;
295
295
  endTime: string;
296
296
  }>;
297
297
  time: z.ZodString;
@@ -299,16 +299,16 @@ export declare const SaveStatisticDTOSchema: z.ZodObject<{
299
299
  }, "strip", z.ZodTypeAny, {
300
300
  type: "date-filter-applied";
301
301
  data: {
302
- userId: string;
303
302
  startTime: string;
303
+ userId: string;
304
304
  endTime: string;
305
305
  };
306
306
  time: string;
307
307
  }, {
308
308
  type: "date-filter-applied";
309
309
  data: {
310
- userId: string;
311
310
  startTime: string;
311
+ userId: string;
312
312
  endTime: string;
313
313
  };
314
314
  time: string;
@@ -317,26 +317,26 @@ export declare const SaveStatisticDTOSchema: z.ZodObject<{
317
317
  userId: z.ZodString;
318
318
  eventId: z.ZodString;
319
319
  }, "strip", z.ZodTypeAny, {
320
- eventId: string;
321
320
  userId: string;
322
- }, {
323
321
  eventId: string;
322
+ }, {
324
323
  userId: string;
324
+ eventId: string;
325
325
  }>;
326
326
  time: z.ZodString;
327
327
  type: z.ZodLiteral<"event-added-to-calendar">;
328
328
  }, "strip", z.ZodTypeAny, {
329
329
  type: "event-added-to-calendar";
330
330
  data: {
331
- eventId: string;
332
331
  userId: string;
332
+ eventId: string;
333
333
  };
334
334
  time: string;
335
335
  }, {
336
336
  type: "event-added-to-calendar";
337
337
  data: {
338
- eventId: string;
339
338
  userId: string;
339
+ eventId: string;
340
340
  };
341
341
  time: string;
342
342
  }>, z.ZodObject<{
@@ -344,26 +344,26 @@ export declare const SaveStatisticDTOSchema: z.ZodObject<{
344
344
  userId: z.ZodString;
345
345
  eventId: z.ZodString;
346
346
  }, "strip", z.ZodTypeAny, {
347
- eventId: string;
348
347
  userId: string;
349
- }, {
350
348
  eventId: string;
349
+ }, {
351
350
  userId: string;
351
+ eventId: string;
352
352
  }>;
353
353
  time: z.ZodString;
354
354
  type: z.ZodLiteral<"event-added-to-favorites">;
355
355
  }, "strip", z.ZodTypeAny, {
356
356
  type: "event-added-to-favorites";
357
357
  data: {
358
- eventId: string;
359
358
  userId: string;
359
+ eventId: string;
360
360
  };
361
361
  time: string;
362
362
  }, {
363
363
  type: "event-added-to-favorites";
364
364
  data: {
365
- eventId: string;
366
365
  userId: string;
366
+ eventId: string;
367
367
  };
368
368
  time: string;
369
369
  }>, z.ZodObject<{
@@ -371,26 +371,26 @@ export declare const SaveStatisticDTOSchema: z.ZodObject<{
371
371
  userId: z.ZodString;
372
372
  eventId: z.ZodString;
373
373
  }, "strip", z.ZodTypeAny, {
374
- eventId: string;
375
374
  userId: string;
376
- }, {
377
375
  eventId: string;
376
+ }, {
378
377
  userId: string;
378
+ eventId: string;
379
379
  }>;
380
380
  time: z.ZodString;
381
381
  type: z.ZodLiteral<"event-displayed">;
382
382
  }, "strip", z.ZodTypeAny, {
383
383
  type: "event-displayed";
384
384
  data: {
385
- eventId: string;
386
385
  userId: string;
386
+ eventId: string;
387
387
  };
388
388
  time: string;
389
389
  }, {
390
390
  type: "event-displayed";
391
391
  data: {
392
- eventId: string;
393
392
  userId: string;
393
+ eventId: string;
394
394
  };
395
395
  time: string;
396
396
  }>, z.ZodObject<{
@@ -398,26 +398,26 @@ export declare const SaveStatisticDTOSchema: z.ZodObject<{
398
398
  userId: z.ZodString;
399
399
  eventId: z.ZodString;
400
400
  }, "strip", z.ZodTypeAny, {
401
- eventId: string;
402
401
  userId: string;
403
- }, {
404
402
  eventId: string;
403
+ }, {
405
404
  userId: string;
405
+ eventId: string;
406
406
  }>;
407
407
  time: z.ZodString;
408
408
  type: z.ZodLiteral<"event-see-more-clicked">;
409
409
  }, "strip", z.ZodTypeAny, {
410
410
  type: "event-see-more-clicked";
411
411
  data: {
412
- eventId: string;
413
412
  userId: string;
413
+ eventId: string;
414
414
  };
415
415
  time: string;
416
416
  }, {
417
417
  type: "event-see-more-clicked";
418
418
  data: {
419
- eventId: string;
420
419
  userId: string;
420
+ eventId: string;
421
421
  };
422
422
  time: string;
423
423
  }>, z.ZodObject<{
@@ -425,26 +425,26 @@ export declare const SaveStatisticDTOSchema: z.ZodObject<{
425
425
  userId: z.ZodString;
426
426
  eventId: z.ZodString;
427
427
  }, "strip", z.ZodTypeAny, {
428
- eventId: string;
429
428
  userId: string;
430
- }, {
431
429
  eventId: string;
430
+ }, {
432
431
  userId: string;
432
+ eventId: string;
433
433
  }>;
434
434
  time: z.ZodString;
435
435
  type: z.ZodLiteral<"event-shared">;
436
436
  }, "strip", z.ZodTypeAny, {
437
437
  type: "event-shared";
438
438
  data: {
439
- eventId: string;
440
439
  userId: string;
440
+ eventId: string;
441
441
  };
442
442
  time: string;
443
443
  }, {
444
444
  type: "event-shared";
445
445
  data: {
446
- eventId: string;
447
446
  userId: string;
447
+ eventId: string;
448
448
  };
449
449
  time: string;
450
450
  }>, z.ZodObject<{
@@ -452,26 +452,26 @@ export declare const SaveStatisticDTOSchema: z.ZodObject<{
452
452
  userId: z.ZodString;
453
453
  eventId: z.ZodString;
454
454
  }, "strip", z.ZodTypeAny, {
455
- eventId: string;
456
455
  userId: string;
457
- }, {
458
456
  eventId: string;
457
+ }, {
459
458
  userId: string;
459
+ eventId: string;
460
460
  }>;
461
461
  time: z.ZodString;
462
462
  type: z.ZodLiteral<"event-tickets-clicked">;
463
463
  }, "strip", z.ZodTypeAny, {
464
464
  type: "event-tickets-clicked";
465
465
  data: {
466
- eventId: string;
467
466
  userId: string;
467
+ eventId: string;
468
468
  };
469
469
  time: string;
470
470
  }, {
471
471
  type: "event-tickets-clicked";
472
472
  data: {
473
- eventId: string;
474
473
  userId: string;
474
+ eventId: string;
475
475
  };
476
476
  time: string;
477
477
  }>, z.ZodObject<{
@@ -550,26 +550,26 @@ export declare const SaveStatisticDTOSchema: z.ZodObject<{
550
550
  regions: z.ZodArray<z.ZodNativeEnum<typeof import("../../shared").Region>, "many">;
551
551
  userId: z.ZodString;
552
552
  }, "strip", z.ZodTypeAny, {
553
- userId: string;
554
553
  regions: import("../../shared").Region[];
555
- }, {
556
554
  userId: string;
555
+ }, {
557
556
  regions: import("../../shared").Region[];
557
+ userId: string;
558
558
  }>;
559
559
  time: z.ZodString;
560
560
  type: z.ZodLiteral<"region-filter-applied">;
561
561
  }, "strip", z.ZodTypeAny, {
562
562
  type: "region-filter-applied";
563
563
  data: {
564
- userId: string;
565
564
  regions: import("../../shared").Region[];
565
+ userId: string;
566
566
  };
567
567
  time: string;
568
568
  }, {
569
569
  type: "region-filter-applied";
570
570
  data: {
571
- userId: string;
572
571
  regions: import("../../shared").Region[];
572
+ userId: string;
573
573
  };
574
574
  time: string;
575
575
  }>]>;
@@ -577,9 +577,9 @@ export declare const SaveStatisticDTOSchema: z.ZodObject<{
577
577
  statistic: {
578
578
  type: "ad-pressed";
579
579
  data: {
580
+ userId: string;
580
581
  adId: string;
581
582
  adTitle: string;
582
- userId: string;
583
583
  };
584
584
  time: string;
585
585
  } | {
@@ -591,58 +591,58 @@ export declare const SaveStatisticDTOSchema: z.ZodObject<{
591
591
  } | {
592
592
  type: "category-filter-applied";
593
593
  data: {
594
- userId: string;
595
594
  category: import("../../shared").Category;
595
+ userId: string;
596
596
  };
597
597
  time: string;
598
598
  } | {
599
599
  type: "date-filter-applied";
600
600
  data: {
601
- userId: string;
602
601
  startTime: string;
602
+ userId: string;
603
603
  endTime: string;
604
604
  };
605
605
  time: string;
606
606
  } | {
607
607
  type: "event-added-to-calendar";
608
608
  data: {
609
- eventId: string;
610
609
  userId: string;
610
+ eventId: string;
611
611
  };
612
612
  time: string;
613
613
  } | {
614
614
  type: "event-added-to-favorites";
615
615
  data: {
616
- eventId: string;
617
616
  userId: string;
617
+ eventId: string;
618
618
  };
619
619
  time: string;
620
620
  } | {
621
621
  type: "event-displayed";
622
622
  data: {
623
- eventId: string;
624
623
  userId: string;
624
+ eventId: string;
625
625
  };
626
626
  time: string;
627
627
  } | {
628
628
  type: "event-see-more-clicked";
629
629
  data: {
630
- eventId: string;
631
630
  userId: string;
631
+ eventId: string;
632
632
  };
633
633
  time: string;
634
634
  } | {
635
635
  type: "event-shared";
636
636
  data: {
637
- eventId: string;
638
637
  userId: string;
638
+ eventId: string;
639
639
  };
640
640
  time: string;
641
641
  } | {
642
642
  type: "event-tickets-clicked";
643
643
  data: {
644
- eventId: string;
645
644
  userId: string;
645
+ eventId: string;
646
646
  };
647
647
  time: string;
648
648
  } | {
@@ -667,8 +667,8 @@ export declare const SaveStatisticDTOSchema: z.ZodObject<{
667
667
  } | {
668
668
  type: "region-filter-applied";
669
669
  data: {
670
- userId: string;
671
670
  regions: import("../../shared").Region[];
671
+ userId: string;
672
672
  };
673
673
  time: string;
674
674
  };
@@ -676,9 +676,9 @@ export declare const SaveStatisticDTOSchema: z.ZodObject<{
676
676
  statistic: {
677
677
  type: "ad-pressed";
678
678
  data: {
679
+ userId: string;
679
680
  adId: string;
680
681
  adTitle: string;
681
- userId: string;
682
682
  };
683
683
  time: string;
684
684
  } | {
@@ -690,58 +690,58 @@ export declare const SaveStatisticDTOSchema: z.ZodObject<{
690
690
  } | {
691
691
  type: "category-filter-applied";
692
692
  data: {
693
- userId: string;
694
693
  category: import("../../shared").Category;
694
+ userId: string;
695
695
  };
696
696
  time: string;
697
697
  } | {
698
698
  type: "date-filter-applied";
699
699
  data: {
700
- userId: string;
701
700
  startTime: string;
701
+ userId: string;
702
702
  endTime: string;
703
703
  };
704
704
  time: string;
705
705
  } | {
706
706
  type: "event-added-to-calendar";
707
707
  data: {
708
- eventId: string;
709
708
  userId: string;
709
+ eventId: string;
710
710
  };
711
711
  time: string;
712
712
  } | {
713
713
  type: "event-added-to-favorites";
714
714
  data: {
715
- eventId: string;
716
715
  userId: string;
716
+ eventId: string;
717
717
  };
718
718
  time: string;
719
719
  } | {
720
720
  type: "event-displayed";
721
721
  data: {
722
- eventId: string;
723
722
  userId: string;
723
+ eventId: string;
724
724
  };
725
725
  time: string;
726
726
  } | {
727
727
  type: "event-see-more-clicked";
728
728
  data: {
729
- eventId: string;
730
729
  userId: string;
730
+ eventId: string;
731
731
  };
732
732
  time: string;
733
733
  } | {
734
734
  type: "event-shared";
735
735
  data: {
736
- eventId: string;
737
736
  userId: string;
737
+ eventId: string;
738
738
  };
739
739
  time: string;
740
740
  } | {
741
741
  type: "event-tickets-clicked";
742
742
  data: {
743
- eventId: string;
744
743
  userId: string;
744
+ eventId: string;
745
745
  };
746
746
  time: string;
747
747
  } | {
@@ -766,8 +766,8 @@ export declare const SaveStatisticDTOSchema: z.ZodObject<{
766
766
  } | {
767
767
  type: "region-filter-applied";
768
768
  data: {
769
- userId: string;
770
769
  regions: import("../../shared").Region[];
770
+ userId: string;
771
771
  };
772
772
  time: string;
773
773
  };
@@ -41,21 +41,17 @@ export declare const CreatePartialImportedEventDTOSchema: z.ZodObject<{
41
41
  imageUrl: z.ZodNullable<z.ZodString>;
42
42
  }, "strip", z.ZodTypeAny, {
43
43
  id: string & z.BRAND<"OrganizerId">;
44
- imageUrl: string | null;
45
44
  name: string;
45
+ imageUrl: string | null;
46
46
  }, {
47
47
  id: string;
48
- imageUrl: string | null;
49
48
  name: string;
49
+ imageUrl: string | null;
50
50
  }>, "many">>;
51
51
  }, "strip", z.ZodTypeAny, {
52
- category?: import("../../shared").Category | undefined;
53
- startTime?: string | undefined;
54
- regions?: import("../../shared").Region[] | undefined;
55
- id?: (string & z.BRAND<"EventId">) | undefined;
56
- title?: string | undefined;
57
52
  adress?: string | undefined;
58
53
  capacity?: number | null | undefined;
54
+ category?: import("../../shared").Category | undefined;
59
55
  createdAt?: string | undefined;
60
56
  description?: string | undefined;
61
57
  externalSourceId?: string | null | undefined;
@@ -65,6 +61,7 @@ export declare const CreatePartialImportedEventDTOSchema: z.ZodObject<{
65
61
  longitude: number;
66
62
  } | undefined;
67
63
  hasHandicapAccess?: boolean | null | undefined;
64
+ id?: (string & z.BRAND<"EventId">) | undefined;
68
65
  imageBlurHashes?: string[] | undefined;
69
66
  imageUrls?: string[] | undefined;
70
67
  isDisplayed?: boolean | undefined;
@@ -74,22 +71,21 @@ export declare const CreatePartialImportedEventDTOSchema: z.ZodObject<{
74
71
  isPromoted?: boolean | undefined;
75
72
  link?: string | null | undefined;
76
73
  price?: number | null | undefined;
74
+ regions?: import("../../shared").Region[] | undefined;
77
75
  secondaryCategory?: import("../../shared").Category | null | undefined;
76
+ startTime?: string | undefined;
78
77
  thumbnailUrl?: string | null | undefined;
79
78
  ticketsUrl?: string | null | undefined;
79
+ title?: string | undefined;
80
80
  organizers?: {
81
81
  id: string & z.BRAND<"OrganizerId">;
82
- imageUrl: string | null;
83
82
  name: string;
83
+ imageUrl: string | null;
84
84
  }[] | undefined;
85
85
  }, {
86
- category?: import("../../shared").Category | undefined;
87
- startTime?: string | undefined;
88
- regions?: import("../../shared").Region[] | undefined;
89
- id?: string | undefined;
90
- title?: string | undefined;
91
86
  adress?: string | undefined;
92
87
  capacity?: number | null | undefined;
88
+ category?: import("../../shared").Category | undefined;
93
89
  createdAt?: string | undefined;
94
90
  description?: string | undefined;
95
91
  externalSourceId?: string | null | undefined;
@@ -99,6 +95,7 @@ export declare const CreatePartialImportedEventDTOSchema: z.ZodObject<{
99
95
  longitude: number;
100
96
  } | undefined;
101
97
  hasHandicapAccess?: boolean | null | undefined;
98
+ id?: string | undefined;
102
99
  imageBlurHashes?: string[] | undefined;
103
100
  imageUrls?: string[] | undefined;
104
101
  isDisplayed?: boolean | undefined;
@@ -108,13 +105,16 @@ export declare const CreatePartialImportedEventDTOSchema: z.ZodObject<{
108
105
  isPromoted?: boolean | undefined;
109
106
  link?: string | null | undefined;
110
107
  price?: number | null | undefined;
108
+ regions?: import("../../shared").Region[] | undefined;
111
109
  secondaryCategory?: import("../../shared").Category | null | undefined;
110
+ startTime?: string | undefined;
112
111
  thumbnailUrl?: string | null | undefined;
113
112
  ticketsUrl?: string | null | undefined;
113
+ title?: string | undefined;
114
114
  organizers?: {
115
115
  id: string;
116
- imageUrl: string | null;
117
116
  name: string;
117
+ imageUrl: string | null;
118
118
  }[] | undefined;
119
119
  }>;
120
120
  token: z.ZodString;
@@ -122,16 +122,10 @@ export declare const CreatePartialImportedEventDTOSchema: z.ZodObject<{
122
122
  organizersNames: z.ZodArray<z.ZodString, "many">;
123
123
  source: z.ZodString;
124
124
  }, "strip", z.ZodTypeAny, {
125
- userId: string;
126
- organizersNames: string[];
127
125
  partialEventState: {
128
- category?: import("../../shared").Category | undefined;
129
- startTime?: string | undefined;
130
- regions?: import("../../shared").Region[] | undefined;
131
- id?: (string & z.BRAND<"EventId">) | undefined;
132
- title?: string | undefined;
133
126
  adress?: string | undefined;
134
127
  capacity?: number | null | undefined;
128
+ category?: import("../../shared").Category | undefined;
135
129
  createdAt?: string | undefined;
136
130
  description?: string | undefined;
137
131
  externalSourceId?: string | null | undefined;
@@ -141,6 +135,7 @@ export declare const CreatePartialImportedEventDTOSchema: z.ZodObject<{
141
135
  longitude: number;
142
136
  } | undefined;
143
137
  hasHandicapAccess?: boolean | null | undefined;
138
+ id?: (string & z.BRAND<"EventId">) | undefined;
144
139
  imageBlurHashes?: string[] | undefined;
145
140
  imageUrls?: string[] | undefined;
146
141
  isDisplayed?: boolean | undefined;
@@ -150,28 +145,27 @@ export declare const CreatePartialImportedEventDTOSchema: z.ZodObject<{
150
145
  isPromoted?: boolean | undefined;
151
146
  link?: string | null | undefined;
152
147
  price?: number | null | undefined;
148
+ regions?: import("../../shared").Region[] | undefined;
153
149
  secondaryCategory?: import("../../shared").Category | null | undefined;
150
+ startTime?: string | undefined;
154
151
  thumbnailUrl?: string | null | undefined;
155
152
  ticketsUrl?: string | null | undefined;
153
+ title?: string | undefined;
156
154
  organizers?: {
157
155
  id: string & z.BRAND<"OrganizerId">;
158
- imageUrl: string | null;
159
156
  name: string;
157
+ imageUrl: string | null;
160
158
  }[] | undefined;
161
159
  };
162
- source: string;
163
160
  token: string;
164
- }, {
165
161
  userId: string;
166
162
  organizersNames: string[];
163
+ source: string;
164
+ }, {
167
165
  partialEventState: {
168
- category?: import("../../shared").Category | undefined;
169
- startTime?: string | undefined;
170
- regions?: import("../../shared").Region[] | undefined;
171
- id?: string | undefined;
172
- title?: string | undefined;
173
166
  adress?: string | undefined;
174
167
  capacity?: number | null | undefined;
168
+ category?: import("../../shared").Category | undefined;
175
169
  createdAt?: string | undefined;
176
170
  description?: string | undefined;
177
171
  externalSourceId?: string | null | undefined;
@@ -181,6 +175,7 @@ export declare const CreatePartialImportedEventDTOSchema: z.ZodObject<{
181
175
  longitude: number;
182
176
  } | undefined;
183
177
  hasHandicapAccess?: boolean | null | undefined;
178
+ id?: string | undefined;
184
179
  imageBlurHashes?: string[] | undefined;
185
180
  imageUrls?: string[] | undefined;
186
181
  isDisplayed?: boolean | undefined;
@@ -190,17 +185,22 @@ export declare const CreatePartialImportedEventDTOSchema: z.ZodObject<{
190
185
  isPromoted?: boolean | undefined;
191
186
  link?: string | null | undefined;
192
187
  price?: number | null | undefined;
188
+ regions?: import("../../shared").Region[] | undefined;
193
189
  secondaryCategory?: import("../../shared").Category | null | undefined;
190
+ startTime?: string | undefined;
194
191
  thumbnailUrl?: string | null | undefined;
195
192
  ticketsUrl?: string | null | undefined;
193
+ title?: string | undefined;
196
194
  organizers?: {
197
195
  id: string;
198
- imageUrl: string | null;
199
196
  name: string;
197
+ imageUrl: string | null;
200
198
  }[] | undefined;
201
199
  };
202
- source: string;
203
200
  token: string;
201
+ userId: string;
202
+ organizersNames: string[];
203
+ source: string;
204
204
  }>;
205
205
  export type CreatePartialImportedEventDTO = z.infer<typeof CreatePartialImportedEventDTOSchema>;
206
206
  //# sourceMappingURL=partial-imported-event.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"flavors.d.ts","sourceRoot":"","sources":["../src/flavors.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,eAAO,MAAM,aAAa,sCAA8B,CAAC;AACzD,MAAM,MAAM,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;AAEpD,eAAO,MAAM,aAAa,QAAQ,MAAM,KAAyB,OAAkC,CAAC;AAEpG,eAAO,MAAM,iBAAiB,0CAAkC,CAAC;AACjE,MAAM,MAAM,WAAW,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iBAAiB,CAAC,CAAC;AAE5D,eAAO,MAAM,iBAAiB,QAAQ,MAAM,KAAyB,WAA0C,CAAC;AAEhH,eAAO,MAAM,YAAY,qCAA6B,CAAC;AACvD,MAAM,MAAM,MAAM,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,YAAY,CAAC,CAAC;AAElD,eAAO,MAAM,YAAY,QAAQ,MAAM,KAAyB,MAAgC,CAAC;AAEjG,eAAO,MAAM,cAAc,uCAA+B,CAAC;AAC3D,MAAM,MAAM,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;AAEtD,eAAO,MAAM,cAAc,QAAQ,MAAM,KAAyB,QAAoC,CAAC;AAEvG,eAAO,MAAM,kBAAkB,2CAAmC,CAAC;AACnE,MAAM,MAAM,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAC;AAE9D,eAAO,MAAM,kBAAkB,QAAQ,MAAM,KAAyB,YAA4C,CAAC;AAEnH,eAAO,MAAM,sBAAsB,+CAAuC,CAAC;AAC3E,MAAM,MAAM,gBAAgB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,sBAAsB,CAAC,CAAC;AAEtE,eAAO,MAAM,sBAAsB,QAAQ,MAAM,KAAyB,gBAAoD,CAAC"}
1
+ {"version":3,"file":"flavors.d.ts","sourceRoot":"","sources":["../src/flavors.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,eAAO,MAAM,aAAa,sCAA8B,CAAC;AACzD,MAAM,MAAM,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;AAEpD,eAAO,MAAM,aAAa,QAAQ,MAAM,KAAyB,OAAkC,CAAC;AAEpG,eAAO,MAAM,iBAAiB,0CAAkC,CAAC;AACjE,MAAM,MAAM,WAAW,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iBAAiB,CAAC,CAAC;AAE5D,eAAO,MAAM,iBAAiB,QAAQ,MAAM,KAAyB,WAA0C,CAAC;AAEhH,eAAO,MAAM,YAAY,qCAA6B,CAAC;AACvD,MAAM,MAAM,MAAM,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,YAAY,CAAC,CAAC;AAElD,eAAO,MAAM,YAAY,QAAQ,MAAM,KAAyB,MAAgC,CAAC;AAEjG,eAAO,MAAM,cAAc,uCAA+B,CAAC;AAC3D,MAAM,MAAM,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;AAEtD,eAAO,MAAM,cAAc,QAAQ,MAAM,KAAyB,QAAoC,CAAC;AAEvG,eAAO,MAAM,kBAAkB,2CAAmC,CAAC;AACnE,MAAM,MAAM,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAC;AAE9D,eAAO,MAAM,kBAAkB,QAAQ,MAAM,KAAyB,YAA4C,CAAC;AAEnH,eAAO,MAAM,sBAAsB,+CAAuC,CAAC;AAC3E,MAAM,MAAM,gBAAgB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,sBAAsB,CAAC,CAAC;AAEtE,eAAO,MAAM,sBAAsB,QAAQ,MAAM,KAAyB,gBACxC,CAAC"}
@@ -0,0 +1,9 @@
1
+ import { z } from 'zod';
2
+ export declare enum ImportReminderFrequency {
3
+ TWO_DAYS = "TWO_DAYS",
4
+ FOUR_DAYS = "FOUR_DAYS",
5
+ ONE_WEEK = "ONE_WEEK",
6
+ TWO_WEEKS = "TWO_WEEKS"
7
+ }
8
+ export declare const ImportReminderFrequencySchema: z.ZodNativeEnum<typeof ImportReminderFrequency>;
9
+ //# sourceMappingURL=import-reminder.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"import-reminder.d.ts","sourceRoot":"","sources":["../../src/shared/import-reminder.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,oBAAY,uBAAuB;IACjC,QAAQ,aAAa;IACrB,SAAS,cAAc;IACvB,QAAQ,aAAa;IACrB,SAAS,cAAc;CACxB;AAED,eAAO,MAAM,6BAA6B,iDAAwC,CAAC"}
@@ -1,4 +1,5 @@
1
1
  export * from './schemas';
2
2
  export * from './event';
3
3
  export * from './stats';
4
+ export * from './import-reminder';
4
5
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/shared/index.ts"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAC;AAC1B,cAAc,SAAS,CAAC;AACxB,cAAc,SAAS,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/shared/index.ts"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAC;AAC1B,cAAc,SAAS,CAAC;AACxB,cAAc,SAAS,CAAC;AACxB,cAAc,mBAAmB,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sortipei/api-contracts",
3
- "version": "0.2.6",
3
+ "version": "0.2.7",
4
4
  "license": "UNLICENCED",
5
5
  "main": "dist/api-contracts.js",
6
6
  "module": "dist/api-contracts.mjs",