@sortipei/api-contracts 0.1.37 → 0.1.39

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -12,9 +12,10 @@ export declare const EventDTOSchema: z.ZodObject<{
12
12
  imageBlurHashes: z.ZodArray<z.ZodString, "many">;
13
13
  imageUrls: z.ZodArray<z.ZodString, "many">;
14
14
  isDisplayed: z.ZodBoolean;
15
+ isExhibition: z.ZodBoolean;
15
16
  isOldTimes: z.ZodBoolean;
16
- isPromoted: z.ZodBoolean;
17
17
  isPriceRange: z.ZodBoolean;
18
+ isPromoted: z.ZodBoolean;
18
19
  link: z.ZodNullable<z.ZodString>;
19
20
  price: z.ZodNullable<z.ZodNumber>;
20
21
  regions: z.ZodArray<z.ZodNativeEnum<typeof import("../../shared").Region>, "many">;
@@ -36,9 +37,11 @@ export declare const EventDTOSchema: z.ZodObject<{
36
37
  imageUrl: string | null;
37
38
  }>, "many">;
38
39
  }, "strip", z.ZodTypeAny, {
40
+ regions: import("../../shared").Region[];
41
+ category: import("../../shared").Category;
42
+ startTime: string;
39
43
  adress: string;
40
44
  capacity: number | null;
41
- category: import("../../shared").Category;
42
45
  createdAt: string;
43
46
  description: string;
44
47
  externalSourceId: string | null;
@@ -48,13 +51,12 @@ export declare const EventDTOSchema: z.ZodObject<{
48
51
  imageBlurHashes: string[];
49
52
  imageUrls: string[];
50
53
  isDisplayed: boolean;
54
+ isExhibition: boolean;
51
55
  isOldTimes: boolean;
52
- isPromoted: boolean;
53
56
  isPriceRange: boolean;
57
+ isPromoted: boolean;
54
58
  link: string | null;
55
59
  price: number | null;
56
- regions: import("../../shared").Region[];
57
- startTime: string;
58
60
  title: string;
59
61
  thumbnailUrl: string | null;
60
62
  ticketsUrl: string | null;
@@ -64,9 +66,11 @@ export declare const EventDTOSchema: z.ZodObject<{
64
66
  imageUrl: string | null;
65
67
  }[];
66
68
  }, {
69
+ regions: import("../../shared").Region[];
70
+ category: import("../../shared").Category;
71
+ startTime: string;
67
72
  adress: string;
68
73
  capacity: number | null;
69
- category: import("../../shared").Category;
70
74
  createdAt: string;
71
75
  description: string;
72
76
  externalSourceId: string | null;
@@ -76,13 +80,12 @@ export declare const EventDTOSchema: z.ZodObject<{
76
80
  imageBlurHashes: string[];
77
81
  imageUrls: string[];
78
82
  isDisplayed: boolean;
83
+ isExhibition: boolean;
79
84
  isOldTimes: boolean;
80
- isPromoted: boolean;
81
85
  isPriceRange: boolean;
86
+ isPromoted: boolean;
82
87
  link: string | null;
83
88
  price: number | null;
84
- regions: import("../../shared").Region[];
85
- startTime: string;
86
89
  title: string;
87
90
  thumbnailUrl: string | null;
88
91
  ticketsUrl: string | null;
@@ -104,6 +107,8 @@ export declare const CreateEventDTOSchema: z.ZodObject<{
104
107
  imageBlurHashes: z.ZodArray<z.ZodString, "many">;
105
108
  imageUrls: z.ZodArray<z.ZodString, "many">;
106
109
  isDisplayed: z.ZodBoolean;
110
+ isExhibition: z.ZodBoolean;
111
+ isOldTimes: z.ZodBoolean;
107
112
  isPriceRange: z.ZodBoolean;
108
113
  link: z.ZodNullable<z.ZodString>;
109
114
  organizersIds: z.ZodArray<z.ZodBranded<z.ZodString, "OrganizerId">, "many">;
@@ -114,9 +119,11 @@ export declare const CreateEventDTOSchema: z.ZodObject<{
114
119
  thumbnailUrl: z.ZodNullable<z.ZodString>;
115
120
  ticketsUrl: z.ZodNullable<z.ZodString>;
116
121
  }, "strip", z.ZodTypeAny, {
122
+ regions: import("../../shared").Region[];
123
+ category: import("../../shared").Category;
124
+ startTime: string;
117
125
  adress: string;
118
126
  capacity: number | null;
119
- category: import("../../shared").Category;
120
127
  description: string;
121
128
  externalSourceId: string | null;
122
129
  finishTime: string | null;
@@ -125,19 +132,21 @@ export declare const CreateEventDTOSchema: z.ZodObject<{
125
132
  imageBlurHashes: string[];
126
133
  imageUrls: string[];
127
134
  isDisplayed: boolean;
135
+ isExhibition: boolean;
136
+ isOldTimes: boolean;
128
137
  isPriceRange: boolean;
129
138
  link: string | null;
130
139
  price: number | null;
131
- regions: import("../../shared").Region[];
132
- startTime: string;
133
140
  title: string;
134
141
  thumbnailUrl: string | null;
135
142
  ticketsUrl: string | null;
136
143
  organizersIds: (string & z.BRAND<"OrganizerId">)[];
137
144
  }, {
145
+ regions: import("../../shared").Region[];
146
+ category: import("../../shared").Category;
147
+ startTime: string;
138
148
  adress: string;
139
149
  capacity: number | null;
140
- category: import("../../shared").Category;
141
150
  description: string;
142
151
  externalSourceId: string | null;
143
152
  finishTime: string | null;
@@ -146,11 +155,11 @@ export declare const CreateEventDTOSchema: z.ZodObject<{
146
155
  imageBlurHashes: string[];
147
156
  imageUrls: string[];
148
157
  isDisplayed: boolean;
158
+ isExhibition: boolean;
159
+ isOldTimes: boolean;
149
160
  isPriceRange: boolean;
150
161
  link: string | null;
151
162
  price: number | null;
152
- regions: import("../../shared").Region[];
153
- startTime: string;
154
163
  title: string;
155
164
  thumbnailUrl: string | null;
156
165
  ticketsUrl: string | null;
@@ -168,6 +177,8 @@ export declare const UpdateEventDTOSchema: z.ZodObject<Omit<{
168
177
  imageBlurHashes: z.ZodArray<z.ZodString, "many">;
169
178
  imageUrls: z.ZodArray<z.ZodString, "many">;
170
179
  isDisplayed: z.ZodBoolean;
180
+ isExhibition: z.ZodBoolean;
181
+ isOldTimes: z.ZodBoolean;
171
182
  isPriceRange: z.ZodBoolean;
172
183
  link: z.ZodNullable<z.ZodString>;
173
184
  organizersIds: z.ZodArray<z.ZodBranded<z.ZodString, "OrganizerId">, "many">;
@@ -178,9 +189,11 @@ export declare const UpdateEventDTOSchema: z.ZodObject<Omit<{
178
189
  thumbnailUrl: z.ZodNullable<z.ZodString>;
179
190
  ticketsUrl: z.ZodNullable<z.ZodString>;
180
191
  }, "id">, "strip", z.ZodTypeAny, {
192
+ regions: import("../../shared").Region[];
193
+ category: import("../../shared").Category;
194
+ startTime: string;
181
195
  adress: string;
182
196
  capacity: number | null;
183
- category: import("../../shared").Category;
184
197
  description: string;
185
198
  externalSourceId: string | null;
186
199
  finishTime: string | null;
@@ -188,19 +201,21 @@ export declare const UpdateEventDTOSchema: z.ZodObject<Omit<{
188
201
  imageBlurHashes: string[];
189
202
  imageUrls: string[];
190
203
  isDisplayed: boolean;
204
+ isExhibition: boolean;
205
+ isOldTimes: boolean;
191
206
  isPriceRange: boolean;
192
207
  link: string | null;
193
208
  price: number | null;
194
- regions: import("../../shared").Region[];
195
- startTime: string;
196
209
  title: string;
197
210
  thumbnailUrl: string | null;
198
211
  ticketsUrl: string | null;
199
212
  organizersIds: (string & z.BRAND<"OrganizerId">)[];
200
213
  }, {
214
+ regions: import("../../shared").Region[];
215
+ category: import("../../shared").Category;
216
+ startTime: string;
201
217
  adress: string;
202
218
  capacity: number | null;
203
- category: import("../../shared").Category;
204
219
  description: string;
205
220
  externalSourceId: string | null;
206
221
  finishTime: string | null;
@@ -208,11 +223,11 @@ export declare const UpdateEventDTOSchema: z.ZodObject<Omit<{
208
223
  imageBlurHashes: string[];
209
224
  imageUrls: string[];
210
225
  isDisplayed: boolean;
226
+ isExhibition: boolean;
227
+ isOldTimes: boolean;
211
228
  isPriceRange: boolean;
212
229
  link: string | null;
213
230
  price: number | null;
214
- regions: import("../../shared").Region[];
215
- startTime: string;
216
231
  title: string;
217
232
  thumbnailUrl: string | null;
218
233
  ticketsUrl: string | null;
@@ -268,9 +283,10 @@ export declare const ImportDTOSchema: z.ZodObject<{
268
283
  imageBlurHashes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
269
284
  imageUrls: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
270
285
  isDisplayed: z.ZodOptional<z.ZodBoolean>;
286
+ isExhibition: z.ZodOptional<z.ZodBoolean>;
271
287
  isOldTimes: z.ZodOptional<z.ZodBoolean>;
272
- isPromoted: z.ZodOptional<z.ZodBoolean>;
273
288
  isPriceRange: z.ZodOptional<z.ZodBoolean>;
289
+ isPromoted: z.ZodOptional<z.ZodBoolean>;
274
290
  link: z.ZodOptional<z.ZodNullable<z.ZodString>>;
275
291
  price: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
276
292
  regions: z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof import("../../shared").Region>, "many">>;
@@ -292,9 +308,11 @@ export declare const ImportDTOSchema: z.ZodObject<{
292
308
  imageUrl: string | null;
293
309
  }>, "many">>;
294
310
  }, "strip", z.ZodTypeAny, {
311
+ regions?: import("../../shared").Region[] | undefined;
312
+ category?: import("../../shared").Category | undefined;
313
+ startTime?: string | undefined;
295
314
  adress?: string | undefined;
296
315
  capacity?: number | null | undefined;
297
- category?: import("../../shared").Category | undefined;
298
316
  createdAt?: string | undefined;
299
317
  description?: string | undefined;
300
318
  externalSourceId?: string | null | undefined;
@@ -304,13 +322,12 @@ export declare const ImportDTOSchema: z.ZodObject<{
304
322
  imageBlurHashes?: string[] | undefined;
305
323
  imageUrls?: string[] | undefined;
306
324
  isDisplayed?: boolean | undefined;
325
+ isExhibition?: boolean | undefined;
307
326
  isOldTimes?: boolean | undefined;
308
- isPromoted?: boolean | undefined;
309
327
  isPriceRange?: boolean | undefined;
328
+ isPromoted?: boolean | undefined;
310
329
  link?: string | null | undefined;
311
330
  price?: number | null | undefined;
312
- regions?: import("../../shared").Region[] | undefined;
313
- startTime?: string | undefined;
314
331
  title?: string | undefined;
315
332
  thumbnailUrl?: string | null | undefined;
316
333
  ticketsUrl?: string | null | undefined;
@@ -320,9 +337,11 @@ export declare const ImportDTOSchema: z.ZodObject<{
320
337
  imageUrl: string | null;
321
338
  }[] | undefined;
322
339
  }, {
340
+ regions?: import("../../shared").Region[] | undefined;
341
+ category?: import("../../shared").Category | undefined;
342
+ startTime?: string | undefined;
323
343
  adress?: string | undefined;
324
344
  capacity?: number | null | undefined;
325
- category?: import("../../shared").Category | undefined;
326
345
  createdAt?: string | undefined;
327
346
  description?: string | undefined;
328
347
  externalSourceId?: string | null | undefined;
@@ -332,13 +351,12 @@ export declare const ImportDTOSchema: z.ZodObject<{
332
351
  imageBlurHashes?: string[] | undefined;
333
352
  imageUrls?: string[] | undefined;
334
353
  isDisplayed?: boolean | undefined;
354
+ isExhibition?: boolean | undefined;
335
355
  isOldTimes?: boolean | undefined;
336
- isPromoted?: boolean | undefined;
337
356
  isPriceRange?: boolean | undefined;
357
+ isPromoted?: boolean | undefined;
338
358
  link?: string | null | undefined;
339
359
  price?: number | null | undefined;
340
- regions?: import("../../shared").Region[] | undefined;
341
- startTime?: string | undefined;
342
360
  title?: string | undefined;
343
361
  thumbnailUrl?: string | null | undefined;
344
362
  ticketsUrl?: string | null | undefined;
@@ -351,13 +369,16 @@ export declare const ImportDTOSchema: z.ZodObject<{
351
369
  source: z.ZodUnion<[z.ZodLiteral<"facebook">, z.ZodLiteral<"website">]>;
352
370
  userId: z.ZodString;
353
371
  }, "strip", z.ZodTypeAny, {
372
+ userId: string;
354
373
  createdAt: string;
355
374
  id: string;
356
375
  organizersNames: string[];
357
376
  partialEventState: {
377
+ regions?: import("../../shared").Region[] | undefined;
378
+ category?: import("../../shared").Category | undefined;
379
+ startTime?: string | undefined;
358
380
  adress?: string | undefined;
359
381
  capacity?: number | null | undefined;
360
- category?: import("../../shared").Category | undefined;
361
382
  createdAt?: string | undefined;
362
383
  description?: string | undefined;
363
384
  externalSourceId?: string | null | undefined;
@@ -367,13 +388,12 @@ export declare const ImportDTOSchema: z.ZodObject<{
367
388
  imageBlurHashes?: string[] | undefined;
368
389
  imageUrls?: string[] | undefined;
369
390
  isDisplayed?: boolean | undefined;
391
+ isExhibition?: boolean | undefined;
370
392
  isOldTimes?: boolean | undefined;
371
- isPromoted?: boolean | undefined;
372
393
  isPriceRange?: boolean | undefined;
394
+ isPromoted?: boolean | undefined;
373
395
  link?: string | null | undefined;
374
396
  price?: number | null | undefined;
375
- regions?: import("../../shared").Region[] | undefined;
376
- startTime?: string | undefined;
377
397
  title?: string | undefined;
378
398
  thumbnailUrl?: string | null | undefined;
379
399
  ticketsUrl?: string | null | undefined;
@@ -384,15 +404,17 @@ export declare const ImportDTOSchema: z.ZodObject<{
384
404
  }[] | undefined;
385
405
  };
386
406
  source: "facebook" | "website";
387
- userId: string;
388
407
  }, {
408
+ userId: string;
389
409
  createdAt: string;
390
410
  id: string;
391
411
  organizersNames: string[];
392
412
  partialEventState: {
413
+ regions?: import("../../shared").Region[] | undefined;
414
+ category?: import("../../shared").Category | undefined;
415
+ startTime?: string | undefined;
393
416
  adress?: string | undefined;
394
417
  capacity?: number | null | undefined;
395
- category?: import("../../shared").Category | undefined;
396
418
  createdAt?: string | undefined;
397
419
  description?: string | undefined;
398
420
  externalSourceId?: string | null | undefined;
@@ -402,13 +424,12 @@ export declare const ImportDTOSchema: z.ZodObject<{
402
424
  imageBlurHashes?: string[] | undefined;
403
425
  imageUrls?: string[] | undefined;
404
426
  isDisplayed?: boolean | undefined;
427
+ isExhibition?: boolean | undefined;
405
428
  isOldTimes?: boolean | undefined;
406
- isPromoted?: boolean | undefined;
407
429
  isPriceRange?: boolean | undefined;
430
+ isPromoted?: boolean | undefined;
408
431
  link?: string | null | undefined;
409
432
  price?: number | null | undefined;
410
- regions?: import("../../shared").Region[] | undefined;
411
- startTime?: string | undefined;
412
433
  title?: string | undefined;
413
434
  thumbnailUrl?: string | null | undefined;
414
435
  ticketsUrl?: string | null | undefined;
@@ -419,7 +440,6 @@ export declare const ImportDTOSchema: z.ZodObject<{
419
440
  }[] | undefined;
420
441
  };
421
442
  source: "facebook" | "website";
422
- userId: string;
423
443
  }>;
424
444
  export type ImportDTO = z.infer<typeof ImportDTOSchema>;
425
445
  export declare const EventFileUploadDTOSchema: z.ZodObject<{
@@ -1 +1 @@
1
- {"version":3,"file":"event.d.ts","sourceRoot":"","sources":["../../../src/V1/api/event.ts"],"names":[],"mappings":"AASA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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WAAW;;;;;;;;;;;;;CAavB,CAAC;AAEF,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAO1B,CAAC;AAEH,MAAM,MAAM,SAAS,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,eAAe,CAAC,CAAC;AAExD,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAGnC,CAAC;AAEH,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,wBAAwB,CAAC,CAAC;AAE1E,eAAO,MAAM,sBAAsB;;;;;;EAEjC,CAAC;AAEH,MAAM,MAAM,gBAAgB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,sBAAsB,CAAC,CAAC"}
@@ -160,14 +160,14 @@ export declare const SaveStatisticDTOSchema: z.ZodObject<{
160
160
  time: string;
161
161
  }>, z.ZodObject<{
162
162
  data: z.ZodObject<{
163
- category: z.ZodNativeEnum<typeof import('../../shared').Category>;
163
+ category: z.ZodNativeEnum<typeof import("../../shared").Category>;
164
164
  userId: z.ZodString;
165
165
  }, "strip", z.ZodTypeAny, {
166
166
  userId: string;
167
- category: import('../../shared').Category;
167
+ category: import("../../shared").Category;
168
168
  }, {
169
169
  userId: string;
170
- category: import('../../shared').Category;
170
+ category: import("../../shared").Category;
171
171
  }>;
172
172
  time: z.ZodString;
173
173
  type: z.ZodLiteral<"category-filter-applied">;
@@ -175,14 +175,14 @@ export declare const SaveStatisticDTOSchema: z.ZodObject<{
175
175
  type: "category-filter-applied";
176
176
  data: {
177
177
  userId: string;
178
- category: import('../../shared').Category;
178
+ category: import("../../shared").Category;
179
179
  };
180
180
  time: string;
181
181
  }, {
182
182
  type: "category-filter-applied";
183
183
  data: {
184
184
  userId: string;
185
- category: import('../../shared').Category;
185
+ category: import("../../shared").Category;
186
186
  };
187
187
  time: string;
188
188
  }>, z.ZodObject<{
@@ -337,16 +337,16 @@ export declare const SaveStatisticDTOSchema: z.ZodObject<{
337
337
  eventId: string;
338
338
  }>;
339
339
  time: z.ZodString;
340
- type: z.ZodLiteral<"event-tickets-clicked">;
340
+ type: z.ZodLiteral<"event-shared">;
341
341
  }, "strip", z.ZodTypeAny, {
342
- type: "event-tickets-clicked";
342
+ type: "event-shared";
343
343
  data: {
344
344
  userId: string;
345
345
  eventId: string;
346
346
  };
347
347
  time: string;
348
348
  }, {
349
- type: "event-tickets-clicked";
349
+ type: "event-shared";
350
350
  data: {
351
351
  userId: string;
352
352
  eventId: string;
@@ -364,16 +364,16 @@ export declare const SaveStatisticDTOSchema: z.ZodObject<{
364
364
  eventId: string;
365
365
  }>;
366
366
  time: z.ZodString;
367
- type: z.ZodLiteral<"event-shared">;
367
+ type: z.ZodLiteral<"event-tickets-clicked">;
368
368
  }, "strip", z.ZodTypeAny, {
369
- type: "event-shared";
369
+ type: "event-tickets-clicked";
370
370
  data: {
371
371
  userId: string;
372
372
  eventId: string;
373
373
  };
374
374
  time: string;
375
375
  }, {
376
- type: "event-shared";
376
+ type: "event-tickets-clicked";
377
377
  data: {
378
378
  userId: string;
379
379
  eventId: string;
@@ -401,6 +401,28 @@ export declare const SaveStatisticDTOSchema: z.ZodObject<{
401
401
  userId: string;
402
402
  };
403
403
  time: string;
404
+ }>, z.ZodObject<{
405
+ data: z.ZodObject<{
406
+ userId: z.ZodString;
407
+ }, "strip", z.ZodTypeAny, {
408
+ userId: string;
409
+ }, {
410
+ userId: string;
411
+ }>;
412
+ time: z.ZodString;
413
+ type: z.ZodLiteral<"old-times-filter-applied">;
414
+ }, "strip", z.ZodTypeAny, {
415
+ type: "old-times-filter-applied";
416
+ data: {
417
+ userId: string;
418
+ };
419
+ time: string;
420
+ }, {
421
+ type: "old-times-filter-applied";
422
+ data: {
423
+ userId: string;
424
+ };
425
+ time: string;
404
426
  }>, z.ZodObject<{
405
427
  data: z.ZodObject<{
406
428
  userId: z.ZodString;
@@ -430,14 +452,14 @@ export declare const SaveStatisticDTOSchema: z.ZodObject<{
430
452
  time: string;
431
453
  }>, z.ZodObject<{
432
454
  data: z.ZodObject<{
433
- regions: z.ZodArray<z.ZodNativeEnum<typeof import('../../shared').Region>, "many">;
455
+ regions: z.ZodArray<z.ZodNativeEnum<typeof import("../../shared").Region>, "many">;
434
456
  userId: z.ZodString;
435
457
  }, "strip", z.ZodTypeAny, {
436
458
  userId: string;
437
- regions: import('../../shared').Region[];
459
+ regions: import("../../shared").Region[];
438
460
  }, {
439
461
  userId: string;
440
- regions: import('../../shared').Region[];
462
+ regions: import("../../shared").Region[];
441
463
  }>;
442
464
  time: z.ZodString;
443
465
  type: z.ZodLiteral<"region-filter-applied">;
@@ -445,14 +467,14 @@ export declare const SaveStatisticDTOSchema: z.ZodObject<{
445
467
  type: "region-filter-applied";
446
468
  data: {
447
469
  userId: string;
448
- regions: import('../../shared').Region[];
470
+ regions: import("../../shared").Region[];
449
471
  };
450
472
  time: string;
451
473
  }, {
452
474
  type: "region-filter-applied";
453
475
  data: {
454
476
  userId: string;
455
- regions: import('../../shared').Region[];
477
+ regions: import("../../shared").Region[];
456
478
  };
457
479
  time: string;
458
480
  }>]>;
@@ -516,7 +538,7 @@ export declare const SaveStatisticDTOSchema: z.ZodObject<{
516
538
  type: "region-filter-applied";
517
539
  data: {
518
540
  userId: string;
519
- regions: import('../../shared').Region[];
541
+ regions: import("../../shared").Region[];
520
542
  };
521
543
  time: string;
522
544
  } | {
@@ -529,7 +551,7 @@ export declare const SaveStatisticDTOSchema: z.ZodObject<{
529
551
  type: "category-filter-applied";
530
552
  data: {
531
553
  userId: string;
532
- category: import('../../shared').Category;
554
+ category: import("../../shared").Category;
533
555
  };
534
556
  time: string;
535
557
  } | {
@@ -540,6 +562,12 @@ export declare const SaveStatisticDTOSchema: z.ZodObject<{
540
562
  endTime: string;
541
563
  };
542
564
  time: string;
565
+ } | {
566
+ type: "old-times-filter-applied";
567
+ data: {
568
+ userId: string;
569
+ };
570
+ time: string;
543
571
  };
544
572
  }, {
545
573
  statistic: {
@@ -601,7 +629,7 @@ export declare const SaveStatisticDTOSchema: z.ZodObject<{
601
629
  type: "region-filter-applied";
602
630
  data: {
603
631
  userId: string;
604
- regions: import('../../shared').Region[];
632
+ regions: import("../../shared").Region[];
605
633
  };
606
634
  time: string;
607
635
  } | {
@@ -614,7 +642,7 @@ export declare const SaveStatisticDTOSchema: z.ZodObject<{
614
642
  type: "category-filter-applied";
615
643
  data: {
616
644
  userId: string;
617
- category: import('../../shared').Category;
645
+ category: import("../../shared").Category;
618
646
  };
619
647
  time: string;
620
648
  } | {
@@ -625,6 +653,12 @@ export declare const SaveStatisticDTOSchema: z.ZodObject<{
625
653
  endTime: string;
626
654
  };
627
655
  time: string;
656
+ } | {
657
+ type: "old-times-filter-applied";
658
+ data: {
659
+ userId: string;
660
+ };
661
+ time: string;
628
662
  };
629
663
  }>;
630
664
  export type SaveStatisticDTO = z.infer<typeof SaveStatisticDTOSchema>;
@@ -1 +1 @@
1
- {"version":3,"file":"statistics.d.ts","sourceRoot":"","sources":["../../../src/V1/api/statistics.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,eAAe,EAAgB,MAAM,cAAc,CAAC;AAG7D,eAAO,MAAM,iBAAiB;;;;;;;;;;;;EAI5B,CAAC;AAEH,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAa/B,CAAC;AAEH,MAAM,MAAM,WAAW,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,i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15
  isDisplayed: z.ZodOptional<z.ZodBoolean>;
16
+ isExhibition: z.ZodOptional<z.ZodBoolean>;
16
17
  isOldTimes: z.ZodOptional<z.ZodBoolean>;
17
- isPromoted: z.ZodOptional<z.ZodBoolean>;
18
18
  isPriceRange: z.ZodOptional<z.ZodBoolean>;
19
+ isPromoted: z.ZodOptional<z.ZodBoolean>;
19
20
  link: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20
21
  price: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
21
22
  regions: z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof import("../../shared").Region>, "many">>;
@@ -37,9 +38,11 @@ export declare const CreatePartialImportedEventDTOSchema: z.ZodObject<{
37
38
  imageUrl: string | null;
38
39
  }>, "many">>;
39
40
  }, "strip", z.ZodTypeAny, {
41
+ regions?: import("../../shared").Region[] | undefined;
42
+ category?: import("../../shared").Category | undefined;
43
+ startTime?: string | undefined;
40
44
  adress?: string | undefined;
41
45
  capacity?: number | null | undefined;
42
- category?: import("../../shared").Category | undefined;
43
46
  createdAt?: string | undefined;
44
47
  description?: string | undefined;
45
48
  externalSourceId?: string | null | undefined;
@@ -49,13 +52,12 @@ export declare const CreatePartialImportedEventDTOSchema: z.ZodObject<{
49
52
  imageBlurHashes?: string[] | undefined;
50
53
  imageUrls?: string[] | undefined;
51
54
  isDisplayed?: boolean | undefined;
55
+ isExhibition?: boolean | undefined;
52
56
  isOldTimes?: boolean | undefined;
53
- isPromoted?: boolean | undefined;
54
57
  isPriceRange?: boolean | undefined;
58
+ isPromoted?: boolean | undefined;
55
59
  link?: string | null | undefined;
56
60
  price?: number | null | undefined;
57
- regions?: import("../../shared").Region[] | undefined;
58
- startTime?: string | undefined;
59
61
  title?: string | undefined;
60
62
  thumbnailUrl?: string | null | undefined;
61
63
  ticketsUrl?: string | null | undefined;
@@ -65,9 +67,11 @@ export declare const CreatePartialImportedEventDTOSchema: z.ZodObject<{
65
67
  imageUrl: string | null;
66
68
  }[] | undefined;
67
69
  }, {
70
+ regions?: import("../../shared").Region[] | undefined;
71
+ category?: import("../../shared").Category | undefined;
72
+ startTime?: string | undefined;
68
73
  adress?: string | undefined;
69
74
  capacity?: number | null | undefined;
70
- category?: import("../../shared").Category | undefined;
71
75
  createdAt?: string | undefined;
72
76
  description?: string | undefined;
73
77
  externalSourceId?: string | null | undefined;
@@ -77,13 +81,12 @@ export declare const CreatePartialImportedEventDTOSchema: z.ZodObject<{
77
81
  imageBlurHashes?: string[] | undefined;
78
82
  imageUrls?: string[] | undefined;
79
83
  isDisplayed?: boolean | undefined;
84
+ isExhibition?: boolean | undefined;
80
85
  isOldTimes?: boolean | undefined;
81
- isPromoted?: boolean | undefined;
82
86
  isPriceRange?: boolean | undefined;
87
+ isPromoted?: boolean | undefined;
83
88
  link?: string | null | undefined;
84
89
  price?: number | null | undefined;
85
- regions?: import("../../shared").Region[] | undefined;
86
- startTime?: string | undefined;
87
90
  title?: string | undefined;
88
91
  thumbnailUrl?: string | null | undefined;
89
92
  ticketsUrl?: string | null | undefined;
@@ -98,11 +101,14 @@ export declare const CreatePartialImportedEventDTOSchema: z.ZodObject<{
98
101
  organizersNames: z.ZodArray<z.ZodString, "many">;
99
102
  source: z.ZodUnion<[z.ZodLiteral<"facebook">, z.ZodLiteral<"website">]>;
100
103
  }, "strip", z.ZodTypeAny, {
104
+ userId: string;
101
105
  organizersNames: string[];
102
106
  partialEventState: {
107
+ regions?: import("../../shared").Region[] | undefined;
108
+ category?: import("../../shared").Category | undefined;
109
+ startTime?: string | undefined;
103
110
  adress?: string | undefined;
104
111
  capacity?: number | null | undefined;
105
- category?: import("../../shared").Category | undefined;
106
112
  createdAt?: string | undefined;
107
113
  description?: string | undefined;
108
114
  externalSourceId?: string | null | undefined;
@@ -112,13 +118,12 @@ export declare const CreatePartialImportedEventDTOSchema: z.ZodObject<{
112
118
  imageBlurHashes?: string[] | undefined;
113
119
  imageUrls?: string[] | undefined;
114
120
  isDisplayed?: boolean | undefined;
121
+ isExhibition?: boolean | undefined;
115
122
  isOldTimes?: boolean | undefined;
116
- isPromoted?: boolean | undefined;
117
123
  isPriceRange?: boolean | undefined;
124
+ isPromoted?: boolean | undefined;
118
125
  link?: string | null | undefined;
119
126
  price?: number | null | undefined;
120
- regions?: import("../../shared").Region[] | undefined;
121
- startTime?: string | undefined;
122
127
  title?: string | undefined;
123
128
  thumbnailUrl?: string | null | undefined;
124
129
  ticketsUrl?: string | null | undefined;
@@ -129,14 +134,16 @@ export declare const CreatePartialImportedEventDTOSchema: z.ZodObject<{
129
134
  }[] | undefined;
130
135
  };
131
136
  source: "facebook" | "website";
132
- userId: string;
133
137
  token: string;
134
138
  }, {
139
+ userId: string;
135
140
  organizersNames: string[];
136
141
  partialEventState: {
142
+ regions?: import("../../shared").Region[] | undefined;
143
+ category?: import("../../shared").Category | undefined;
144
+ startTime?: string | undefined;
137
145
  adress?: string | undefined;
138
146
  capacity?: number | null | undefined;
139
- category?: import("../../shared").Category | undefined;
140
147
  createdAt?: string | undefined;
141
148
  description?: string | undefined;
142
149
  externalSourceId?: string | null | undefined;
@@ -146,13 +153,12 @@ export declare const CreatePartialImportedEventDTOSchema: z.ZodObject<{
146
153
  imageBlurHashes?: string[] | undefined;
147
154
  imageUrls?: string[] | undefined;
148
155
  isDisplayed?: boolean | undefined;
156
+ isExhibition?: boolean | undefined;
149
157
  isOldTimes?: boolean | undefined;
150
- isPromoted?: boolean | undefined;
151
158
  isPriceRange?: boolean | undefined;
159
+ isPromoted?: boolean | undefined;
152
160
  link?: string | null | undefined;
153
161
  price?: number | null | undefined;
154
- regions?: import("../../shared").Region[] | undefined;
155
- startTime?: string | undefined;
156
162
  title?: string | undefined;
157
163
  thumbnailUrl?: string | null | undefined;
158
164
  ticketsUrl?: string | null | undefined;
@@ -163,7 +169,6 @@ export declare const CreatePartialImportedEventDTOSchema: z.ZodObject<{
163
169
  }[] | undefined;
164
170
  };
165
171
  source: "facebook" | "website";
166
- userId: string;
167
172
  token: string;
168
173
  }>;
169
174
  export type CreatePartialImportedEventDTO = z.infer<typeof CreatePartialImportedEventDTOSchema>;
@@ -1 +1 @@
1
- {"version":3,"file":"partial-imported-event.d.ts","sourceRoot":"","sources":["../../../src/V1/external/partial-imported-event.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,eAAO,MAAM,mCAAmC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAM9C,CAAC;AAEH,MAAM,MAAM,6BAA6B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mCAAmC,CAAC,CAAC"}
1
+ {"version":3,"file":"partial-imported-event.d.ts","sourceRoot":"","sources":["../../../src/V1/external/partial-imported-event.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,eAAO,MAAM,mCAAmC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAM9C,CAAC;AAEH,MAAM,MAAM,6BAA6B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mCAAmC,CAAC,CAAC"}
@@ -220,14 +220,14 @@ export declare const EventSeeMoreClickedStatisticsSchema: z.ZodObject<{
220
220
  }>;
221
221
  export declare const RegionFilterAppliedStatisticSchema: z.ZodObject<{
222
222
  data: z.ZodObject<{
223
- regions: z.ZodArray<z.ZodNativeEnum<typeof import('./event').Region>, "many">;
223
+ regions: z.ZodArray<z.ZodNativeEnum<typeof import("./event").Region>, "many">;
224
224
  userId: z.ZodString;
225
225
  }, "strip", z.ZodTypeAny, {
226
226
  userId: string;
227
- regions: import('./event').Region[];
227
+ regions: import("./event").Region[];
228
228
  }, {
229
229
  userId: string;
230
- regions: import('./event').Region[];
230
+ regions: import("./event").Region[];
231
231
  }>;
232
232
  time: z.ZodString;
233
233
  type: z.ZodLiteral<"region-filter-applied">;
@@ -235,14 +235,14 @@ export declare const RegionFilterAppliedStatisticSchema: z.ZodObject<{
235
235
  type: "region-filter-applied";
236
236
  data: {
237
237
  userId: string;
238
- regions: import('./event').Region[];
238
+ regions: import("./event").Region[];
239
239
  };
240
240
  time: string;
241
241
  }, {
242
242
  type: "region-filter-applied";
243
243
  data: {
244
244
  userId: string;
245
- regions: import('./event').Region[];
245
+ regions: import("./event").Region[];
246
246
  };
247
247
  time: string;
248
248
  }>;
@@ -271,14 +271,14 @@ export declare const FreeFilterAppliedStatisticSchema: z.ZodObject<{
271
271
  }>;
272
272
  export declare const CategoryFilterAppliedStatisticSchema: z.ZodObject<{
273
273
  data: z.ZodObject<{
274
- category: z.ZodNativeEnum<typeof import('./event').Category>;
274
+ category: z.ZodNativeEnum<typeof import("./event").Category>;
275
275
  userId: z.ZodString;
276
276
  }, "strip", z.ZodTypeAny, {
277
277
  userId: string;
278
- category: import('./event').Category;
278
+ category: import("./event").Category;
279
279
  }, {
280
280
  userId: string;
281
- category: import('./event').Category;
281
+ category: import("./event").Category;
282
282
  }>;
283
283
  time: z.ZodString;
284
284
  type: z.ZodLiteral<"category-filter-applied">;
@@ -286,14 +286,14 @@ export declare const CategoryFilterAppliedStatisticSchema: z.ZodObject<{
286
286
  type: "category-filter-applied";
287
287
  data: {
288
288
  userId: string;
289
- category: import('./event').Category;
289
+ category: import("./event").Category;
290
290
  };
291
291
  time: string;
292
292
  }, {
293
293
  type: "category-filter-applied";
294
294
  data: {
295
295
  userId: string;
296
- category: import('./event').Category;
296
+ category: import("./event").Category;
297
297
  };
298
298
  time: string;
299
299
  }>;
@@ -330,6 +330,29 @@ export declare const DateFilterAppliedStatisticSchema: z.ZodObject<{
330
330
  };
331
331
  time: string;
332
332
  }>;
333
+ export declare const OldTimesFilterAppliedStatisticSchema: z.ZodObject<{
334
+ data: z.ZodObject<{
335
+ userId: z.ZodString;
336
+ }, "strip", z.ZodTypeAny, {
337
+ userId: string;
338
+ }, {
339
+ userId: string;
340
+ }>;
341
+ time: z.ZodString;
342
+ type: z.ZodLiteral<"old-times-filter-applied">;
343
+ }, "strip", z.ZodTypeAny, {
344
+ type: "old-times-filter-applied";
345
+ data: {
346
+ userId: string;
347
+ };
348
+ time: string;
349
+ }, {
350
+ type: "old-times-filter-applied";
351
+ data: {
352
+ userId: string;
353
+ };
354
+ time: string;
355
+ }>;
333
356
  export declare const StatisticSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
334
357
  data: z.ZodObject<{
335
358
  userId: z.ZodString;
@@ -354,14 +377,14 @@ export declare const StatisticSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
354
377
  time: string;
355
378
  }>, z.ZodObject<{
356
379
  data: z.ZodObject<{
357
- category: z.ZodNativeEnum<typeof import('./event').Category>;
380
+ category: z.ZodNativeEnum<typeof import("./event").Category>;
358
381
  userId: z.ZodString;
359
382
  }, "strip", z.ZodTypeAny, {
360
383
  userId: string;
361
- category: import('./event').Category;
384
+ category: import("./event").Category;
362
385
  }, {
363
386
  userId: string;
364
- category: import('./event').Category;
387
+ category: import("./event").Category;
365
388
  }>;
366
389
  time: z.ZodString;
367
390
  type: z.ZodLiteral<"category-filter-applied">;
@@ -369,14 +392,14 @@ export declare const StatisticSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
369
392
  type: "category-filter-applied";
370
393
  data: {
371
394
  userId: string;
372
- category: import('./event').Category;
395
+ category: import("./event").Category;
373
396
  };
374
397
  time: string;
375
398
  }, {
376
399
  type: "category-filter-applied";
377
400
  data: {
378
401
  userId: string;
379
- category: import('./event').Category;
402
+ category: import("./event").Category;
380
403
  };
381
404
  time: string;
382
405
  }>, z.ZodObject<{
@@ -531,16 +554,16 @@ export declare const StatisticSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
531
554
  eventId: string;
532
555
  }>;
533
556
  time: z.ZodString;
534
- type: z.ZodLiteral<"event-tickets-clicked">;
557
+ type: z.ZodLiteral<"event-shared">;
535
558
  }, "strip", z.ZodTypeAny, {
536
- type: "event-tickets-clicked";
559
+ type: "event-shared";
537
560
  data: {
538
561
  userId: string;
539
562
  eventId: string;
540
563
  };
541
564
  time: string;
542
565
  }, {
543
- type: "event-tickets-clicked";
566
+ type: "event-shared";
544
567
  data: {
545
568
  userId: string;
546
569
  eventId: string;
@@ -558,16 +581,16 @@ export declare const StatisticSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
558
581
  eventId: string;
559
582
  }>;
560
583
  time: z.ZodString;
561
- type: z.ZodLiteral<"event-shared">;
584
+ type: z.ZodLiteral<"event-tickets-clicked">;
562
585
  }, "strip", z.ZodTypeAny, {
563
- type: "event-shared";
586
+ type: "event-tickets-clicked";
564
587
  data: {
565
588
  userId: string;
566
589
  eventId: string;
567
590
  };
568
591
  time: string;
569
592
  }, {
570
- type: "event-shared";
593
+ type: "event-tickets-clicked";
571
594
  data: {
572
595
  userId: string;
573
596
  eventId: string;
@@ -595,6 +618,28 @@ export declare const StatisticSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
595
618
  userId: string;
596
619
  };
597
620
  time: string;
621
+ }>, z.ZodObject<{
622
+ data: z.ZodObject<{
623
+ userId: z.ZodString;
624
+ }, "strip", z.ZodTypeAny, {
625
+ userId: string;
626
+ }, {
627
+ userId: string;
628
+ }>;
629
+ time: z.ZodString;
630
+ type: z.ZodLiteral<"old-times-filter-applied">;
631
+ }, "strip", z.ZodTypeAny, {
632
+ type: "old-times-filter-applied";
633
+ data: {
634
+ userId: string;
635
+ };
636
+ time: string;
637
+ }, {
638
+ type: "old-times-filter-applied";
639
+ data: {
640
+ userId: string;
641
+ };
642
+ time: string;
598
643
  }>, z.ZodObject<{
599
644
  data: z.ZodObject<{
600
645
  userId: z.ZodString;
@@ -624,14 +669,14 @@ export declare const StatisticSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
624
669
  time: string;
625
670
  }>, z.ZodObject<{
626
671
  data: z.ZodObject<{
627
- regions: z.ZodArray<z.ZodNativeEnum<typeof import('./event').Region>, "many">;
672
+ regions: z.ZodArray<z.ZodNativeEnum<typeof import("./event").Region>, "many">;
628
673
  userId: z.ZodString;
629
674
  }, "strip", z.ZodTypeAny, {
630
675
  userId: string;
631
- regions: import('./event').Region[];
676
+ regions: import("./event").Region[];
632
677
  }, {
633
678
  userId: string;
634
- regions: import('./event').Region[];
679
+ regions: import("./event").Region[];
635
680
  }>;
636
681
  time: z.ZodString;
637
682
  type: z.ZodLiteral<"region-filter-applied">;
@@ -639,28 +684,29 @@ export declare const StatisticSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObje
639
684
  type: "region-filter-applied";
640
685
  data: {
641
686
  userId: string;
642
- regions: import('./event').Region[];
687
+ regions: import("./event").Region[];
643
688
  };
644
689
  time: string;
645
690
  }, {
646
691
  type: "region-filter-applied";
647
692
  data: {
648
693
  userId: string;
649
- regions: import('./event').Region[];
694
+ regions: import("./event").Region[];
650
695
  };
651
696
  time: string;
652
697
  }>]>;
653
698
  export type AppStartedStatistic = z.infer<typeof AppStartedStatisticSchema>;
654
699
  export type CategoryFilterAppliedStatistic = z.infer<typeof CategoryFilterAppliedStatisticSchema>;
655
700
  export type DateFilterAppliedStatistic = z.infer<typeof DateFilterAppliedStatisticSchema>;
701
+ export type EventAddedToCalendarStatistic = z.infer<typeof EventAddedToCalendarStatisticSchema>;
656
702
  export type EventAddedToFavoritesStatistic = z.infer<typeof EventAddedToFavoritesStatisticSchema>;
657
703
  export type EventDisplayedStatistic = z.infer<typeof EventDisplayedStatisticSchema>;
658
704
  export type EventSeeMoreClickedStatistics = z.infer<typeof EventSeeMoreClickedStatisticsSchema>;
659
705
  export type EventSharedStatistic = z.infer<typeof EventSharedStatisticSchema>;
660
706
  export type EventTicketsClickedStatistics = z.infer<typeof EventTicketsClickedStatisticsSchema>;
661
707
  export type FreeFilterAppliedStatistic = z.infer<typeof FreeFilterAppliedStatisticSchema>;
708
+ export type OldTimesFilterAppliedStatistic = z.infer<typeof OldTimesFilterAppliedStatisticSchema>;
662
709
  export type OrganizerDisplayedStatistic = z.infer<typeof OrganizerDisplayedStatisticSchema>;
663
710
  export type RegionFilterAppliedStatistic = z.infer<typeof RegionFilterAppliedStatisticSchema>;
664
- export type EventAddedToCalendarStatistic = z.infer<typeof EventAddedToCalendarStatisticSchema>;
665
711
  export type Statistic = z.infer<typeof StatisticSchema>;
666
712
  //# sourceMappingURL=stats.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"stats.d.ts","sourceRoot":"","sources":["../../src/shared/stats.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;EAMpC,CAAC;AAEH,eAAO,MAAM,6BAA6B;;;;;;;;;;;;;;;;;;;;;;;;;;;EAOxC,CAAC;AAEH,eAAO,MAAM,iCAAiC;;;;;;;;;;;;;;;;;;;;;;;;;;;EAO5C,CAAC;AAEH,eAAO,MAAM,oCAAoC;;;;;;;;;;;;;;;;;;;;;;;;;;;EAO/C,CAAC;AAEH,eAAO,MAAM,mCAAmC;;;;;;;;;;;;;;;;;;;;;;;;;;;EAO9C,CAAC;AAEH,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;;;;;;;;;;EAOrC,CAAC;AAEH,eAAO,MAAM,mCAAmC;;;;;;;;;;;;;;;;;;;;;;;;;;;EAO9C,CAAC;AAEH,eAAO,MAAM,mCAAmC;;;;;;;;;;;;;;;;;;;;;;;;;;;EAO9C,CAAC;AAEH,eAAO,MAAM,kCAAkC;;;;;;;;;;;;;;;;;;;;;;;;;;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A6B,CAAC,CAAC;AACpF,MAAM,MAAM,6BAA6B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mCAAmC,CAAC,CAAC;AAChG,MAAM,MAAM,oBAAoB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,0BAA0B,CAAC,CAAC;AAC9E,MAAM,MAAM,6BAA6B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mCAAmC,CAAC,CAAC;AAChG,MAAM,MAAM,0BAA0B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,gCAAgC,CAAC,CAAC;AAC1F,MAAM,MAAM,8BAA8B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oCAAoC,CAAC,CAAC;AAClG,MAAM,MAAM,2BAA2B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iCAAiC,CAAC,CAAC;AAC5F,MAAM,MAAM,4BAA4B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kCAAkC,CAAC,CAAC;AAC9F,MAAM,MAAM,SAAS,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,eAAe,CAAC,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sortipei/api-contracts",
3
- "version": "0.1.37",
3
+ "version": "0.1.39",
4
4
  "license": "UNLICENCED",
5
5
  "main": "dist/api-contracts.js",
6
6
  "module": "dist/api-contracts.mjs",