@tmlmobilidade/types 20260121.2332.6 → 20260128.2248.28
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.
- package/dist/_common/comment.d.ts +24 -24
- package/dist/_common/document.d.ts +3 -3
- package/dist/_common/document.js +1 -1
- package/dist/_common/status.d.ts +2 -2
- package/dist/_common/status.js +1 -1
- package/dist/_common/unix-timestamp.js +1 -0
- package/dist/agency.d.ts +6 -6
- package/dist/alerts/alert.d.ts +262 -0
- package/dist/alerts/alert.js +34 -0
- package/dist/alerts/cause-effect-map.d.ts +106 -0
- package/dist/alerts/cause-effect-map.js +94 -0
- package/dist/alerts/cause.d.ts +17 -0
- package/dist/alerts/cause.js +45 -0
- package/dist/alerts/effect.d.ts +17 -0
- package/dist/alerts/effect.js +35 -0
- package/dist/alerts/index.d.ts +6 -0
- package/dist/alerts/index.js +6 -0
- package/dist/alerts/query.d.ts +9 -0
- package/dist/alerts/query.js +6 -0
- package/dist/alerts/reference-type.d.ts +4 -0
- package/dist/alerts/reference-type.js +10 -0
- package/dist/apex/simplified-apex-location.d.ts +2 -12
- package/dist/apex/simplified-apex-location.js +1 -1
- package/dist/apex/simplified-apex-on-board-refund.d.ts +2 -12
- package/dist/apex/simplified-apex-on-board-refund.js +1 -1
- package/dist/apex/simplified-apex-on-board-sale.d.ts +12 -19
- package/dist/apex/simplified-apex-on-board-sale.js +2 -2
- package/dist/apex/simplified-apex-validation.d.ts +6 -16
- package/dist/apex/simplified-apex-validation.js +1 -1
- package/dist/auth/role.d.ts +718 -130
- package/dist/auth/session.d.ts +6 -6
- package/dist/auth/user.d.ts +1182 -270
- package/dist/auth/verification-token.d.ts +4 -4
- package/dist/calendar/event.d.ts +43 -0
- package/dist/calendar/event.js +16 -0
- package/dist/calendar/index.d.ts +1 -0
- package/dist/calendar/index.js +2 -0
- package/dist/dates/annotation.d.ts +6 -6
- package/dist/dates/date.d.ts +32 -0
- package/dist/dates/date.js +18 -0
- package/dist/dates/index.d.ts +2 -0
- package/dist/dates/index.js +2 -0
- package/dist/dates/period.d.ts +94 -0
- package/dist/dates/period.js +14 -0
- package/dist/file-exports/base.d.ts +9 -9
- package/dist/file-exports/file-exports.d.ts +7 -7
- package/dist/file-exports/ride-export.d.ts +14 -14
- package/dist/file-exports/ride-export.js +2 -2
- package/dist/gtfs/cause.d.ts +10 -0
- package/dist/gtfs/cause.js +18 -0
- package/dist/gtfs/effect.d.ts +10 -0
- package/dist/gtfs/effect.js +17 -0
- package/dist/gtfs/index.d.ts +2 -1
- package/dist/gtfs/index.js +2 -1
- package/dist/index.d.ts +5 -2
- package/dist/index.js +5 -2
- package/dist/locations/queries.d.ts +2 -2
- package/dist/metrics/demand/demand_by_agency.d.ts +8 -8
- package/dist/metrics/demand/demand_by_category.d.ts +12 -12
- package/dist/metrics/demand/demand_by_line.d.ts +4 -4
- package/dist/metrics/demand/demand_by_pattern.d.ts +8 -8
- package/dist/metrics/demand/demand_by_product.d.ts +12 -12
- package/dist/metrics/index.d.ts +93 -48
- package/dist/metrics/index.js +4 -1
- package/dist/metrics/passenger-impact/index.d.ts +1 -0
- package/dist/metrics/passenger-impact/index.js +1 -0
- package/dist/metrics/passenger-impact/passenger-impact.d.ts +97 -0
- package/dist/metrics/passenger-impact/passenger-impact.js +22 -0
- package/dist/metrics/supply/supply_by_agency.d.ts +4 -4
- package/dist/notification.d.ts +18 -18
- package/dist/offer/index.d.ts +5 -0
- package/dist/offer/index.js +5 -0
- package/dist/offer/line.d.ts +296 -0
- package/dist/offer/line.js +60 -0
- package/dist/offer/pattern.d.ts +3608 -0
- package/dist/offer/pattern.js +75 -0
- package/dist/offer/route.d.ts +187 -0
- package/dist/offer/route.js +33 -0
- package/dist/offer/scheduleRule.d.ts +80 -0
- package/dist/offer/scheduleRule.js +50 -0
- package/dist/offer/typology.d.ts +124 -0
- package/dist/offer/typology.js +30 -0
- package/dist/organization.d.ts +20 -20
- package/dist/permissions/alerts.d.ts +13 -19
- package/dist/permissions/alerts.js +8 -13
- package/dist/permissions/annotations.d.ts +25 -0
- package/dist/permissions/annotations.js +16 -0
- package/dist/permissions/fares.d.ts +25 -0
- package/dist/permissions/fares.js +16 -0
- package/dist/permissions/index.d.ts +196 -21
- package/dist/permissions/index.js +142 -6
- package/dist/permissions/lines.d.ts +25 -0
- package/dist/permissions/lines.js +16 -0
- package/dist/permissions/periods.d.ts +25 -0
- package/dist/permissions/periods.js +16 -0
- package/dist/permissions/typologies.d.ts +25 -0
- package/dist/permissions/typologies.js +16 -0
- package/dist/permissions/vehicles.d.ts +25 -0
- package/dist/permissions/vehicles.js +16 -0
- package/dist/permissions/zones.d.ts +25 -0
- package/dist/permissions/zones.js +16 -0
- package/dist/plans/gtfs-validation.d.ts +30 -30
- package/dist/plans/plan.d.ts +6 -6
- package/dist/proposed-change.d.ts +12 -12
- package/dist/rides/batch-query.d.ts +52 -0
- package/dist/rides/batch-query.js +54 -0
- package/dist/rides/index.d.ts +1 -0
- package/dist/rides/index.js +1 -0
- package/dist/rides/ride-acceptance.d.ts +105 -105
- package/dist/rides/ride-acceptance.js +2 -2
- package/dist/rides/ride-audit.d.ts +21 -21
- package/dist/rides/ride-normalized.d.ts +808 -21
- package/dist/rides/ride-normalized.js +31 -1
- package/dist/rides/ride.d.ts +6 -6
- package/dist/sams/sam.d.ts +0 -15
- package/dist/sams/sam.js +2 -2
- package/dist/stops/connections.d.ts +1 -0
- package/dist/stops/connections.js +1 -1
- package/dist/stops/equipment.d.ts +1 -0
- package/dist/stops/equipment.js +1 -1
- package/dist/stops/parent-station.d.ts +6 -6
- package/dist/stops/stop-area.d.ts +6 -6
- package/dist/stops/stop.d.ts +69 -69
- package/dist/ticketing/fare.d.ts +137 -0
- package/dist/ticketing/fare.js +44 -0
- package/dist/ticketing/index.d.ts +2 -0
- package/dist/ticketing/index.js +2 -0
- package/dist/ticketing/zone.d.ts +220 -0
- package/dist/ticketing/zone.js +34 -0
- package/dist/vehicle/emission.d.ts +3 -0
- package/dist/vehicle/emission.js +12 -0
- package/dist/vehicle/index.d.ts +4 -0
- package/dist/vehicle/index.js +4 -0
- package/dist/vehicle/propulsion.d.ts +3 -0
- package/dist/vehicle/propulsion.js +14 -0
- package/dist/vehicle/vehicle.d.ts +189 -0
- package/dist/vehicle/vehicle.js +27 -0
- package/dist/vehicle/wheelchair.d.ts +3 -0
- package/dist/vehicle/wheelchair.js +10 -0
- package/dist/vehicle-events/clickhouse-vehicle-event.d.ts +2 -6
- package/dist/vehicle-events/simplified-vehicle-event.d.ts +2 -6
- package/dist/vehicle-events/simplified-vehicle-event.js +1 -1
- package/dist/zone.d.ts +6 -6
- package/package.json +2 -2
- package/dist/alert.d.ts +0 -265
- package/dist/alert.js +0 -42
- package/dist/gtfs/cause-effetcs.d.ts +0 -86
- package/dist/gtfs/cause-effetcs.js +0 -31
- package/dist/permissions/dates.d.ts +0 -25
- package/dist/permissions/dates.js +0 -16
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import { DelayStatusSchema, OperationalStatusSchema, SeenStatusSchema } from '../_common/status.js';
|
|
3
3
|
import { UnixTimeStampSchema } from '../_common/unix-timestamp.js';
|
|
4
4
|
import { FileExportBaseSchema } from './base.js';
|
|
5
|
-
import {
|
|
5
|
+
import { GtfsCauseSchema } from '../gtfs/cause.js';
|
|
6
6
|
import { RideAcceptanceStatusSchema, RideJustificationSourceSchema } from '../rides/ride-acceptance.js';
|
|
7
7
|
import { RideAnalysisGradeWithNoneSchema } from '../rides/ride-analysis.js';
|
|
8
8
|
import { z } from 'zod';
|
|
@@ -96,7 +96,7 @@ export const FlatRideSchema = z.object({
|
|
|
96
96
|
/* ACCEPTANCE / JUSTIFICATION */
|
|
97
97
|
/* * */
|
|
98
98
|
acceptance_status: z.enum(RideAcceptanceStatusSchema.options).nullish().nullable(),
|
|
99
|
-
justification_cause:
|
|
99
|
+
justification_cause: GtfsCauseSchema.nullish().nullable(),
|
|
100
100
|
justification_source: z.enum(RideJustificationSourceSchema.options).nullish().nullable(),
|
|
101
101
|
manual_trip_id: z.string().nullish().nullable(),
|
|
102
102
|
pto_message: z.string().min(2).max(5000).default('').nullish().nullable(),
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import z from 'zod';
|
|
2
|
+
export declare const GtfsCauseValues: readonly ["ACCIDENT", "CONSTRUCTION", "DEMONSTRATION", "HOLIDAY", "MAINTENANCE", "MEDICAL_EMERGENCY", "OTHER_CAUSE", "POLICE_ACTIVITY", "STRIKE", "TECHNICAL_ISSUE", "UNKNOWN_CAUSE", "WEATHER"];
|
|
3
|
+
export declare const GtfsCauseSchema: z.ZodEnum<["ACCIDENT", "CONSTRUCTION", "DEMONSTRATION", "HOLIDAY", "MAINTENANCE", "MEDICAL_EMERGENCY", "OTHER_CAUSE", "POLICE_ACTIVITY", "STRIKE", "TECHNICAL_ISSUE", "UNKNOWN_CAUSE", "WEATHER"]>;
|
|
4
|
+
/**
|
|
5
|
+
* The GTFS-RT standard cause types.
|
|
6
|
+
* Use this type to represent the standard causes of a service alert
|
|
7
|
+
* in GTFS-RT feeds, either when importing from standard GTFS-RT data into
|
|
8
|
+
* the application or when exporting from the application to GTFS-RT format.
|
|
9
|
+
*/
|
|
10
|
+
export type GtfsCause = z.infer<typeof GtfsCauseSchema>;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/* * */
|
|
2
|
+
import z from 'zod';
|
|
3
|
+
/* * */
|
|
4
|
+
export const GtfsCauseValues = [
|
|
5
|
+
'ACCIDENT',
|
|
6
|
+
'CONSTRUCTION',
|
|
7
|
+
'DEMONSTRATION',
|
|
8
|
+
'HOLIDAY',
|
|
9
|
+
'MAINTENANCE',
|
|
10
|
+
'MEDICAL_EMERGENCY',
|
|
11
|
+
'OTHER_CAUSE',
|
|
12
|
+
'POLICE_ACTIVITY',
|
|
13
|
+
'STRIKE',
|
|
14
|
+
'TECHNICAL_ISSUE',
|
|
15
|
+
'UNKNOWN_CAUSE',
|
|
16
|
+
'WEATHER',
|
|
17
|
+
];
|
|
18
|
+
export const GtfsCauseSchema = z.enum(GtfsCauseValues);
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import z from 'zod';
|
|
2
|
+
export declare const GtfsEffectValues: readonly ["ACCESSIBILITY_ISSUE", "ADDITIONAL_SERVICE", "DETOUR", "MODIFIED_SERVICE", "NO_EFFECT", "NO_SERVICE", "OTHER_EFFECT", "REDUCED_SERVICE", "SIGNIFICANT_DELAYS", "STOP_MOVED", "UNKNOWN_EFFECT"];
|
|
3
|
+
export declare const GtfsEffectSchema: z.ZodEnum<["ACCESSIBILITY_ISSUE", "ADDITIONAL_SERVICE", "DETOUR", "MODIFIED_SERVICE", "NO_EFFECT", "NO_SERVICE", "OTHER_EFFECT", "REDUCED_SERVICE", "SIGNIFICANT_DELAYS", "STOP_MOVED", "UNKNOWN_EFFECT"]>;
|
|
4
|
+
/**
|
|
5
|
+
* The GTFS-RT standard effect types.
|
|
6
|
+
* Use this type to represent the standard effects of a service alert
|
|
7
|
+
* in GTFS-RT feeds, either when importing from standard GTFS-RT data into
|
|
8
|
+
* the application or when exporting from the application to GTFS-RT format.
|
|
9
|
+
*/
|
|
10
|
+
export type GtfsEffect = z.infer<typeof GtfsEffectSchema>;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/* * */
|
|
2
|
+
import z from 'zod';
|
|
3
|
+
/* * */
|
|
4
|
+
export const GtfsEffectValues = [
|
|
5
|
+
'ACCESSIBILITY_ISSUE',
|
|
6
|
+
'ADDITIONAL_SERVICE',
|
|
7
|
+
'DETOUR',
|
|
8
|
+
'MODIFIED_SERVICE',
|
|
9
|
+
'NO_EFFECT',
|
|
10
|
+
'NO_SERVICE',
|
|
11
|
+
'OTHER_EFFECT',
|
|
12
|
+
'REDUCED_SERVICE',
|
|
13
|
+
'SIGNIFICANT_DELAYS',
|
|
14
|
+
'STOP_MOVED',
|
|
15
|
+
'UNKNOWN_EFFECT',
|
|
16
|
+
];
|
|
17
|
+
export const GtfsEffectSchema = z.enum(GtfsEffectValues);
|
package/dist/gtfs/index.d.ts
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
export * from './agency.js';
|
|
2
2
|
export * from './calendar-dates.js';
|
|
3
3
|
export * from './calendar.js';
|
|
4
|
-
export * from './cause
|
|
4
|
+
export * from './cause.js';
|
|
5
5
|
export * from './common.js';
|
|
6
|
+
export * from './effect.js';
|
|
6
7
|
export * from './feed-info.js';
|
|
7
8
|
export * from './routes.js';
|
|
8
9
|
export * from './service-alert.js';
|
package/dist/gtfs/index.js
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
export * from './agency.js';
|
|
2
2
|
export * from './calendar-dates.js';
|
|
3
3
|
export * from './calendar.js';
|
|
4
|
-
export * from './cause
|
|
4
|
+
export * from './cause.js';
|
|
5
5
|
export * from './common.js';
|
|
6
|
+
export * from './effect.js';
|
|
6
7
|
export * from './feed-info.js';
|
|
7
8
|
export * from './routes.js';
|
|
8
9
|
export * from './service-alert.js';
|
package/dist/index.d.ts
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
export * from './_common/index.js';
|
|
2
2
|
export * from './agency.js';
|
|
3
|
-
export * from './
|
|
3
|
+
export * from './alerts/index.js';
|
|
4
4
|
export * from './apex/index.js';
|
|
5
5
|
export * from './auth/index.js';
|
|
6
|
+
export * from './calendar/index.js';
|
|
6
7
|
export * from './dates/index.js';
|
|
7
8
|
export * from './file-exports/index.js';
|
|
8
9
|
export * from './file.js';
|
|
@@ -10,6 +11,7 @@ export * from './gtfs/index.js';
|
|
|
10
11
|
export * from './locations/index.js';
|
|
11
12
|
export * from './metrics/index.js';
|
|
12
13
|
export * from './notification.js';
|
|
14
|
+
export * from './offer/index.js';
|
|
13
15
|
export * from './organization.js';
|
|
14
16
|
export * from './pcgi/index.js';
|
|
15
17
|
export * from './permissions/index.js';
|
|
@@ -18,6 +20,7 @@ export * from './proposed-change.js';
|
|
|
18
20
|
export * from './rides/index.js';
|
|
19
21
|
export * from './sams/index.js';
|
|
20
22
|
export * from './stops/index.js';
|
|
23
|
+
export * from './ticketing/index.js';
|
|
21
24
|
export * from './vehicle-events/index.js';
|
|
25
|
+
export * from './vehicle/index.js';
|
|
22
26
|
export * from './wiki.js';
|
|
23
|
-
export * from './zone.js';
|
package/dist/index.js
CHANGED
|
@@ -3,9 +3,10 @@
|
|
|
3
3
|
export * from './_common/index.js';
|
|
4
4
|
/* * */
|
|
5
5
|
export * from './agency.js';
|
|
6
|
-
export * from './
|
|
6
|
+
export * from './alerts/index.js';
|
|
7
7
|
export * from './apex/index.js';
|
|
8
8
|
export * from './auth/index.js';
|
|
9
|
+
export * from './calendar/index.js';
|
|
9
10
|
export * from './dates/index.js';
|
|
10
11
|
export * from './file-exports/index.js';
|
|
11
12
|
export * from './file.js';
|
|
@@ -13,6 +14,7 @@ export * from './gtfs/index.js';
|
|
|
13
14
|
export * from './locations/index.js';
|
|
14
15
|
export * from './metrics/index.js';
|
|
15
16
|
export * from './notification.js';
|
|
17
|
+
export * from './offer/index.js';
|
|
16
18
|
export * from './organization.js';
|
|
17
19
|
export * from './pcgi/index.js';
|
|
18
20
|
export * from './permissions/index.js';
|
|
@@ -21,6 +23,7 @@ export * from './proposed-change.js';
|
|
|
21
23
|
export * from './rides/index.js';
|
|
22
24
|
export * from './sams/index.js';
|
|
23
25
|
export * from './stops/index.js';
|
|
26
|
+
export * from './ticketing/index.js';
|
|
24
27
|
export * from './vehicle-events/index.js';
|
|
28
|
+
export * from './vehicle/index.js';
|
|
25
29
|
export * from './wiki.js';
|
|
26
|
-
export * from './zone.js';
|
|
@@ -74,9 +74,9 @@ export declare const GetAllParishesQuerySchema: z.ZodObject<{
|
|
|
74
74
|
municipality_ids?: string[] | null | undefined;
|
|
75
75
|
district_ids?: string[] | null | undefined;
|
|
76
76
|
}, {
|
|
77
|
-
municipality_ids?: unknown;
|
|
78
77
|
limit?: number | undefined;
|
|
79
78
|
page?: number | undefined;
|
|
79
|
+
municipality_ids?: unknown;
|
|
80
80
|
geojson?: unknown;
|
|
81
81
|
district_ids?: unknown;
|
|
82
82
|
}>;
|
|
@@ -102,9 +102,9 @@ export declare const GetAllLocalitiesQuerySchema: z.ZodObject<{
|
|
|
102
102
|
district_ids?: string[] | null | undefined;
|
|
103
103
|
parish_ids?: string[] | null | undefined;
|
|
104
104
|
}, {
|
|
105
|
-
municipality_ids?: unknown;
|
|
106
105
|
limit?: number | undefined;
|
|
107
106
|
page?: number | undefined;
|
|
107
|
+
municipality_ids?: unknown;
|
|
108
108
|
geojson?: unknown;
|
|
109
109
|
district_ids?: unknown;
|
|
110
110
|
parish_ids?: unknown;
|
|
@@ -97,17 +97,17 @@ export declare const DemandByAgencyByDaySchema: z.ZodObject<{
|
|
|
97
97
|
period: z.ZodEnum<["1", "2", "3"]>;
|
|
98
98
|
qty: z.ZodNumber;
|
|
99
99
|
}, "strip", z.ZodTypeAny, {
|
|
100
|
+
period: "1" | "2" | "3";
|
|
100
101
|
qty: number;
|
|
101
102
|
day_type: "1" | "2" | "3";
|
|
102
103
|
holiday: "0" | "1";
|
|
103
104
|
notes: string | null;
|
|
104
|
-
period: "1" | "2" | "3";
|
|
105
105
|
}, {
|
|
106
|
+
period: "1" | "2" | "3";
|
|
106
107
|
qty: number;
|
|
107
108
|
day_type: "1" | "2" | "3";
|
|
108
109
|
holiday: "0" | "1";
|
|
109
110
|
notes: string | null;
|
|
110
|
-
period: "1" | "2" | "3";
|
|
111
111
|
}>>;
|
|
112
112
|
metric: z.ZodLiteral<"demand_by_agency_by_day">;
|
|
113
113
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -117,11 +117,11 @@ export declare const DemandByAgencyByDaySchema: z.ZodObject<{
|
|
|
117
117
|
generated_at: Date;
|
|
118
118
|
metric: "demand_by_agency_by_day";
|
|
119
119
|
data: Record<string, {
|
|
120
|
+
period: "1" | "2" | "3";
|
|
120
121
|
qty: number;
|
|
121
122
|
day_type: "1" | "2" | "3";
|
|
122
123
|
holiday: "0" | "1";
|
|
123
124
|
notes: string | null;
|
|
124
|
-
period: "1" | "2" | "3";
|
|
125
125
|
}>;
|
|
126
126
|
description?: string | undefined;
|
|
127
127
|
}, {
|
|
@@ -131,11 +131,11 @@ export declare const DemandByAgencyByDaySchema: z.ZodObject<{
|
|
|
131
131
|
generated_at: Date;
|
|
132
132
|
metric: "demand_by_agency_by_day";
|
|
133
133
|
data: Record<string, {
|
|
134
|
+
period: "1" | "2" | "3";
|
|
134
135
|
qty: number;
|
|
135
136
|
day_type: "1" | "2" | "3";
|
|
136
137
|
holiday: "0" | "1";
|
|
137
138
|
notes: string | null;
|
|
138
|
-
period: "1" | "2" | "3";
|
|
139
139
|
}>;
|
|
140
140
|
description?: string | undefined;
|
|
141
141
|
}>;
|
|
@@ -158,18 +158,18 @@ export declare const DemandByAgencyByDayByProductSchema: z.ZodObject<{
|
|
|
158
158
|
products: z.ZodRecord<z.ZodString, z.ZodNumber>;
|
|
159
159
|
qty: z.ZodNumber;
|
|
160
160
|
}, "strip", z.ZodTypeAny, {
|
|
161
|
+
period: "1" | "2" | "3";
|
|
161
162
|
qty: number;
|
|
162
163
|
day_type: "1" | "2" | "3";
|
|
163
164
|
holiday: "0" | "1";
|
|
164
165
|
notes: string | null;
|
|
165
|
-
period: "1" | "2" | "3";
|
|
166
166
|
products: Record<string, number>;
|
|
167
167
|
}, {
|
|
168
|
+
period: "1" | "2" | "3";
|
|
168
169
|
qty: number;
|
|
169
170
|
day_type: "1" | "2" | "3";
|
|
170
171
|
holiday: "0" | "1";
|
|
171
172
|
notes: string | null;
|
|
172
|
-
period: "1" | "2" | "3";
|
|
173
173
|
products: Record<string, number>;
|
|
174
174
|
}>>;
|
|
175
175
|
metric: z.ZodLiteral<"demand_by_agency_by_day_by_product">;
|
|
@@ -180,11 +180,11 @@ export declare const DemandByAgencyByDayByProductSchema: z.ZodObject<{
|
|
|
180
180
|
generated_at: Date;
|
|
181
181
|
metric: "demand_by_agency_by_day_by_product";
|
|
182
182
|
data: Record<string, {
|
|
183
|
+
period: "1" | "2" | "3";
|
|
183
184
|
qty: number;
|
|
184
185
|
day_type: "1" | "2" | "3";
|
|
185
186
|
holiday: "0" | "1";
|
|
186
187
|
notes: string | null;
|
|
187
|
-
period: "1" | "2" | "3";
|
|
188
188
|
products: Record<string, number>;
|
|
189
189
|
}>;
|
|
190
190
|
description?: string | undefined;
|
|
@@ -195,11 +195,11 @@ export declare const DemandByAgencyByDayByProductSchema: z.ZodObject<{
|
|
|
195
195
|
generated_at: Date;
|
|
196
196
|
metric: "demand_by_agency_by_day_by_product";
|
|
197
197
|
data: Record<string, {
|
|
198
|
+
period: "1" | "2" | "3";
|
|
198
199
|
qty: number;
|
|
199
200
|
day_type: "1" | "2" | "3";
|
|
200
201
|
holiday: "0" | "1";
|
|
201
202
|
notes: string | null;
|
|
202
|
-
period: "1" | "2" | "3";
|
|
203
203
|
products: Record<string, number>;
|
|
204
204
|
}>;
|
|
205
205
|
description?: string | undefined;
|
|
@@ -10,17 +10,17 @@ export declare const DemandByCategoryByAgencyByDaySchema: z.ZodObject<{
|
|
|
10
10
|
period: z.ZodEnum<["1", "2", "3"]>;
|
|
11
11
|
qty: z.ZodNumber;
|
|
12
12
|
}, "strip", z.ZodTypeAny, {
|
|
13
|
+
period: "1" | "2" | "3";
|
|
13
14
|
qty: number;
|
|
14
15
|
day_type: "1" | "2" | "3";
|
|
15
16
|
holiday: boolean;
|
|
16
17
|
notes: string | null;
|
|
17
|
-
period: "1" | "2" | "3";
|
|
18
18
|
}, {
|
|
19
|
+
period: "1" | "2" | "3";
|
|
19
20
|
qty: number;
|
|
20
21
|
day_type: "1" | "2" | "3";
|
|
21
22
|
holiday: boolean;
|
|
22
23
|
notes: string | null;
|
|
23
|
-
period: "1" | "2" | "3";
|
|
24
24
|
}>>;
|
|
25
25
|
metric: z.ZodLiteral<"demand_by_category_by_agency_by_day">;
|
|
26
26
|
properties: z.ZodObject<{
|
|
@@ -41,11 +41,11 @@ export declare const DemandByCategoryByAgencyByDaySchema: z.ZodObject<{
|
|
|
41
41
|
generated_at: Date;
|
|
42
42
|
metric: "demand_by_category_by_agency_by_day";
|
|
43
43
|
data: Record<string, {
|
|
44
|
+
period: "1" | "2" | "3";
|
|
44
45
|
qty: number;
|
|
45
46
|
day_type: "1" | "2" | "3";
|
|
46
47
|
holiday: boolean;
|
|
47
48
|
notes: string | null;
|
|
48
|
-
period: "1" | "2" | "3";
|
|
49
49
|
}>;
|
|
50
50
|
description?: string | undefined;
|
|
51
51
|
}, {
|
|
@@ -56,11 +56,11 @@ export declare const DemandByCategoryByAgencyByDaySchema: z.ZodObject<{
|
|
|
56
56
|
generated_at: Date;
|
|
57
57
|
metric: "demand_by_category_by_agency_by_day";
|
|
58
58
|
data: Record<string, {
|
|
59
|
+
period: "1" | "2" | "3";
|
|
59
60
|
qty: number;
|
|
60
61
|
day_type: "1" | "2" | "3";
|
|
61
62
|
holiday: boolean;
|
|
62
63
|
notes: string | null;
|
|
63
|
-
period: "1" | "2" | "3";
|
|
64
64
|
}>;
|
|
65
65
|
description?: string | undefined;
|
|
66
66
|
}>;
|
|
@@ -165,17 +165,17 @@ export declare const DemandByCategoryByLineByDaySchema: z.ZodObject<{
|
|
|
165
165
|
period: z.ZodEnum<["1", "2", "3"]>;
|
|
166
166
|
qty: z.ZodNumber;
|
|
167
167
|
}, "strip", z.ZodTypeAny, {
|
|
168
|
+
period: "1" | "2" | "3";
|
|
168
169
|
qty: number;
|
|
169
170
|
day_type: "1" | "2" | "3";
|
|
170
171
|
holiday: boolean;
|
|
171
172
|
notes: string | null;
|
|
172
|
-
period: "1" | "2" | "3";
|
|
173
173
|
}, {
|
|
174
|
+
period: "1" | "2" | "3";
|
|
174
175
|
qty: number;
|
|
175
176
|
day_type: "1" | "2" | "3";
|
|
176
177
|
holiday: boolean;
|
|
177
178
|
notes: string | null;
|
|
178
|
-
period: "1" | "2" | "3";
|
|
179
179
|
}>>;
|
|
180
180
|
metric: z.ZodLiteral<"demand_by_category_by_line_by_day">;
|
|
181
181
|
properties: z.ZodObject<{
|
|
@@ -196,11 +196,11 @@ export declare const DemandByCategoryByLineByDaySchema: z.ZodObject<{
|
|
|
196
196
|
generated_at: Date;
|
|
197
197
|
metric: "demand_by_category_by_line_by_day";
|
|
198
198
|
data: Record<string, {
|
|
199
|
+
period: "1" | "2" | "3";
|
|
199
200
|
qty: number;
|
|
200
201
|
day_type: "1" | "2" | "3";
|
|
201
202
|
holiday: boolean;
|
|
202
203
|
notes: string | null;
|
|
203
|
-
period: "1" | "2" | "3";
|
|
204
204
|
}>;
|
|
205
205
|
description?: string | undefined;
|
|
206
206
|
}, {
|
|
@@ -211,11 +211,11 @@ export declare const DemandByCategoryByLineByDaySchema: z.ZodObject<{
|
|
|
211
211
|
generated_at: Date;
|
|
212
212
|
metric: "demand_by_category_by_line_by_day";
|
|
213
213
|
data: Record<string, {
|
|
214
|
+
period: "1" | "2" | "3";
|
|
214
215
|
qty: number;
|
|
215
216
|
day_type: "1" | "2" | "3";
|
|
216
217
|
holiday: boolean;
|
|
217
218
|
notes: string | null;
|
|
218
|
-
period: "1" | "2" | "3";
|
|
219
219
|
}>;
|
|
220
220
|
description?: string | undefined;
|
|
221
221
|
}>;
|
|
@@ -320,17 +320,17 @@ export declare const DemandByCategoryByPatternByDaySchema: z.ZodObject<{
|
|
|
320
320
|
period: z.ZodEnum<["1", "2", "3"]>;
|
|
321
321
|
qty: z.ZodNumber;
|
|
322
322
|
}, "strip", z.ZodTypeAny, {
|
|
323
|
+
period: "1" | "2" | "3";
|
|
323
324
|
qty: number;
|
|
324
325
|
day_type: "1" | "2" | "3";
|
|
325
326
|
holiday: boolean;
|
|
326
327
|
notes: string | null;
|
|
327
|
-
period: "1" | "2" | "3";
|
|
328
328
|
}, {
|
|
329
|
+
period: "1" | "2" | "3";
|
|
329
330
|
qty: number;
|
|
330
331
|
day_type: "1" | "2" | "3";
|
|
331
332
|
holiday: boolean;
|
|
332
333
|
notes: string | null;
|
|
333
|
-
period: "1" | "2" | "3";
|
|
334
334
|
}>>;
|
|
335
335
|
metric: z.ZodLiteral<"demand_by_category_by_pattern_by_day">;
|
|
336
336
|
properties: z.ZodObject<{
|
|
@@ -351,11 +351,11 @@ export declare const DemandByCategoryByPatternByDaySchema: z.ZodObject<{
|
|
|
351
351
|
generated_at: Date;
|
|
352
352
|
metric: "demand_by_category_by_pattern_by_day";
|
|
353
353
|
data: Record<string, {
|
|
354
|
+
period: "1" | "2" | "3";
|
|
354
355
|
qty: number;
|
|
355
356
|
day_type: "1" | "2" | "3";
|
|
356
357
|
holiday: boolean;
|
|
357
358
|
notes: string | null;
|
|
358
|
-
period: "1" | "2" | "3";
|
|
359
359
|
}>;
|
|
360
360
|
description?: string | undefined;
|
|
361
361
|
}, {
|
|
@@ -366,11 +366,11 @@ export declare const DemandByCategoryByPatternByDaySchema: z.ZodObject<{
|
|
|
366
366
|
generated_at: Date;
|
|
367
367
|
metric: "demand_by_category_by_pattern_by_day";
|
|
368
368
|
data: Record<string, {
|
|
369
|
+
period: "1" | "2" | "3";
|
|
369
370
|
qty: number;
|
|
370
371
|
day_type: "1" | "2" | "3";
|
|
371
372
|
holiday: boolean;
|
|
372
373
|
notes: string | null;
|
|
373
|
-
period: "1" | "2" | "3";
|
|
374
374
|
}>;
|
|
375
375
|
description?: string | undefined;
|
|
376
376
|
}>;
|
|
@@ -97,17 +97,17 @@ export declare const DemandByLineByDaySchema: z.ZodObject<{
|
|
|
97
97
|
period: z.ZodEnum<["1", "2", "3"]>;
|
|
98
98
|
qty: z.ZodNumber;
|
|
99
99
|
}, "strip", z.ZodTypeAny, {
|
|
100
|
+
period: "1" | "2" | "3";
|
|
100
101
|
qty: number;
|
|
101
102
|
day_type: "1" | "2" | "3";
|
|
102
103
|
holiday: "0" | "1";
|
|
103
104
|
notes: string | null;
|
|
104
|
-
period: "1" | "2" | "3";
|
|
105
105
|
}, {
|
|
106
|
+
period: "1" | "2" | "3";
|
|
106
107
|
qty: number;
|
|
107
108
|
day_type: "1" | "2" | "3";
|
|
108
109
|
holiday: "0" | "1";
|
|
109
110
|
notes: string | null;
|
|
110
|
-
period: "1" | "2" | "3";
|
|
111
111
|
}>>;
|
|
112
112
|
metric: z.ZodLiteral<"demand_by_line_by_day">;
|
|
113
113
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -117,11 +117,11 @@ export declare const DemandByLineByDaySchema: z.ZodObject<{
|
|
|
117
117
|
generated_at: Date;
|
|
118
118
|
metric: "demand_by_line_by_day";
|
|
119
119
|
data: Record<string, {
|
|
120
|
+
period: "1" | "2" | "3";
|
|
120
121
|
qty: number;
|
|
121
122
|
day_type: "1" | "2" | "3";
|
|
122
123
|
holiday: "0" | "1";
|
|
123
124
|
notes: string | null;
|
|
124
|
-
period: "1" | "2" | "3";
|
|
125
125
|
}>;
|
|
126
126
|
description?: string | undefined;
|
|
127
127
|
}, {
|
|
@@ -131,11 +131,11 @@ export declare const DemandByLineByDaySchema: z.ZodObject<{
|
|
|
131
131
|
generated_at: Date;
|
|
132
132
|
metric: "demand_by_line_by_day";
|
|
133
133
|
data: Record<string, {
|
|
134
|
+
period: "1" | "2" | "3";
|
|
134
135
|
qty: number;
|
|
135
136
|
day_type: "1" | "2" | "3";
|
|
136
137
|
holiday: "0" | "1";
|
|
137
138
|
notes: string | null;
|
|
138
|
-
period: "1" | "2" | "3";
|
|
139
139
|
}>;
|
|
140
140
|
description?: string | undefined;
|
|
141
141
|
}>;
|
|
@@ -97,17 +97,17 @@ export declare const DemandByPatternByDaySchema: z.ZodObject<{
|
|
|
97
97
|
period: z.ZodEnum<["1", "2", "3"]>;
|
|
98
98
|
qty: z.ZodNumber;
|
|
99
99
|
}, "strip", z.ZodTypeAny, {
|
|
100
|
+
period: "1" | "2" | "3";
|
|
100
101
|
qty: number;
|
|
101
102
|
day_type: "1" | "2" | "3";
|
|
102
103
|
holiday: "0" | "1";
|
|
103
104
|
notes: string | null;
|
|
104
|
-
period: "1" | "2" | "3";
|
|
105
105
|
}, {
|
|
106
|
+
period: "1" | "2" | "3";
|
|
106
107
|
qty: number;
|
|
107
108
|
day_type: "1" | "2" | "3";
|
|
108
109
|
holiday: "0" | "1";
|
|
109
110
|
notes: string | null;
|
|
110
|
-
period: "1" | "2" | "3";
|
|
111
111
|
}>>;
|
|
112
112
|
metric: z.ZodLiteral<"demand_by_pattern_by_day">;
|
|
113
113
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -117,11 +117,11 @@ export declare const DemandByPatternByDaySchema: z.ZodObject<{
|
|
|
117
117
|
generated_at: Date;
|
|
118
118
|
metric: "demand_by_pattern_by_day";
|
|
119
119
|
data: Record<string, {
|
|
120
|
+
period: "1" | "2" | "3";
|
|
120
121
|
qty: number;
|
|
121
122
|
day_type: "1" | "2" | "3";
|
|
122
123
|
holiday: "0" | "1";
|
|
123
124
|
notes: string | null;
|
|
124
|
-
period: "1" | "2" | "3";
|
|
125
125
|
}>;
|
|
126
126
|
description?: string | undefined;
|
|
127
127
|
}, {
|
|
@@ -131,11 +131,11 @@ export declare const DemandByPatternByDaySchema: z.ZodObject<{
|
|
|
131
131
|
generated_at: Date;
|
|
132
132
|
metric: "demand_by_pattern_by_day";
|
|
133
133
|
data: Record<string, {
|
|
134
|
+
period: "1" | "2" | "3";
|
|
134
135
|
qty: number;
|
|
135
136
|
day_type: "1" | "2" | "3";
|
|
136
137
|
holiday: "0" | "1";
|
|
137
138
|
notes: string | null;
|
|
138
|
-
period: "1" | "2" | "3";
|
|
139
139
|
}>;
|
|
140
140
|
description?: string | undefined;
|
|
141
141
|
}>;
|
|
@@ -276,17 +276,17 @@ export declare const DemandByPatternHourByDaySchema: z.ZodObject<{
|
|
|
276
276
|
period: z.ZodEnum<["1", "2", "3"]>;
|
|
277
277
|
qty: z.ZodNumber;
|
|
278
278
|
}, "strip", z.ZodTypeAny, {
|
|
279
|
+
period: "1" | "2" | "3";
|
|
279
280
|
qty: number;
|
|
280
281
|
day_type: "1" | "2" | "3";
|
|
281
282
|
holiday: "0" | "1";
|
|
282
283
|
notes: string | null;
|
|
283
|
-
period: "1" | "2" | "3";
|
|
284
284
|
}, {
|
|
285
|
+
period: "1" | "2" | "3";
|
|
285
286
|
qty: number;
|
|
286
287
|
day_type: "1" | "2" | "3";
|
|
287
288
|
holiday: "0" | "1";
|
|
288
289
|
notes: string | null;
|
|
289
|
-
period: "1" | "2" | "3";
|
|
290
290
|
}>>;
|
|
291
291
|
metric: z.ZodLiteral<"demand_by_pattern_hour_by_day">;
|
|
292
292
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -299,11 +299,11 @@ export declare const DemandByPatternHourByDaySchema: z.ZodObject<{
|
|
|
299
299
|
generated_at: Date;
|
|
300
300
|
metric: "demand_by_pattern_hour_by_day";
|
|
301
301
|
data: Record<string, {
|
|
302
|
+
period: "1" | "2" | "3";
|
|
302
303
|
qty: number;
|
|
303
304
|
day_type: "1" | "2" | "3";
|
|
304
305
|
holiday: "0" | "1";
|
|
305
306
|
notes: string | null;
|
|
306
|
-
period: "1" | "2" | "3";
|
|
307
307
|
}>;
|
|
308
308
|
description?: string | undefined;
|
|
309
309
|
}, {
|
|
@@ -316,11 +316,11 @@ export declare const DemandByPatternHourByDaySchema: z.ZodObject<{
|
|
|
316
316
|
generated_at: Date;
|
|
317
317
|
metric: "demand_by_pattern_hour_by_day";
|
|
318
318
|
data: Record<string, {
|
|
319
|
+
period: "1" | "2" | "3";
|
|
319
320
|
qty: number;
|
|
320
321
|
day_type: "1" | "2" | "3";
|
|
321
322
|
holiday: "0" | "1";
|
|
322
323
|
notes: string | null;
|
|
323
|
-
period: "1" | "2" | "3";
|
|
324
324
|
}>;
|
|
325
325
|
description?: string | undefined;
|
|
326
326
|
}>;
|