@tmlmobilidade/types 20251017.1132.6 → 20251017.1433.50
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.
|
@@ -107,23 +107,23 @@ export declare const DemandByLineByDaySchema: z.ZodObject<{
|
|
|
107
107
|
}>;
|
|
108
108
|
} & {
|
|
109
109
|
data: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
110
|
-
day_type: z.
|
|
111
|
-
holiday: z.
|
|
110
|
+
day_type: z.ZodEnum<["1", "2", "3"]>;
|
|
111
|
+
holiday: z.ZodEnum<["0", "1"]>;
|
|
112
112
|
notes: z.ZodNullable<z.ZodString>;
|
|
113
|
-
period: z.
|
|
113
|
+
period: z.ZodEnum<["1", "2", "3"]>;
|
|
114
114
|
qty: z.ZodNumber;
|
|
115
115
|
}, "strip", z.ZodTypeAny, {
|
|
116
116
|
qty: number;
|
|
117
|
-
day_type:
|
|
118
|
-
holiday:
|
|
117
|
+
day_type: "1" | "2" | "3";
|
|
118
|
+
holiday: "0" | "1";
|
|
119
119
|
notes: string | null;
|
|
120
|
-
period:
|
|
120
|
+
period: "1" | "2" | "3";
|
|
121
121
|
}, {
|
|
122
122
|
qty: number;
|
|
123
|
-
day_type:
|
|
124
|
-
holiday:
|
|
123
|
+
day_type: "1" | "2" | "3";
|
|
124
|
+
holiday: "0" | "1";
|
|
125
125
|
notes: string | null;
|
|
126
|
-
period:
|
|
126
|
+
period: "1" | "2" | "3";
|
|
127
127
|
}>>;
|
|
128
128
|
metric: z.ZodLiteral<"demand_by_line_by_day">;
|
|
129
129
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -135,10 +135,10 @@ export declare const DemandByLineByDaySchema: z.ZodObject<{
|
|
|
135
135
|
metric: "demand_by_line_by_day";
|
|
136
136
|
data: Record<string, {
|
|
137
137
|
qty: number;
|
|
138
|
-
day_type:
|
|
139
|
-
holiday:
|
|
138
|
+
day_type: "1" | "2" | "3";
|
|
139
|
+
holiday: "0" | "1";
|
|
140
140
|
notes: string | null;
|
|
141
|
-
period:
|
|
141
|
+
period: "1" | "2" | "3";
|
|
142
142
|
}>;
|
|
143
143
|
description?: string | undefined;
|
|
144
144
|
}, {
|
|
@@ -150,10 +150,10 @@ export declare const DemandByLineByDaySchema: z.ZodObject<{
|
|
|
150
150
|
metric: "demand_by_line_by_day";
|
|
151
151
|
data: Record<string, {
|
|
152
152
|
qty: number;
|
|
153
|
-
day_type:
|
|
154
|
-
holiday:
|
|
153
|
+
day_type: "1" | "2" | "3";
|
|
154
|
+
holiday: "0" | "1";
|
|
155
155
|
notes: string | null;
|
|
156
|
-
period:
|
|
156
|
+
period: "1" | "2" | "3";
|
|
157
157
|
}>;
|
|
158
158
|
description?: string | undefined;
|
|
159
159
|
}>;
|
|
@@ -19,10 +19,10 @@ export const DemandByLineByMonthSchema = DemandByLineSchema.extend({
|
|
|
19
19
|
});
|
|
20
20
|
export const DemandByLineByDaySchema = DemandByLineSchema.extend({
|
|
21
21
|
data: z.record(z.string(), z.object({
|
|
22
|
-
day_type: z.
|
|
23
|
-
holiday: z.
|
|
22
|
+
day_type: z.enum(['1', '2', '3']),
|
|
23
|
+
holiday: z.enum(['0', '1']),
|
|
24
24
|
notes: z.string().nullable(),
|
|
25
|
-
period: z.
|
|
25
|
+
period: z.enum(['1', '2', '3']),
|
|
26
26
|
qty: z.number(),
|
|
27
27
|
})),
|
|
28
28
|
metric: z.literal('demand_by_line_by_day'),
|
|
@@ -105,23 +105,23 @@ export declare const MetricSchema: z.ZodDiscriminatedUnion<"metric", [z.ZodObjec
|
|
|
105
105
|
}>;
|
|
106
106
|
} & {
|
|
107
107
|
data: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
108
|
-
day_type: z.
|
|
109
|
-
holiday: z.
|
|
108
|
+
day_type: z.ZodEnum<["1", "2", "3"]>;
|
|
109
|
+
holiday: z.ZodEnum<["0", "1"]>;
|
|
110
110
|
notes: z.ZodNullable<z.ZodString>;
|
|
111
|
-
period: z.
|
|
111
|
+
period: z.ZodEnum<["1", "2", "3"]>;
|
|
112
112
|
qty: z.ZodNumber;
|
|
113
113
|
}, "strip", z.ZodTypeAny, {
|
|
114
114
|
qty: number;
|
|
115
|
-
day_type:
|
|
116
|
-
holiday:
|
|
115
|
+
day_type: "1" | "2" | "3";
|
|
116
|
+
holiday: "0" | "1";
|
|
117
117
|
notes: string | null;
|
|
118
|
-
period:
|
|
118
|
+
period: "1" | "2" | "3";
|
|
119
119
|
}, {
|
|
120
120
|
qty: number;
|
|
121
|
-
day_type:
|
|
122
|
-
holiday:
|
|
121
|
+
day_type: "1" | "2" | "3";
|
|
122
|
+
holiday: "0" | "1";
|
|
123
123
|
notes: string | null;
|
|
124
|
-
period:
|
|
124
|
+
period: "1" | "2" | "3";
|
|
125
125
|
}>>;
|
|
126
126
|
metric: z.ZodLiteral<"demand_by_line_by_day">;
|
|
127
127
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -133,10 +133,10 @@ export declare const MetricSchema: z.ZodDiscriminatedUnion<"metric", [z.ZodObjec
|
|
|
133
133
|
metric: "demand_by_line_by_day";
|
|
134
134
|
data: Record<string, {
|
|
135
135
|
qty: number;
|
|
136
|
-
day_type:
|
|
137
|
-
holiday:
|
|
136
|
+
day_type: "1" | "2" | "3";
|
|
137
|
+
holiday: "0" | "1";
|
|
138
138
|
notes: string | null;
|
|
139
|
-
period:
|
|
139
|
+
period: "1" | "2" | "3";
|
|
140
140
|
}>;
|
|
141
141
|
description?: string | undefined;
|
|
142
142
|
}, {
|
|
@@ -148,10 +148,10 @@ export declare const MetricSchema: z.ZodDiscriminatedUnion<"metric", [z.ZodObjec
|
|
|
148
148
|
metric: "demand_by_line_by_day";
|
|
149
149
|
data: Record<string, {
|
|
150
150
|
qty: number;
|
|
151
|
-
day_type:
|
|
152
|
-
holiday:
|
|
151
|
+
day_type: "1" | "2" | "3";
|
|
152
|
+
holiday: "0" | "1";
|
|
153
153
|
notes: string | null;
|
|
154
|
-
period:
|
|
154
|
+
period: "1" | "2" | "3";
|
|
155
155
|
}>;
|
|
156
156
|
description?: string | undefined;
|
|
157
157
|
}>, z.ZodObject<{
|
package/package.json
CHANGED