@tmlmobilidade/types 20251021.1646.56 → 20251021.1717.49
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.
|
@@ -377,23 +377,23 @@ export declare const DemandByAgencyByDaySchema: z.ZodObject<{
|
|
|
377
377
|
}>;
|
|
378
378
|
} & {
|
|
379
379
|
data: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
380
|
-
day_type: z.
|
|
381
|
-
holiday: z.
|
|
380
|
+
day_type: z.ZodEnum<["1", "2", "3"]>;
|
|
381
|
+
holiday: z.ZodEnum<["0", "1"]>;
|
|
382
382
|
notes: z.ZodNullable<z.ZodString>;
|
|
383
|
-
period: z.
|
|
383
|
+
period: z.ZodEnum<["1", "2", "3"]>;
|
|
384
384
|
qty: z.ZodNumber;
|
|
385
385
|
}, "strip", z.ZodTypeAny, {
|
|
386
386
|
qty: number;
|
|
387
|
-
day_type:
|
|
388
|
-
holiday:
|
|
387
|
+
day_type: "1" | "2" | "3";
|
|
388
|
+
holiday: "0" | "1";
|
|
389
389
|
notes: string | null;
|
|
390
|
-
period:
|
|
390
|
+
period: "1" | "2" | "3";
|
|
391
391
|
}, {
|
|
392
392
|
qty: number;
|
|
393
|
-
day_type:
|
|
394
|
-
holiday:
|
|
393
|
+
day_type: "1" | "2" | "3";
|
|
394
|
+
holiday: "0" | "1";
|
|
395
395
|
notes: string | null;
|
|
396
|
-
period:
|
|
396
|
+
period: "1" | "2" | "3";
|
|
397
397
|
}>>;
|
|
398
398
|
metric: z.ZodLiteral<"demand_by_agency_by_day">;
|
|
399
399
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -405,10 +405,10 @@ export declare const DemandByAgencyByDaySchema: z.ZodObject<{
|
|
|
405
405
|
metric: "demand_by_agency_by_day";
|
|
406
406
|
data: Record<string, {
|
|
407
407
|
qty: number;
|
|
408
|
-
day_type:
|
|
409
|
-
holiday:
|
|
408
|
+
day_type: "1" | "2" | "3";
|
|
409
|
+
holiday: "0" | "1";
|
|
410
410
|
notes: string | null;
|
|
411
|
-
period:
|
|
411
|
+
period: "1" | "2" | "3";
|
|
412
412
|
}>;
|
|
413
413
|
description?: string | undefined;
|
|
414
414
|
}, {
|
|
@@ -420,10 +420,10 @@ export declare const DemandByAgencyByDaySchema: z.ZodObject<{
|
|
|
420
420
|
metric: "demand_by_agency_by_day";
|
|
421
421
|
data: Record<string, {
|
|
422
422
|
qty: number;
|
|
423
|
-
day_type:
|
|
424
|
-
holiday:
|
|
423
|
+
day_type: "1" | "2" | "3";
|
|
424
|
+
holiday: "0" | "1";
|
|
425
425
|
notes: string | null;
|
|
426
|
-
period:
|
|
426
|
+
period: "1" | "2" | "3";
|
|
427
427
|
}>;
|
|
428
428
|
description?: string | undefined;
|
|
429
429
|
}>;
|
|
@@ -535,23 +535,23 @@ export declare const DemandByPatternByDaySchema: z.ZodObject<{
|
|
|
535
535
|
}>;
|
|
536
536
|
} & {
|
|
537
537
|
data: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
538
|
-
day_type: z.
|
|
539
|
-
holiday: z.
|
|
538
|
+
day_type: z.ZodEnum<["1", "2", "3"]>;
|
|
539
|
+
holiday: z.ZodEnum<["0", "1"]>;
|
|
540
540
|
notes: z.ZodNullable<z.ZodString>;
|
|
541
|
-
period: z.
|
|
541
|
+
period: z.ZodEnum<["1", "2", "3"]>;
|
|
542
542
|
qty: z.ZodNumber;
|
|
543
543
|
}, "strip", z.ZodTypeAny, {
|
|
544
544
|
qty: number;
|
|
545
|
-
day_type:
|
|
546
|
-
holiday:
|
|
545
|
+
day_type: "1" | "2" | "3";
|
|
546
|
+
holiday: "0" | "1";
|
|
547
547
|
notes: string | null;
|
|
548
|
-
period:
|
|
548
|
+
period: "1" | "2" | "3";
|
|
549
549
|
}, {
|
|
550
550
|
qty: number;
|
|
551
|
-
day_type:
|
|
552
|
-
holiday:
|
|
551
|
+
day_type: "1" | "2" | "3";
|
|
552
|
+
holiday: "0" | "1";
|
|
553
553
|
notes: string | null;
|
|
554
|
-
period:
|
|
554
|
+
period: "1" | "2" | "3";
|
|
555
555
|
}>>;
|
|
556
556
|
metric: z.ZodLiteral<"demand_by_pattern_by_day">;
|
|
557
557
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -563,10 +563,10 @@ export declare const DemandByPatternByDaySchema: z.ZodObject<{
|
|
|
563
563
|
metric: "demand_by_pattern_by_day";
|
|
564
564
|
data: Record<string, {
|
|
565
565
|
qty: number;
|
|
566
|
-
day_type:
|
|
567
|
-
holiday:
|
|
566
|
+
day_type: "1" | "2" | "3";
|
|
567
|
+
holiday: "0" | "1";
|
|
568
568
|
notes: string | null;
|
|
569
|
-
period:
|
|
569
|
+
period: "1" | "2" | "3";
|
|
570
570
|
}>;
|
|
571
571
|
description?: string | undefined;
|
|
572
572
|
}, {
|
|
@@ -578,10 +578,10 @@ export declare const DemandByPatternByDaySchema: z.ZodObject<{
|
|
|
578
578
|
metric: "demand_by_pattern_by_day";
|
|
579
579
|
data: Record<string, {
|
|
580
580
|
qty: number;
|
|
581
|
-
day_type:
|
|
582
|
-
holiday:
|
|
581
|
+
day_type: "1" | "2" | "3";
|
|
582
|
+
holiday: "0" | "1";
|
|
583
583
|
notes: string | null;
|
|
584
|
-
period:
|
|
584
|
+
period: "1" | "2" | "3";
|
|
585
585
|
}>;
|
|
586
586
|
description?: string | undefined;
|
|
587
587
|
}>;
|
|
@@ -72,10 +72,10 @@ export const DemandByAgencyByMonthSchema = DemandByAgencySchema.extend({
|
|
|
72
72
|
});
|
|
73
73
|
export const DemandByAgencyByDaySchema = DemandByAgencySchema.extend({
|
|
74
74
|
data: z.record(z.string(), z.object({
|
|
75
|
-
day_type: z.
|
|
76
|
-
holiday: z.
|
|
75
|
+
day_type: z.enum(['1', '2', '3']),
|
|
76
|
+
holiday: z.enum(['0', '1']),
|
|
77
77
|
notes: z.string().nullable(),
|
|
78
|
-
period: z.
|
|
78
|
+
period: z.enum(['1', '2', '3']),
|
|
79
79
|
qty: z.number(),
|
|
80
80
|
})),
|
|
81
81
|
metric: z.literal('demand_by_agency_by_day'),
|
|
@@ -100,10 +100,10 @@ export const DemandByPatternByMonthSchema = DemandByPatternSchema.extend({
|
|
|
100
100
|
});
|
|
101
101
|
export const DemandByPatternByDaySchema = DemandByPatternSchema.extend({
|
|
102
102
|
data: z.record(z.string(), z.object({
|
|
103
|
-
day_type: z.
|
|
104
|
-
holiday: z.
|
|
103
|
+
day_type: z.enum(['1', '2', '3']),
|
|
104
|
+
holiday: z.enum(['0', '1']),
|
|
105
105
|
notes: z.string().nullable(),
|
|
106
|
-
period: z.
|
|
106
|
+
period: z.enum(['1', '2', '3']),
|
|
107
107
|
qty: z.number(),
|
|
108
108
|
})),
|
|
109
109
|
metric: z.literal('demand_by_pattern_by_day'),
|
|
@@ -261,23 +261,23 @@ export declare const MetricSchema: z.ZodDiscriminatedUnion<"metric", [z.ZodObjec
|
|
|
261
261
|
}>;
|
|
262
262
|
} & {
|
|
263
263
|
data: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
264
|
-
day_type: z.
|
|
265
|
-
holiday: z.
|
|
264
|
+
day_type: z.ZodEnum<["1", "2", "3"]>;
|
|
265
|
+
holiday: z.ZodEnum<["0", "1"]>;
|
|
266
266
|
notes: z.ZodNullable<z.ZodString>;
|
|
267
|
-
period: z.
|
|
267
|
+
period: z.ZodEnum<["1", "2", "3"]>;
|
|
268
268
|
qty: z.ZodNumber;
|
|
269
269
|
}, "strip", z.ZodTypeAny, {
|
|
270
270
|
qty: number;
|
|
271
|
-
day_type:
|
|
272
|
-
holiday:
|
|
271
|
+
day_type: "1" | "2" | "3";
|
|
272
|
+
holiday: "0" | "1";
|
|
273
273
|
notes: string | null;
|
|
274
|
-
period:
|
|
274
|
+
period: "1" | "2" | "3";
|
|
275
275
|
}, {
|
|
276
276
|
qty: number;
|
|
277
|
-
day_type:
|
|
278
|
-
holiday:
|
|
277
|
+
day_type: "1" | "2" | "3";
|
|
278
|
+
holiday: "0" | "1";
|
|
279
279
|
notes: string | null;
|
|
280
|
-
period:
|
|
280
|
+
period: "1" | "2" | "3";
|
|
281
281
|
}>>;
|
|
282
282
|
metric: z.ZodLiteral<"demand_by_pattern_by_day">;
|
|
283
283
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -289,10 +289,10 @@ export declare const MetricSchema: z.ZodDiscriminatedUnion<"metric", [z.ZodObjec
|
|
|
289
289
|
metric: "demand_by_pattern_by_day";
|
|
290
290
|
data: Record<string, {
|
|
291
291
|
qty: number;
|
|
292
|
-
day_type:
|
|
293
|
-
holiday:
|
|
292
|
+
day_type: "1" | "2" | "3";
|
|
293
|
+
holiday: "0" | "1";
|
|
294
294
|
notes: string | null;
|
|
295
|
-
period:
|
|
295
|
+
period: "1" | "2" | "3";
|
|
296
296
|
}>;
|
|
297
297
|
description?: string | undefined;
|
|
298
298
|
}, {
|
|
@@ -304,10 +304,10 @@ export declare const MetricSchema: z.ZodDiscriminatedUnion<"metric", [z.ZodObjec
|
|
|
304
304
|
metric: "demand_by_pattern_by_day";
|
|
305
305
|
data: Record<string, {
|
|
306
306
|
qty: number;
|
|
307
|
-
day_type:
|
|
308
|
-
holiday:
|
|
307
|
+
day_type: "1" | "2" | "3";
|
|
308
|
+
holiday: "0" | "1";
|
|
309
309
|
notes: string | null;
|
|
310
|
-
period:
|
|
310
|
+
period: "1" | "2" | "3";
|
|
311
311
|
}>;
|
|
312
312
|
description?: string | undefined;
|
|
313
313
|
}>, z.ZodObject<{
|
|
@@ -526,23 +526,23 @@ export declare const MetricSchema: z.ZodDiscriminatedUnion<"metric", [z.ZodObjec
|
|
|
526
526
|
}>;
|
|
527
527
|
} & {
|
|
528
528
|
data: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
529
|
-
day_type: z.
|
|
530
|
-
holiday: z.
|
|
529
|
+
day_type: z.ZodEnum<["1", "2", "3"]>;
|
|
530
|
+
holiday: z.ZodEnum<["0", "1"]>;
|
|
531
531
|
notes: z.ZodNullable<z.ZodString>;
|
|
532
|
-
period: z.
|
|
532
|
+
period: z.ZodEnum<["1", "2", "3"]>;
|
|
533
533
|
qty: z.ZodNumber;
|
|
534
534
|
}, "strip", z.ZodTypeAny, {
|
|
535
535
|
qty: number;
|
|
536
|
-
day_type:
|
|
537
|
-
holiday:
|
|
536
|
+
day_type: "1" | "2" | "3";
|
|
537
|
+
holiday: "0" | "1";
|
|
538
538
|
notes: string | null;
|
|
539
|
-
period:
|
|
539
|
+
period: "1" | "2" | "3";
|
|
540
540
|
}, {
|
|
541
541
|
qty: number;
|
|
542
|
-
day_type:
|
|
543
|
-
holiday:
|
|
542
|
+
day_type: "1" | "2" | "3";
|
|
543
|
+
holiday: "0" | "1";
|
|
544
544
|
notes: string | null;
|
|
545
|
-
period:
|
|
545
|
+
period: "1" | "2" | "3";
|
|
546
546
|
}>>;
|
|
547
547
|
metric: z.ZodLiteral<"demand_by_agency_by_day">;
|
|
548
548
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -554,10 +554,10 @@ export declare const MetricSchema: z.ZodDiscriminatedUnion<"metric", [z.ZodObjec
|
|
|
554
554
|
metric: "demand_by_agency_by_day";
|
|
555
555
|
data: Record<string, {
|
|
556
556
|
qty: number;
|
|
557
|
-
day_type:
|
|
558
|
-
holiday:
|
|
557
|
+
day_type: "1" | "2" | "3";
|
|
558
|
+
holiday: "0" | "1";
|
|
559
559
|
notes: string | null;
|
|
560
|
-
period:
|
|
560
|
+
period: "1" | "2" | "3";
|
|
561
561
|
}>;
|
|
562
562
|
description?: string | undefined;
|
|
563
563
|
}, {
|
|
@@ -569,10 +569,10 @@ export declare const MetricSchema: z.ZodDiscriminatedUnion<"metric", [z.ZodObjec
|
|
|
569
569
|
metric: "demand_by_agency_by_day";
|
|
570
570
|
data: Record<string, {
|
|
571
571
|
qty: number;
|
|
572
|
-
day_type:
|
|
573
|
-
holiday:
|
|
572
|
+
day_type: "1" | "2" | "3";
|
|
573
|
+
holiday: "0" | "1";
|
|
574
574
|
notes: string | null;
|
|
575
|
-
period:
|
|
575
|
+
period: "1" | "2" | "3";
|
|
576
576
|
}>;
|
|
577
577
|
description?: string | undefined;
|
|
578
578
|
}>, z.ZodObject<{
|
package/package.json
CHANGED