@tmlmobilidade/types 20251021.1644.7 → 20251021.1707.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.
|
@@ -377,20 +377,20 @@ export declare const DemandByAgencyByDaySchema: z.ZodObject<{
|
|
|
377
377
|
}>;
|
|
378
378
|
} & {
|
|
379
379
|
data: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
380
|
-
day_type: z.
|
|
380
|
+
day_type: z.ZodEnum<["1", "2", "3"]>;
|
|
381
381
|
holiday: z.ZodNumber;
|
|
382
382
|
notes: z.ZodNullable<z.ZodString>;
|
|
383
383
|
period: z.ZodNumber;
|
|
384
384
|
qty: z.ZodNumber;
|
|
385
385
|
}, "strip", z.ZodTypeAny, {
|
|
386
386
|
qty: number;
|
|
387
|
-
day_type:
|
|
387
|
+
day_type: "1" | "2" | "3";
|
|
388
388
|
holiday: number;
|
|
389
389
|
notes: string | null;
|
|
390
390
|
period: number;
|
|
391
391
|
}, {
|
|
392
392
|
qty: number;
|
|
393
|
-
day_type:
|
|
393
|
+
day_type: "1" | "2" | "3";
|
|
394
394
|
holiday: number;
|
|
395
395
|
notes: string | null;
|
|
396
396
|
period: number;
|
|
@@ -405,7 +405,7 @@ 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:
|
|
408
|
+
day_type: "1" | "2" | "3";
|
|
409
409
|
holiday: number;
|
|
410
410
|
notes: string | null;
|
|
411
411
|
period: number;
|
|
@@ -420,7 +420,7 @@ 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:
|
|
423
|
+
day_type: "1" | "2" | "3";
|
|
424
424
|
holiday: number;
|
|
425
425
|
notes: string | null;
|
|
426
426
|
period: number;
|
|
@@ -535,20 +535,20 @@ export declare const DemandByPatternByDaySchema: z.ZodObject<{
|
|
|
535
535
|
}>;
|
|
536
536
|
} & {
|
|
537
537
|
data: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
538
|
-
day_type: z.
|
|
538
|
+
day_type: z.ZodEnum<["1", "2", "3"]>;
|
|
539
539
|
holiday: z.ZodNumber;
|
|
540
540
|
notes: z.ZodNullable<z.ZodString>;
|
|
541
541
|
period: z.ZodNumber;
|
|
542
542
|
qty: z.ZodNumber;
|
|
543
543
|
}, "strip", z.ZodTypeAny, {
|
|
544
544
|
qty: number;
|
|
545
|
-
day_type:
|
|
545
|
+
day_type: "1" | "2" | "3";
|
|
546
546
|
holiday: number;
|
|
547
547
|
notes: string | null;
|
|
548
548
|
period: number;
|
|
549
549
|
}, {
|
|
550
550
|
qty: number;
|
|
551
|
-
day_type:
|
|
551
|
+
day_type: "1" | "2" | "3";
|
|
552
552
|
holiday: number;
|
|
553
553
|
notes: string | null;
|
|
554
554
|
period: number;
|
|
@@ -563,7 +563,7 @@ 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:
|
|
566
|
+
day_type: "1" | "2" | "3";
|
|
567
567
|
holiday: number;
|
|
568
568
|
notes: string | null;
|
|
569
569
|
period: number;
|
|
@@ -578,7 +578,7 @@ 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:
|
|
581
|
+
day_type: "1" | "2" | "3";
|
|
582
582
|
holiday: number;
|
|
583
583
|
notes: string | null;
|
|
584
584
|
period: number;
|
|
@@ -72,7 +72,7 @@ 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.
|
|
75
|
+
day_type: z.enum(['1', '2', '3']),
|
|
76
76
|
holiday: z.number(),
|
|
77
77
|
notes: z.string().nullable(),
|
|
78
78
|
period: z.number(),
|
|
@@ -100,7 +100,7 @@ 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.
|
|
103
|
+
day_type: z.enum(['1', '2', '3']),
|
|
104
104
|
holiday: z.number(),
|
|
105
105
|
notes: z.string().nullable(),
|
|
106
106
|
period: z.number(),
|
|
@@ -261,20 +261,20 @@ 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.
|
|
264
|
+
day_type: z.ZodEnum<["1", "2", "3"]>;
|
|
265
265
|
holiday: z.ZodNumber;
|
|
266
266
|
notes: z.ZodNullable<z.ZodString>;
|
|
267
267
|
period: z.ZodNumber;
|
|
268
268
|
qty: z.ZodNumber;
|
|
269
269
|
}, "strip", z.ZodTypeAny, {
|
|
270
270
|
qty: number;
|
|
271
|
-
day_type:
|
|
271
|
+
day_type: "1" | "2" | "3";
|
|
272
272
|
holiday: number;
|
|
273
273
|
notes: string | null;
|
|
274
274
|
period: number;
|
|
275
275
|
}, {
|
|
276
276
|
qty: number;
|
|
277
|
-
day_type:
|
|
277
|
+
day_type: "1" | "2" | "3";
|
|
278
278
|
holiday: number;
|
|
279
279
|
notes: string | null;
|
|
280
280
|
period: number;
|
|
@@ -289,7 +289,7 @@ 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:
|
|
292
|
+
day_type: "1" | "2" | "3";
|
|
293
293
|
holiday: number;
|
|
294
294
|
notes: string | null;
|
|
295
295
|
period: number;
|
|
@@ -304,7 +304,7 @@ 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:
|
|
307
|
+
day_type: "1" | "2" | "3";
|
|
308
308
|
holiday: number;
|
|
309
309
|
notes: string | null;
|
|
310
310
|
period: number;
|
|
@@ -526,20 +526,20 @@ 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.
|
|
529
|
+
day_type: z.ZodEnum<["1", "2", "3"]>;
|
|
530
530
|
holiday: z.ZodNumber;
|
|
531
531
|
notes: z.ZodNullable<z.ZodString>;
|
|
532
532
|
period: z.ZodNumber;
|
|
533
533
|
qty: z.ZodNumber;
|
|
534
534
|
}, "strip", z.ZodTypeAny, {
|
|
535
535
|
qty: number;
|
|
536
|
-
day_type:
|
|
536
|
+
day_type: "1" | "2" | "3";
|
|
537
537
|
holiday: number;
|
|
538
538
|
notes: string | null;
|
|
539
539
|
period: number;
|
|
540
540
|
}, {
|
|
541
541
|
qty: number;
|
|
542
|
-
day_type:
|
|
542
|
+
day_type: "1" | "2" | "3";
|
|
543
543
|
holiday: number;
|
|
544
544
|
notes: string | null;
|
|
545
545
|
period: number;
|
|
@@ -554,7 +554,7 @@ 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:
|
|
557
|
+
day_type: "1" | "2" | "3";
|
|
558
558
|
holiday: number;
|
|
559
559
|
notes: string | null;
|
|
560
560
|
period: number;
|
|
@@ -569,7 +569,7 @@ 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:
|
|
572
|
+
day_type: "1" | "2" | "3";
|
|
573
573
|
holiday: number;
|
|
574
574
|
notes: string | null;
|
|
575
575
|
period: number;
|
package/package.json
CHANGED