@sortipei/api-contracts 0.2.5 → 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,23 +9,23 @@ 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
12
  createdAt: string;
15
13
  id: string & z.BRAND<"MainAdId">;
16
- imageUrl: string;
17
- isEnabled: boolean;
18
14
  link: string | null;
19
- title: string;
20
- }, {
21
15
  startTime: string;
16
+ title: string;
17
+ imageUrl: string;
22
18
  endTime: string;
19
+ isEnabled: boolean;
20
+ }, {
23
21
  createdAt: string;
24
22
  id: string;
25
- imageUrl: string;
26
- isEnabled: boolean;
27
23
  link: string | null;
24
+ startTime: string;
28
25
  title: string;
26
+ imageUrl: string;
27
+ endTime: string;
28
+ isEnabled: boolean;
29
29
  }>;
30
30
  export declare const UpdateMainAdDTOSchema: z.ZodObject<Omit<{
31
31
  createdAt: z.ZodString;
@@ -37,19 +37,19 @@ export declare const UpdateMainAdDTOSchema: z.ZodObject<Omit<{
37
37
  startTime: z.ZodString;
38
38
  title: z.ZodString;
39
39
  }, "createdAt" | "id">, "strip", z.ZodTypeAny, {
40
+ link: string | null;
40
41
  startTime: string;
41
- endTime: string;
42
+ title: string;
42
43
  imageUrl: string;
44
+ endTime: string;
43
45
  isEnabled: boolean;
44
- link: string | null;
45
- title: string;
46
46
  }, {
47
+ link: string | null;
47
48
  startTime: string;
48
- endTime: string;
49
+ title: string;
49
50
  imageUrl: string;
51
+ endTime: string;
50
52
  isEnabled: boolean;
51
- link: string | null;
52
- title: string;
53
53
  }>;
54
54
  export declare const RegionalAdDTOSchema: z.ZodObject<{
55
55
  createdAt: z.ZodString;
@@ -58,29 +58,29 @@ export declare const RegionalAdDTOSchema: z.ZodObject<{
58
58
  imageUrl: z.ZodString;
59
59
  isEnabled: z.ZodBoolean;
60
60
  link: z.ZodNullable<z.ZodString>;
61
- regions: z.ZodArray<z.ZodNativeEnum<typeof import('../../shared').Region>, "many">;
61
+ regions: z.ZodArray<z.ZodNativeEnum<typeof import("../../shared").Region>, "many">;
62
62
  startTime: z.ZodString;
63
63
  title: z.ZodString;
64
64
  }, "strip", z.ZodTypeAny, {
65
- regions: import('../../shared').Region[];
66
- startTime: string;
67
- endTime: string;
68
65
  createdAt: string;
69
66
  id: string & z.BRAND<"RegionalAdId">;
70
- imageUrl: string;
71
- isEnabled: boolean;
72
67
  link: string | null;
73
- title: string;
74
- }, {
75
- regions: import('../../shared').Region[];
68
+ regions: import("../../shared").Region[];
76
69
  startTime: string;
70
+ title: string;
71
+ imageUrl: string;
77
72
  endTime: string;
73
+ isEnabled: boolean;
74
+ }, {
78
75
  createdAt: string;
79
76
  id: string;
80
- imageUrl: string;
81
- isEnabled: boolean;
82
77
  link: string | null;
78
+ regions: import("../../shared").Region[];
79
+ startTime: string;
83
80
  title: string;
81
+ imageUrl: string;
82
+ endTime: string;
83
+ isEnabled: boolean;
84
84
  }>;
85
85
  export declare const UpdateRegionalAdDTOSchema: z.ZodObject<Omit<{
86
86
  createdAt: z.ZodString;
@@ -89,25 +89,25 @@ export declare const UpdateRegionalAdDTOSchema: z.ZodObject<Omit<{
89
89
  imageUrl: z.ZodString;
90
90
  isEnabled: z.ZodBoolean;
91
91
  link: z.ZodNullable<z.ZodString>;
92
- regions: z.ZodArray<z.ZodNativeEnum<typeof import('../../shared').Region>, "many">;
92
+ regions: z.ZodArray<z.ZodNativeEnum<typeof import("../../shared").Region>, "many">;
93
93
  startTime: z.ZodString;
94
94
  title: z.ZodString;
95
95
  }, "createdAt" | "id">, "strip", z.ZodTypeAny, {
96
- regions: import('../../shared').Region[];
96
+ link: string | null;
97
+ regions: import("../../shared").Region[];
97
98
  startTime: string;
98
- endTime: string;
99
+ title: string;
99
100
  imageUrl: string;
101
+ endTime: string;
100
102
  isEnabled: boolean;
101
- link: string | null;
102
- title: string;
103
103
  }, {
104
- regions: import('../../shared').Region[];
104
+ link: string | null;
105
+ regions: import("../../shared").Region[];
105
106
  startTime: string;
106
- endTime: string;
107
+ title: string;
107
108
  imageUrl: string;
109
+ endTime: string;
108
110
  isEnabled: boolean;
109
- link: string | null;
110
- title: string;
111
111
  }>;
112
112
  export type MainAdDTO = z.infer<typeof MainAdDTOSchema>;
113
113
  export type UpdateMainAdDTO = z.infer<typeof UpdateMainAdDTOSchema>;
@@ -50,23 +50,18 @@ 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
- regions: import("../../shared").Region[];
62
- category: import("../../shared").Category;
63
- startTime: string;
64
- createdAt: string;
65
- id: string & z.BRAND<"EventId">;
66
- link: string | null;
67
- title: string;
68
61
  adress: string;
69
62
  capacity: number | null;
63
+ category: import("../../shared").Category;
64
+ createdAt: string;
70
65
  description: string;
71
66
  externalSourceId: string | null;
72
67
  finishTime: string | null;
@@ -75,6 +70,7 @@ export declare const EventDTOSchema: z.ZodObject<{
75
70
  longitude: number;
76
71
  };
77
72
  hasHandicapAccess: boolean | null;
73
+ id: string & z.BRAND<"EventId">;
78
74
  imageBlurHashes: string[];
79
75
  imageUrls: string[];
80
76
  isDisplayed: boolean;
@@ -82,25 +78,24 @@ export declare const EventDTOSchema: z.ZodObject<{
82
78
  isOldTimes: boolean;
83
79
  isPriceRange: boolean;
84
80
  isPromoted: boolean;
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
- regions: import("../../shared").Region[];
96
- category: import("../../shared").Category;
97
- startTime: string;
98
- createdAt: string;
99
- id: string;
100
- link: string | null;
101
- title: string;
102
95
  adress: string;
103
96
  capacity: number | null;
97
+ category: import("../../shared").Category;
98
+ createdAt: string;
104
99
  description: string;
105
100
  externalSourceId: string | null;
106
101
  finishTime: string | null;
@@ -109,6 +104,7 @@ export declare const EventDTOSchema: z.ZodObject<{
109
104
  longitude: number;
110
105
  };
111
106
  hasHandicapAccess: boolean | null;
107
+ id: string;
112
108
  imageBlurHashes: string[];
113
109
  imageUrls: string[];
114
110
  isDisplayed: boolean;
@@ -116,14 +112,18 @@ export declare const EventDTOSchema: z.ZodObject<{
116
112
  isOldTimes: boolean;
117
113
  isPriceRange: boolean;
118
114
  isPromoted: boolean;
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,52 +151,52 @@ export declare const CreateEventDTOSchema: z.ZodObject<{
151
151
  title: z.ZodString;
152
152
  ticketsUrl: z.ZodNullable<z.ZodString>;
153
153
  }, "strip", z.ZodTypeAny, {
154
- regions: import("../../shared").Region[];
155
- category: import("../../shared").Category;
156
- startTime: string;
157
- id: string & z.BRAND<"EventId">;
158
- link: string | null;
159
- title: string;
160
154
  adress: string;
161
155
  capacity: number | null;
156
+ category: import("../../shared").Category;
162
157
  description: string;
163
158
  externalSourceId: string | null;
164
159
  finishTime: string | null;
165
160
  hasHandicapAccess: boolean | null;
161
+ id: string & z.BRAND<"EventId">;
166
162
  imageBlurHashes: string[];
167
163
  imageUrls: string[];
168
164
  isDisplayed: boolean;
169
165
  isExhibition: boolean;
170
166
  isOldTimes: boolean;
171
167
  isPriceRange: boolean;
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
- regions: import("../../shared").Region[];
179
- category: import("../../shared").Category;
180
- startTime: string;
181
- id: string;
182
- link: string | null;
183
- title: string;
184
178
  adress: string;
185
179
  capacity: number | null;
180
+ category: import("../../shared").Category;
186
181
  description: string;
187
182
  externalSourceId: string | null;
188
183
  finishTime: string | null;
189
184
  hasHandicapAccess: boolean | null;
185
+ id: string;
190
186
  imageBlurHashes: string[];
191
187
  imageUrls: string[];
192
188
  isDisplayed: boolean;
193
189
  isExhibition: boolean;
194
190
  isOldTimes: boolean;
195
191
  isPriceRange: boolean;
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,13 +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
- regions: import("../../shared").Region[];
228
- category: import("../../shared").Category;
229
- startTime: string;
230
- link: string | null;
231
- title: string;
232
227
  adress: string;
233
228
  capacity: number | null;
229
+ category: import("../../shared").Category;
234
230
  description: string;
235
231
  externalSourceId: string | null;
236
232
  finishTime: string | null;
@@ -241,19 +237,19 @@ export declare const UpdateEventDTOSchema: z.ZodObject<Omit<{
241
237
  isExhibition: boolean;
242
238
  isOldTimes: boolean;
243
239
  isPriceRange: boolean;
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
- regions: import("../../shared").Region[];
251
- category: import("../../shared").Category;
252
- startTime: string;
253
- link: string | null;
254
- title: string;
255
250
  adress: string;
256
251
  capacity: number | null;
252
+ category: import("../../shared").Category;
257
253
  description: string;
258
254
  externalSourceId: string | null;
259
255
  finishTime: string | null;
@@ -264,10 +260,14 @@ export declare const UpdateEventDTOSchema: z.ZodObject<Omit<{
264
260
  isExhibition: boolean;
265
261
  isOldTimes: boolean;
266
262
  isPriceRange: boolean;
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,23 +348,18 @@ 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
- regions?: import("../../shared").Region[] | undefined;
360
- category?: import("../../shared").Category | undefined;
361
- startTime?: string | undefined;
362
- createdAt?: string | undefined;
363
- id?: (string & z.BRAND<"EventId">) | undefined;
364
- link?: string | null | undefined;
365
- title?: string | undefined;
366
359
  adress?: string | undefined;
367
360
  capacity?: number | null | undefined;
361
+ category?: import("../../shared").Category | undefined;
362
+ createdAt?: string | undefined;
368
363
  description?: string | undefined;
369
364
  externalSourceId?: string | null | undefined;
370
365
  finishTime?: string | null | undefined;
@@ -373,6 +368,7 @@ export declare const ImportDTOSchema: z.ZodObject<{
373
368
  longitude: number;
374
369
  } | undefined;
375
370
  hasHandicapAccess?: boolean | null | undefined;
371
+ id?: (string & z.BRAND<"EventId">) | undefined;
376
372
  imageBlurHashes?: string[] | undefined;
377
373
  imageUrls?: string[] | undefined;
378
374
  isDisplayed?: boolean | undefined;
@@ -380,25 +376,24 @@ export declare const ImportDTOSchema: z.ZodObject<{
380
376
  isOldTimes?: boolean | undefined;
381
377
  isPriceRange?: boolean | undefined;
382
378
  isPromoted?: boolean | undefined;
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
- regions?: import("../../shared").Region[] | undefined;
394
- category?: import("../../shared").Category | undefined;
395
- startTime?: string | undefined;
396
- createdAt?: string | undefined;
397
- id?: string | undefined;
398
- link?: string | null | undefined;
399
- title?: string | undefined;
400
393
  adress?: string | undefined;
401
394
  capacity?: number | null | undefined;
395
+ category?: import("../../shared").Category | undefined;
396
+ createdAt?: string | undefined;
402
397
  description?: string | undefined;
403
398
  externalSourceId?: string | null | undefined;
404
399
  finishTime?: string | null | undefined;
@@ -407,6 +402,7 @@ export declare const ImportDTOSchema: z.ZodObject<{
407
402
  longitude: number;
408
403
  } | undefined;
409
404
  hasHandicapAccess?: boolean | null | undefined;
405
+ id?: string | undefined;
410
406
  imageBlurHashes?: string[] | undefined;
411
407
  imageUrls?: string[] | undefined;
412
408
  isDisplayed?: boolean | undefined;
@@ -414,33 +410,30 @@ export declare const ImportDTOSchema: z.ZodObject<{
414
410
  isOldTimes?: boolean | undefined;
415
411
  isPriceRange?: boolean | undefined;
416
412
  isPromoted?: boolean | undefined;
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
430
  createdAt: string;
432
431
  id: string;
433
- organizersNames: string[];
434
432
  partialEventState: {
435
- regions?: import("../../shared").Region[] | undefined;
436
- category?: import("../../shared").Category | undefined;
437
- startTime?: string | undefined;
438
- createdAt?: string | undefined;
439
- id?: (string & z.BRAND<"EventId">) | undefined;
440
- link?: string | null | undefined;
441
- title?: string | undefined;
442
433
  adress?: string | undefined;
443
434
  capacity?: number | null | undefined;
435
+ category?: import("../../shared").Category | undefined;
436
+ createdAt?: string | undefined;
444
437
  description?: string | undefined;
445
438
  externalSourceId?: string | null | undefined;
446
439
  finishTime?: string | null | undefined;
@@ -449,6 +442,7 @@ export declare const ImportDTOSchema: z.ZodObject<{
449
442
  longitude: number;
450
443
  } | undefined;
451
444
  hasHandicapAccess?: boolean | null | undefined;
445
+ id?: (string & z.BRAND<"EventId">) | undefined;
452
446
  imageBlurHashes?: string[] | undefined;
453
447
  imageUrls?: string[] | undefined;
454
448
  isDisplayed?: boolean | undefined;
@@ -456,32 +450,31 @@ export declare const ImportDTOSchema: z.ZodObject<{
456
450
  isOldTimes?: boolean | undefined;
457
451
  isPriceRange?: boolean | undefined;
458
452
  isPromoted?: boolean | undefined;
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
471
  createdAt: string;
473
472
  id: string;
474
- organizersNames: string[];
475
473
  partialEventState: {
476
- regions?: import("../../shared").Region[] | undefined;
477
- category?: import("../../shared").Category | undefined;
478
- startTime?: string | undefined;
479
- createdAt?: string | undefined;
480
- id?: string | undefined;
481
- link?: string | null | undefined;
482
- title?: string | undefined;
483
474
  adress?: string | undefined;
484
475
  capacity?: number | null | undefined;
476
+ category?: import("../../shared").Category | undefined;
477
+ createdAt?: string | undefined;
485
478
  description?: string | undefined;
486
479
  externalSourceId?: string | null | undefined;
487
480
  finishTime?: string | null | undefined;
@@ -490,6 +483,7 @@ export declare const ImportDTOSchema: z.ZodObject<{
490
483
  longitude: number;
491
484
  } | undefined;
492
485
  hasHandicapAccess?: boolean | null | undefined;
486
+ id?: string | undefined;
493
487
  imageBlurHashes?: string[] | undefined;
494
488
  imageUrls?: string[] | undefined;
495
489
  isDisplayed?: boolean | undefined;
@@ -497,16 +491,22 @@ export declare const ImportDTOSchema: z.ZodObject<{
497
491
  isOldTimes?: boolean | undefined;
498
492
  isPriceRange?: boolean | undefined;
499
493
  isPromoted?: boolean | undefined;
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
@@ -0,0 +1,50 @@
1
+ import { z } from 'zod';
2
+ export declare const ImportReminderDTOSchema: z.ZodObject<{
3
+ frequency: z.ZodNativeEnum<typeof import("../../shared").ImportReminderFrequency>;
4
+ id: z.ZodBranded<z.ZodString, "ImportReminderId">;
5
+ title: z.ZodString;
6
+ url: z.ZodString;
7
+ }, "strip", z.ZodTypeAny, {
8
+ id: string & z.BRAND<"ImportReminderId">;
9
+ title: string;
10
+ frequency: import("../../shared").ImportReminderFrequency;
11
+ url: string;
12
+ }, {
13
+ id: string;
14
+ title: string;
15
+ frequency: import("../../shared").ImportReminderFrequency;
16
+ url: string;
17
+ }>;
18
+ export declare const CreateImportReminderDTOSchema: z.ZodObject<{
19
+ frequency: z.ZodNativeEnum<typeof import("../../shared").ImportReminderFrequency>;
20
+ id: z.ZodBranded<z.ZodString, "ImportReminderId">;
21
+ title: z.ZodString;
22
+ url: z.ZodString;
23
+ }, "strip", z.ZodTypeAny, {
24
+ id: string & z.BRAND<"ImportReminderId">;
25
+ title: string;
26
+ frequency: import("../../shared").ImportReminderFrequency;
27
+ url: string;
28
+ }, {
29
+ id: string;
30
+ title: string;
31
+ frequency: import("../../shared").ImportReminderFrequency;
32
+ url: string;
33
+ }>;
34
+ export declare const UpdateImportReminderDTOSchema: z.ZodObject<{
35
+ title: z.ZodOptional<z.ZodString>;
36
+ frequency: z.ZodOptional<z.ZodNativeEnum<typeof import("../../shared").ImportReminderFrequency>>;
37
+ url: z.ZodOptional<z.ZodString>;
38
+ }, "strip", z.ZodTypeAny, {
39
+ title?: string | undefined;
40
+ frequency?: import("../../shared").ImportReminderFrequency | undefined;
41
+ url?: string | undefined;
42
+ }, {
43
+ title?: string | undefined;
44
+ frequency?: import("../../shared").ImportReminderFrequency | undefined;
45
+ url?: string | undefined;
46
+ }>;
47
+ export type ImportReminderDTO = z.infer<typeof ImportReminderDTOSchema>;
48
+ export type CreateImportReminderDTO = z.infer<typeof CreateImportReminderDTOSchema>;
49
+ export type UpdateImportReminderDTO = z.infer<typeof UpdateImportReminderDTOSchema>;
50
+ //# sourceMappingURL=import-reminder.d.ts.map
@@ -0,0 +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,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"}
@@ -2,6 +2,7 @@ export * from './ad';
2
2
  export * from './app-configuration';
3
3
  export * from './common';
4
4
  export * from './event';
5
+ export * from './import-reminder';
5
6
  export * from './organizer';
6
7
  export * from './statistics';
7
8
  export declare const constraints: {
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/V1/api/index.ts"],"names":[],"mappings":"AAAA,cAAc,MAAM,CAAC;AACrB,cAAc,qBAAqB,CAAC;AACpC,cAAc,UAAU,CAAC;AACzB,cAAc,SAAS,CAAC;AACxB,cAAc,aAAa,CAAC;AAC5B,cAAc,cAAc,CAAC;AAK7B,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;CAGvB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/V1/api/index.ts"],"names":[],"mappings":"AAAA,cAAc,MAAM,CAAC;AACrB,cAAc,qBAAqB,CAAC;AACpC,cAAc,UAAU,CAAC;AACzB,cAAc,SAAS,CAAC;AACxB,cAAc,mBAAmB,CAAC;AAClC,cAAc,aAAa,CAAC;AAC5B,cAAc,cAAc,CAAC;AAK7B,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;CAGvB,CAAC"}
@@ -6,13 +6,13 @@ export declare const OrganizerDTOSchema: z.ZodObject<{
6
6
  name: z.ZodString;
7
7
  }, "strip", z.ZodTypeAny, {
8
8
  id: string & z.BRAND<"OrganizerId">;
9
- imageUrl: string | null;
10
9
  name: string;
10
+ imageUrl: string | null;
11
11
  eventsIds: (string & z.BRAND<"EventId">)[];
12
12
  }, {
13
13
  id: string;
14
- imageUrl: string | null;
15
14
  name: string;
15
+ imageUrl: string | null;
16
16
  eventsIds: string[];
17
17
  }>;
18
18
  export declare const CreateOrganizerDTOSchema: z.ZodObject<{
@@ -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">;
@@ -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
- eventId: string & z.BRAND<"EventId">;
9
8
  count: number;
9
+ eventId: string & z.BRAND<"EventId">;
10
10
  eventTitle: string;
11
11
  }, {
12
- eventId: string;
13
12
  count: number;
13
+ eventId: string;
14
14
  eventTitle: string;
15
15
  }>;
16
16
  export declare const AdStatDTOSchema: z.ZodObject<{
@@ -71,12 +71,12 @@ export declare const GlobalStatsDTOSchema: z.ZodObject<{
71
71
  eventId: z.ZodBranded<z.ZodString, "EventId">;
72
72
  eventTitle: z.ZodString;
73
73
  }, "strip", z.ZodTypeAny, {
74
- eventId: string & z.BRAND<"EventId">;
75
74
  count: number;
75
+ eventId: string & z.BRAND<"EventId">;
76
76
  eventTitle: string;
77
77
  }, {
78
- eventId: string;
79
78
  count: number;
79
+ eventId: string;
80
80
  eventTitle: string;
81
81
  }>, "many">;
82
82
  topUpcomingAddedToFavoritesEvents: z.ZodArray<z.ZodObject<{
@@ -84,12 +84,12 @@ export declare const GlobalStatsDTOSchema: z.ZodObject<{
84
84
  eventId: z.ZodBranded<z.ZodString, "EventId">;
85
85
  eventTitle: z.ZodString;
86
86
  }, "strip", z.ZodTypeAny, {
87
- eventId: string & z.BRAND<"EventId">;
88
87
  count: number;
88
+ eventId: string & z.BRAND<"EventId">;
89
89
  eventTitle: string;
90
90
  }, {
91
- eventId: string;
92
91
  count: number;
92
+ eventId: string;
93
93
  eventTitle: string;
94
94
  }>, "many">;
95
95
  topUpcomingViewedEvents: z.ZodArray<z.ZodObject<{
@@ -97,12 +97,12 @@ export declare const GlobalStatsDTOSchema: z.ZodObject<{
97
97
  eventId: z.ZodBranded<z.ZodString, "EventId">;
98
98
  eventTitle: z.ZodString;
99
99
  }, "strip", z.ZodTypeAny, {
100
- eventId: string & z.BRAND<"EventId">;
101
100
  count: number;
101
+ eventId: string & z.BRAND<"EventId">;
102
102
  eventTitle: string;
103
103
  }, {
104
- eventId: string;
105
104
  count: number;
105
+ eventId: string;
106
106
  eventTitle: string;
107
107
  }>, "many">;
108
108
  topViewedEvents: z.ZodArray<z.ZodObject<{
@@ -110,12 +110,12 @@ export declare const GlobalStatsDTOSchema: z.ZodObject<{
110
110
  eventId: z.ZodBranded<z.ZodString, "EventId">;
111
111
  eventTitle: z.ZodString;
112
112
  }, "strip", z.ZodTypeAny, {
113
- eventId: string & z.BRAND<"EventId">;
114
113
  count: number;
114
+ eventId: string & z.BRAND<"EventId">;
115
115
  eventTitle: string;
116
116
  }, {
117
- eventId: string;
118
117
  count: number;
118
+ eventId: string;
119
119
  eventTitle: string;
120
120
  }>, "many">;
121
121
  totalAddedToCalendar: z.ZodNumber;
@@ -134,23 +134,23 @@ export declare const GlobalStatsDTOSchema: z.ZodObject<{
134
134
  presentOrFutureEventsCount: number;
135
135
  sharedEventsCount: number;
136
136
  topAddedToFavoritesEvents: {
137
- eventId: string & z.BRAND<"EventId">;
138
137
  count: number;
138
+ eventId: string & z.BRAND<"EventId">;
139
139
  eventTitle: string;
140
140
  }[];
141
141
  topUpcomingAddedToFavoritesEvents: {
142
- eventId: string & z.BRAND<"EventId">;
143
142
  count: number;
143
+ eventId: string & z.BRAND<"EventId">;
144
144
  eventTitle: string;
145
145
  }[];
146
146
  topUpcomingViewedEvents: {
147
- eventId: string & z.BRAND<"EventId">;
148
147
  count: number;
148
+ eventId: string & z.BRAND<"EventId">;
149
149
  eventTitle: string;
150
150
  }[];
151
151
  topViewedEvents: {
152
- eventId: string & z.BRAND<"EventId">;
153
152
  count: number;
153
+ eventId: string & z.BRAND<"EventId">;
154
154
  eventTitle: string;
155
155
  }[];
156
156
  totalAddedToCalendar: number;
@@ -169,23 +169,23 @@ export declare const GlobalStatsDTOSchema: z.ZodObject<{
169
169
  presentOrFutureEventsCount: number;
170
170
  sharedEventsCount: number;
171
171
  topAddedToFavoritesEvents: {
172
- eventId: string;
173
172
  count: number;
173
+ eventId: string;
174
174
  eventTitle: string;
175
175
  }[];
176
176
  topUpcomingAddedToFavoritesEvents: {
177
- eventId: string;
178
177
  count: number;
178
+ eventId: string;
179
179
  eventTitle: string;
180
180
  }[];
181
181
  topUpcomingViewedEvents: {
182
- eventId: string;
183
182
  count: number;
183
+ eventId: string;
184
184
  eventTitle: string;
185
185
  }[];
186
186
  topViewedEvents: {
187
- eventId: string;
188
187
  count: number;
188
+ eventId: string;
189
189
  eventTitle: string;
190
190
  }[];
191
191
  totalAddedToCalendar: number;
@@ -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;
@@ -550,55 +550,57 @@ 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
  }>]>;
576
576
  }, "strip", z.ZodTypeAny, {
577
577
  statistic: {
578
- type: "app-started";
578
+ type: "ad-pressed";
579
579
  data: {
580
580
  userId: string;
581
+ adId: string;
582
+ adTitle: string;
581
583
  };
582
584
  time: string;
583
585
  } | {
584
- type: "event-displayed";
586
+ type: "app-started";
585
587
  data: {
586
588
  userId: string;
587
- eventId: string;
588
589
  };
589
590
  time: string;
590
591
  } | {
591
- type: "organizer-displayed";
592
+ type: "category-filter-applied";
592
593
  data: {
594
+ category: import("../../shared").Category;
593
595
  userId: string;
594
- organizerId: string;
595
596
  };
596
597
  time: string;
597
598
  } | {
598
- type: "event-added-to-favorites";
599
+ type: "date-filter-applied";
599
600
  data: {
601
+ startTime: string;
600
602
  userId: string;
601
- eventId: string;
603
+ endTime: string;
602
604
  };
603
605
  time: string;
604
606
  } | {
@@ -609,14 +611,14 @@ export declare const SaveStatisticDTOSchema: z.ZodObject<{
609
611
  };
610
612
  time: string;
611
613
  } | {
612
- type: "event-shared";
614
+ type: "event-added-to-favorites";
613
615
  data: {
614
616
  userId: string;
615
617
  eventId: string;
616
618
  };
617
619
  time: string;
618
620
  } | {
619
- type: "event-tickets-clicked";
621
+ type: "event-displayed";
620
622
  data: {
621
623
  userId: string;
622
624
  eventId: string;
@@ -630,74 +632,74 @@ export declare const SaveStatisticDTOSchema: z.ZodObject<{
630
632
  };
631
633
  time: string;
632
634
  } | {
633
- type: "region-filter-applied";
635
+ type: "event-shared";
634
636
  data: {
635
637
  userId: string;
636
- regions: import("../../shared").Region[];
638
+ eventId: string;
637
639
  };
638
640
  time: string;
639
641
  } | {
640
- type: "free-filter-applied";
642
+ type: "event-tickets-clicked";
641
643
  data: {
642
644
  userId: string;
645
+ eventId: string;
643
646
  };
644
647
  time: string;
645
648
  } | {
646
- type: "category-filter-applied";
649
+ type: "free-filter-applied";
647
650
  data: {
648
651
  userId: string;
649
- category: import("../../shared").Category;
650
652
  };
651
653
  time: string;
652
654
  } | {
653
- type: "date-filter-applied";
655
+ type: "old-times-filter-applied";
654
656
  data: {
655
657
  userId: string;
656
- startTime: string;
657
- endTime: string;
658
658
  };
659
659
  time: string;
660
660
  } | {
661
- type: "old-times-filter-applied";
661
+ type: "organizer-displayed";
662
662
  data: {
663
663
  userId: string;
664
+ organizerId: string;
664
665
  };
665
666
  time: string;
666
667
  } | {
667
- type: "ad-pressed";
668
+ type: "region-filter-applied";
668
669
  data: {
670
+ regions: import("../../shared").Region[];
669
671
  userId: string;
670
- adId: string;
671
- adTitle: string;
672
672
  };
673
673
  time: string;
674
674
  };
675
675
  }, {
676
676
  statistic: {
677
- type: "app-started";
677
+ type: "ad-pressed";
678
678
  data: {
679
679
  userId: string;
680
+ adId: string;
681
+ adTitle: string;
680
682
  };
681
683
  time: string;
682
684
  } | {
683
- type: "event-displayed";
685
+ type: "app-started";
684
686
  data: {
685
687
  userId: string;
686
- eventId: string;
687
688
  };
688
689
  time: string;
689
690
  } | {
690
- type: "organizer-displayed";
691
+ type: "category-filter-applied";
691
692
  data: {
693
+ category: import("../../shared").Category;
692
694
  userId: string;
693
- organizerId: string;
694
695
  };
695
696
  time: string;
696
697
  } | {
697
- type: "event-added-to-favorites";
698
+ type: "date-filter-applied";
698
699
  data: {
700
+ startTime: string;
699
701
  userId: string;
700
- eventId: string;
702
+ endTime: string;
701
703
  };
702
704
  time: string;
703
705
  } | {
@@ -708,14 +710,14 @@ export declare const SaveStatisticDTOSchema: z.ZodObject<{
708
710
  };
709
711
  time: string;
710
712
  } | {
711
- type: "event-shared";
713
+ type: "event-added-to-favorites";
712
714
  data: {
713
715
  userId: string;
714
716
  eventId: string;
715
717
  };
716
718
  time: string;
717
719
  } | {
718
- type: "event-tickets-clicked";
720
+ type: "event-displayed";
719
721
  data: {
720
722
  userId: string;
721
723
  eventId: string;
@@ -729,45 +731,43 @@ export declare const SaveStatisticDTOSchema: z.ZodObject<{
729
731
  };
730
732
  time: string;
731
733
  } | {
732
- type: "region-filter-applied";
734
+ type: "event-shared";
733
735
  data: {
734
736
  userId: string;
735
- regions: import("../../shared").Region[];
737
+ eventId: string;
736
738
  };
737
739
  time: string;
738
740
  } | {
739
- type: "free-filter-applied";
741
+ type: "event-tickets-clicked";
740
742
  data: {
741
743
  userId: string;
744
+ eventId: string;
742
745
  };
743
746
  time: string;
744
747
  } | {
745
- type: "category-filter-applied";
748
+ type: "free-filter-applied";
746
749
  data: {
747
750
  userId: string;
748
- category: import("../../shared").Category;
749
751
  };
750
752
  time: string;
751
753
  } | {
752
- type: "date-filter-applied";
754
+ type: "old-times-filter-applied";
753
755
  data: {
754
756
  userId: string;
755
- startTime: string;
756
- endTime: string;
757
757
  };
758
758
  time: string;
759
759
  } | {
760
- type: "old-times-filter-applied";
760
+ type: "organizer-displayed";
761
761
  data: {
762
762
  userId: string;
763
+ organizerId: string;
763
764
  };
764
765
  time: string;
765
766
  } | {
766
- type: "ad-pressed";
767
+ type: "region-filter-applied";
767
768
  data: {
769
+ regions: import("../../shared").Region[];
768
770
  userId: string;
769
- adId: string;
770
- adTitle: string;
771
771
  };
772
772
  time: string;
773
773
  };
@@ -41,23 +41,18 @@ 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
- regions?: import("../../shared").Region[] | undefined;
53
- category?: import("../../shared").Category | undefined;
54
- startTime?: string | undefined;
55
- createdAt?: string | undefined;
56
- id?: (string & z.BRAND<"EventId">) | undefined;
57
- link?: string | null | undefined;
58
- title?: string | undefined;
59
52
  adress?: string | undefined;
60
53
  capacity?: number | null | undefined;
54
+ category?: import("../../shared").Category | undefined;
55
+ createdAt?: string | undefined;
61
56
  description?: string | undefined;
62
57
  externalSourceId?: string | null | undefined;
63
58
  finishTime?: string | null | undefined;
@@ -66,6 +61,7 @@ export declare const CreatePartialImportedEventDTOSchema: z.ZodObject<{
66
61
  longitude: number;
67
62
  } | undefined;
68
63
  hasHandicapAccess?: boolean | null | undefined;
64
+ id?: (string & z.BRAND<"EventId">) | undefined;
69
65
  imageBlurHashes?: string[] | undefined;
70
66
  imageUrls?: string[] | undefined;
71
67
  isDisplayed?: boolean | undefined;
@@ -73,25 +69,24 @@ export declare const CreatePartialImportedEventDTOSchema: z.ZodObject<{
73
69
  isOldTimes?: boolean | undefined;
74
70
  isPriceRange?: boolean | undefined;
75
71
  isPromoted?: boolean | undefined;
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
- regions?: import("../../shared").Region[] | undefined;
87
- category?: import("../../shared").Category | undefined;
88
- startTime?: string | undefined;
89
- createdAt?: string | undefined;
90
- id?: string | undefined;
91
- link?: string | null | undefined;
92
- title?: string | undefined;
93
86
  adress?: string | undefined;
94
87
  capacity?: number | null | undefined;
88
+ category?: import("../../shared").Category | undefined;
89
+ createdAt?: string | undefined;
95
90
  description?: string | undefined;
96
91
  externalSourceId?: string | null | undefined;
97
92
  finishTime?: string | null | undefined;
@@ -100,6 +95,7 @@ export declare const CreatePartialImportedEventDTOSchema: z.ZodObject<{
100
95
  longitude: number;
101
96
  } | undefined;
102
97
  hasHandicapAccess?: boolean | null | undefined;
98
+ id?: string | undefined;
103
99
  imageBlurHashes?: string[] | undefined;
104
100
  imageUrls?: string[] | undefined;
105
101
  isDisplayed?: boolean | undefined;
@@ -107,14 +103,18 @@ export declare const CreatePartialImportedEventDTOSchema: z.ZodObject<{
107
103
  isOldTimes?: boolean | undefined;
108
104
  isPriceRange?: boolean | undefined;
109
105
  isPromoted?: boolean | undefined;
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,18 +122,11 @@ 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
- regions?: import("../../shared").Region[] | undefined;
129
- category?: import("../../shared").Category | undefined;
130
- startTime?: string | undefined;
131
- createdAt?: string | undefined;
132
- id?: (string & z.BRAND<"EventId">) | undefined;
133
- link?: string | null | undefined;
134
- title?: string | undefined;
135
126
  adress?: string | undefined;
136
127
  capacity?: number | null | undefined;
128
+ category?: import("../../shared").Category | undefined;
129
+ createdAt?: string | undefined;
137
130
  description?: string | undefined;
138
131
  externalSourceId?: string | null | undefined;
139
132
  finishTime?: string | null | undefined;
@@ -142,6 +135,7 @@ export declare const CreatePartialImportedEventDTOSchema: z.ZodObject<{
142
135
  longitude: number;
143
136
  } | undefined;
144
137
  hasHandicapAccess?: boolean | null | undefined;
138
+ id?: (string & z.BRAND<"EventId">) | undefined;
145
139
  imageBlurHashes?: string[] | undefined;
146
140
  imageUrls?: string[] | undefined;
147
141
  isDisplayed?: boolean | undefined;
@@ -149,31 +143,30 @@ export declare const CreatePartialImportedEventDTOSchema: z.ZodObject<{
149
143
  isOldTimes?: boolean | undefined;
150
144
  isPriceRange?: boolean | undefined;
151
145
  isPromoted?: boolean | undefined;
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
- regions?: import("../../shared").Region[] | undefined;
169
- category?: import("../../shared").Category | undefined;
170
- startTime?: string | undefined;
171
- createdAt?: string | undefined;
172
- id?: string | undefined;
173
- link?: string | null | undefined;
174
- title?: string | undefined;
175
166
  adress?: string | undefined;
176
167
  capacity?: number | null | undefined;
168
+ category?: import("../../shared").Category | undefined;
169
+ createdAt?: string | undefined;
177
170
  description?: string | undefined;
178
171
  externalSourceId?: string | null | undefined;
179
172
  finishTime?: string | null | undefined;
@@ -182,6 +175,7 @@ export declare const CreatePartialImportedEventDTOSchema: z.ZodObject<{
182
175
  longitude: number;
183
176
  } | undefined;
184
177
  hasHandicapAccess?: boolean | null | undefined;
178
+ id?: string | undefined;
185
179
  imageBlurHashes?: string[] | undefined;
186
180
  imageUrls?: string[] | undefined;
187
181
  isDisplayed?: boolean | undefined;
@@ -189,18 +183,24 @@ export declare const CreatePartialImportedEventDTOSchema: z.ZodObject<{
189
183
  isOldTimes?: boolean | undefined;
190
184
  isPriceRange?: boolean | undefined;
191
185
  isPromoted?: boolean | undefined;
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
package/dist/flavors.d.ts CHANGED
@@ -14,4 +14,7 @@ export declare const createMainAdId: (id?: string) => MainAdId;
14
14
  export declare const RegionalAdIdSchema: z.ZodBranded<z.ZodString, "RegionalAdId">;
15
15
  export type RegionalAdId = z.infer<typeof RegionalAdIdSchema>;
16
16
  export declare const createRegionalAdId: (id?: string) => RegionalAdId;
17
+ export declare const ImportReminderIdSchema: z.ZodBranded<z.ZodString, "ImportReminderId">;
18
+ export type ImportReminderId = z.infer<typeof ImportReminderIdSchema>;
19
+ export declare const createImportReminderId: (id?: string) => ImportReminderId;
17
20
  //# sourceMappingURL=flavors.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"}
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.5",
3
+ "version": "0.2.7",
4
4
  "license": "UNLICENCED",
5
5
  "main": "dist/api-contracts.js",
6
6
  "module": "dist/api-contracts.mjs",