@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
|
@@ -1,2 +1,32 @@
|
|
|
1
1
|
/* * */
|
|
2
|
-
|
|
2
|
+
import { DelayStatusSchema, OperationalStatusSchema, SeenStatusSchema } from '../_common/status.js';
|
|
3
|
+
import { RideAcceptanceStatusSchema } from './ride-acceptance.js';
|
|
4
|
+
import { RideAnalysisGradeSchema } from './ride-analysis.js';
|
|
5
|
+
import { RideSchema } from './ride.js';
|
|
6
|
+
import { z } from 'zod';
|
|
7
|
+
/* * */
|
|
8
|
+
export const RideNormalizedSchema = RideSchema.extend({
|
|
9
|
+
acceptance_status: RideAcceptanceStatusSchema,
|
|
10
|
+
analysis_ended_at_last_stop_grade: RideAnalysisGradeSchema.or(z.literal('none')),
|
|
11
|
+
analysis_expected_apex_validation_interval: RideAnalysisGradeSchema.or(z.literal('none')),
|
|
12
|
+
analysis_simple_three_vehicle_events_grade: RideAnalysisGradeSchema.or(z.literal('none')),
|
|
13
|
+
analysis_transaction_sequentiality: RideAnalysisGradeSchema.or(z.literal('none')),
|
|
14
|
+
/**
|
|
15
|
+
* @deprecated use `start_time_observed_display` instead
|
|
16
|
+
*/
|
|
17
|
+
delay_status: DelayStatusSchema,
|
|
18
|
+
/**
|
|
19
|
+
* @deprecated use `start_time_observed_display` instead
|
|
20
|
+
*/
|
|
21
|
+
delay_value_display: z.string().nullable(),
|
|
22
|
+
end_delay_status: DelayStatusSchema,
|
|
23
|
+
end_delay_value_display: z.string().nullable(),
|
|
24
|
+
end_time_observed_display: z.string().nullable(),
|
|
25
|
+
end_time_scheduled_display: z.string(),
|
|
26
|
+
operational_status: OperationalStatusSchema,
|
|
27
|
+
seen_status: SeenStatusSchema,
|
|
28
|
+
start_delay_status: DelayStatusSchema,
|
|
29
|
+
start_delay_value_display: z.string().nullable(),
|
|
30
|
+
start_time_observed_display: z.string().nullable(),
|
|
31
|
+
start_time_scheduled_display: z.string(),
|
|
32
|
+
});
|
package/dist/rides/ride.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ import { z } from 'zod';
|
|
|
2
2
|
export declare const RideSchema: z.ZodObject<Omit<{
|
|
3
3
|
_id: z.ZodString;
|
|
4
4
|
created_at: z.ZodEffects<z.ZodNumber, import("../_common/unix-timestamp.js").UnixTimestamp, number>;
|
|
5
|
-
created_by: z.
|
|
5
|
+
created_by: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
6
6
|
is_locked: z.ZodDefault<z.ZodBoolean>;
|
|
7
7
|
updated_at: z.ZodEffects<z.ZodNumber, import("../_common/unix-timestamp.js").UnixTimestamp, number>;
|
|
8
8
|
updated_by: z.ZodOptional<z.ZodString>;
|
|
@@ -485,6 +485,7 @@ export declare const RideSchema: z.ZodObject<Omit<{
|
|
|
485
485
|
created_at: number & {
|
|
486
486
|
__brand: "UnixTimestamp";
|
|
487
487
|
};
|
|
488
|
+
created_by: string | null;
|
|
488
489
|
updated_at: number & {
|
|
489
490
|
__brand: "UnixTimestamp";
|
|
490
491
|
};
|
|
@@ -620,7 +621,6 @@ export declare const RideSchema: z.ZodObject<Omit<{
|
|
|
620
621
|
hashed_shape_id: string;
|
|
621
622
|
hashed_trip_id: string;
|
|
622
623
|
system_status: "waiting" | "processing" | "complete" | "error" | "skipped";
|
|
623
|
-
created_by?: string | undefined;
|
|
624
624
|
updated_by?: string | undefined;
|
|
625
625
|
}, {
|
|
626
626
|
_id: string;
|
|
@@ -751,14 +751,14 @@ export declare const RideSchema: z.ZodObject<Omit<{
|
|
|
751
751
|
} | null;
|
|
752
752
|
hashed_shape_id: string;
|
|
753
753
|
hashed_trip_id: string;
|
|
754
|
-
created_by?: string | undefined;
|
|
754
|
+
created_by?: string | null | undefined;
|
|
755
755
|
updated_by?: string | undefined;
|
|
756
756
|
system_status?: "waiting" | "processing" | "complete" | "error" | "skipped" | undefined;
|
|
757
757
|
}>;
|
|
758
758
|
export declare const CreateRideSchema: z.ZodObject<Omit<{
|
|
759
759
|
_id: z.ZodOptional<z.ZodString>;
|
|
760
760
|
created_at: z.ZodEffects<z.ZodNumber, import("../_common/unix-timestamp.js").UnixTimestamp, number>;
|
|
761
|
-
created_by: z.
|
|
761
|
+
created_by: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
762
762
|
updated_at: z.ZodEffects<z.ZodNumber, import("../_common/unix-timestamp.js").UnixTimestamp, number>;
|
|
763
763
|
updated_by: z.ZodOptional<z.ZodString>;
|
|
764
764
|
agency_id: z.ZodString;
|
|
@@ -1235,6 +1235,7 @@ export declare const CreateRideSchema: z.ZodObject<Omit<{
|
|
|
1235
1235
|
hashed_trip_id: z.ZodString;
|
|
1236
1236
|
system_status: z.ZodDefault<z.ZodEnum<["waiting", "processing", "complete", "error", "skipped"]>>;
|
|
1237
1237
|
}, "created_at" | "updated_at">, "strip", z.ZodTypeAny, {
|
|
1238
|
+
created_by: string | null;
|
|
1238
1239
|
agency_id: string;
|
|
1239
1240
|
line_id: number;
|
|
1240
1241
|
pattern_id: string;
|
|
@@ -1368,7 +1369,6 @@ export declare const CreateRideSchema: z.ZodObject<Omit<{
|
|
|
1368
1369
|
hashed_trip_id: string;
|
|
1369
1370
|
system_status: "waiting" | "processing" | "complete" | "error" | "skipped";
|
|
1370
1371
|
_id?: string | undefined;
|
|
1371
|
-
created_by?: string | undefined;
|
|
1372
1372
|
updated_by?: string | undefined;
|
|
1373
1373
|
}, {
|
|
1374
1374
|
agency_id: string;
|
|
@@ -1497,7 +1497,7 @@ export declare const CreateRideSchema: z.ZodObject<Omit<{
|
|
|
1497
1497
|
hashed_shape_id: string;
|
|
1498
1498
|
hashed_trip_id: string;
|
|
1499
1499
|
_id?: string | undefined;
|
|
1500
|
-
created_by?: string | undefined;
|
|
1500
|
+
created_by?: string | null | undefined;
|
|
1501
1501
|
updated_by?: string | undefined;
|
|
1502
1502
|
system_status?: "waiting" | "processing" | "complete" | "error" | "skipped" | undefined;
|
|
1503
1503
|
}>;
|
package/dist/sams/sam.d.ts
CHANGED
|
@@ -1,9 +1,7 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
export declare const SamSchema: z.ZodObject<{
|
|
3
3
|
created_at: z.ZodEffects<z.ZodNumber, import("../_common/unix-timestamp.js").UnixTimestamp, number>;
|
|
4
|
-
created_by: z.ZodOptional<z.ZodString>;
|
|
5
4
|
updated_at: z.ZodEffects<z.ZodNumber, import("../_common/unix-timestamp.js").UnixTimestamp, number>;
|
|
6
|
-
updated_by: z.ZodOptional<z.ZodString>;
|
|
7
5
|
} & {
|
|
8
6
|
_id: z.ZodNumber;
|
|
9
7
|
agency_id: z.ZodString;
|
|
@@ -94,8 +92,6 @@ export declare const SamSchema: z.ZodObject<{
|
|
|
94
92
|
transactions_missing: number | null;
|
|
95
93
|
latest_apex_version: string | null;
|
|
96
94
|
remarks: string | null;
|
|
97
|
-
created_by?: string | undefined;
|
|
98
|
-
updated_by?: string | undefined;
|
|
99
95
|
}, {
|
|
100
96
|
_id: number;
|
|
101
97
|
created_at: number;
|
|
@@ -107,8 +103,6 @@ export declare const SamSchema: z.ZodObject<{
|
|
|
107
103
|
transactions_found: number | null;
|
|
108
104
|
transactions_missing: number | null;
|
|
109
105
|
latest_apex_version: string | null;
|
|
110
|
-
created_by?: string | undefined;
|
|
111
|
-
updated_by?: string | undefined;
|
|
112
106
|
analysis?: {
|
|
113
107
|
apex_version: string | null;
|
|
114
108
|
device_id: string | null;
|
|
@@ -130,9 +124,7 @@ export declare const SamSchema: z.ZodObject<{
|
|
|
130
124
|
}>;
|
|
131
125
|
export declare const CreateSamSchema: z.ZodObject<Omit<{
|
|
132
126
|
created_at: z.ZodEffects<z.ZodNumber, import("../_common/unix-timestamp.js").UnixTimestamp, number>;
|
|
133
|
-
created_by: z.ZodOptional<z.ZodString>;
|
|
134
127
|
updated_at: z.ZodEffects<z.ZodNumber, import("../_common/unix-timestamp.js").UnixTimestamp, number>;
|
|
135
|
-
updated_by: z.ZodOptional<z.ZodString>;
|
|
136
128
|
} & {
|
|
137
129
|
_id: z.ZodNumber;
|
|
138
130
|
agency_id: z.ZodString;
|
|
@@ -217,8 +209,6 @@ export declare const CreateSamSchema: z.ZodObject<Omit<{
|
|
|
217
209
|
transactions_missing: number | null;
|
|
218
210
|
latest_apex_version: string | null;
|
|
219
211
|
remarks: string | null;
|
|
220
|
-
created_by?: string | undefined;
|
|
221
|
-
updated_by?: string | undefined;
|
|
222
212
|
}, {
|
|
223
213
|
_id: number;
|
|
224
214
|
agency_id: string;
|
|
@@ -228,8 +218,6 @@ export declare const CreateSamSchema: z.ZodObject<Omit<{
|
|
|
228
218
|
transactions_found: number | null;
|
|
229
219
|
transactions_missing: number | null;
|
|
230
220
|
latest_apex_version: string | null;
|
|
231
|
-
created_by?: string | undefined;
|
|
232
|
-
updated_by?: string | undefined;
|
|
233
221
|
analysis?: {
|
|
234
222
|
apex_version: string | null;
|
|
235
223
|
device_id: string | null;
|
|
@@ -251,7 +239,6 @@ export declare const CreateSamSchema: z.ZodObject<Omit<{
|
|
|
251
239
|
}>;
|
|
252
240
|
export declare const UpdateSamSchema: z.ZodObject<{
|
|
253
241
|
_id: z.ZodOptional<z.ZodNumber>;
|
|
254
|
-
updated_by: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
255
242
|
agency_id: z.ZodOptional<z.ZodString>;
|
|
256
243
|
seen_last_at: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodNumber, import("../_common/unix-timestamp.js").UnixTimestamp, number>>>;
|
|
257
244
|
seen_first_at: z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodNumber, import("../_common/unix-timestamp.js").UnixTimestamp, number>>>;
|
|
@@ -309,7 +296,6 @@ export declare const UpdateSamSchema: z.ZodObject<{
|
|
|
309
296
|
remarks: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodString>>>;
|
|
310
297
|
}, "strip", z.ZodTypeAny, {
|
|
311
298
|
_id?: number | undefined;
|
|
312
|
-
updated_by?: string | undefined;
|
|
313
299
|
agency_id?: string | undefined;
|
|
314
300
|
seen_last_at?: import("../_common/unix-timestamp.js").UnixTimestamp | null | undefined;
|
|
315
301
|
seen_first_at?: import("../_common/unix-timestamp.js").UnixTimestamp | null | undefined;
|
|
@@ -337,7 +323,6 @@ export declare const UpdateSamSchema: z.ZodObject<{
|
|
|
337
323
|
remarks?: string | null | undefined;
|
|
338
324
|
}, {
|
|
339
325
|
_id?: number | undefined;
|
|
340
|
-
updated_by?: string | undefined;
|
|
341
326
|
agency_id?: string | undefined;
|
|
342
327
|
seen_last_at?: number | null | undefined;
|
|
343
328
|
seen_first_at?: number | null | undefined;
|
package/dist/sams/sam.js
CHANGED
|
@@ -6,7 +6,7 @@ import { SamAnalysisSchema } from './sam-analysis.js';
|
|
|
6
6
|
import { z } from 'zod';
|
|
7
7
|
/* * */
|
|
8
8
|
export const SamSchema = DocumentSchema
|
|
9
|
-
.omit({ is_locked: true })
|
|
9
|
+
.omit({ created_by: true, is_locked: true, updated_by: true })
|
|
10
10
|
.extend({
|
|
11
11
|
_id: z.number(),
|
|
12
12
|
agency_id: z.string(),
|
|
@@ -21,4 +21,4 @@ export const SamSchema = DocumentSchema
|
|
|
21
21
|
transactions_missing: z.number().nullable(),
|
|
22
22
|
});
|
|
23
23
|
export const CreateSamSchema = SamSchema.omit({ created_at: true, updated_at: true });
|
|
24
|
-
export const UpdateSamSchema = CreateSamSchema.
|
|
24
|
+
export const UpdateSamSchema = CreateSamSchema.partial();
|
|
@@ -1,3 +1,4 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
+
export declare const StopConnectionValues: readonly ["ferry", "light_rail", "subway", "train", "boat", "airport", "bike_sharing", "bike_parking", "car_parking"];
|
|
2
3
|
export declare const StopConnectionSchema: z.ZodEnum<["ferry", "light_rail", "subway", "train", "boat", "airport", "bike_sharing", "bike_parking", "car_parking"]>;
|
|
3
4
|
export type StopConnection = z.infer<typeof StopConnectionSchema>;
|
package/dist/stops/equipment.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
export declare const ParentStationSchema: z.ZodObject<{
|
|
3
3
|
created_at: z.ZodEffects<z.ZodNumber, import("../index.js").UnixTimestamp, number>;
|
|
4
|
-
created_by: z.
|
|
4
|
+
created_by: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
5
5
|
is_locked: z.ZodDefault<z.ZodBoolean>;
|
|
6
6
|
updated_at: z.ZodEffects<z.ZodNumber, import("../index.js").UnixTimestamp, number>;
|
|
7
7
|
updated_by: z.ZodOptional<z.ZodString>;
|
|
@@ -14,13 +14,13 @@ export declare const ParentStationSchema: z.ZodObject<{
|
|
|
14
14
|
created_at: number & {
|
|
15
15
|
__brand: "UnixTimestamp";
|
|
16
16
|
};
|
|
17
|
+
created_by: string | null;
|
|
17
18
|
is_locked: boolean;
|
|
18
19
|
updated_at: number & {
|
|
19
20
|
__brand: "UnixTimestamp";
|
|
20
21
|
};
|
|
21
22
|
title: string;
|
|
22
23
|
stop_ids: string[];
|
|
23
|
-
created_by?: string | undefined;
|
|
24
24
|
updated_by?: string | undefined;
|
|
25
25
|
}, {
|
|
26
26
|
_id: string;
|
|
@@ -28,13 +28,13 @@ export declare const ParentStationSchema: z.ZodObject<{
|
|
|
28
28
|
updated_at: number;
|
|
29
29
|
title: string;
|
|
30
30
|
stop_ids: string[];
|
|
31
|
-
created_by?: string | undefined;
|
|
31
|
+
created_by?: string | null | undefined;
|
|
32
32
|
is_locked?: boolean | undefined;
|
|
33
33
|
updated_by?: string | undefined;
|
|
34
34
|
}>;
|
|
35
35
|
export declare const CreateParentStationSchema: z.ZodObject<Omit<{
|
|
36
36
|
created_at: z.ZodEffects<z.ZodNumber, import("../index.js").UnixTimestamp, number>;
|
|
37
|
-
created_by: z.
|
|
37
|
+
created_by: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
38
38
|
is_locked: z.ZodDefault<z.ZodBoolean>;
|
|
39
39
|
updated_at: z.ZodEffects<z.ZodNumber, import("../index.js").UnixTimestamp, number>;
|
|
40
40
|
updated_by: z.ZodOptional<z.ZodString>;
|
|
@@ -43,15 +43,15 @@ export declare const CreateParentStationSchema: z.ZodObject<Omit<{
|
|
|
43
43
|
stop_ids: z.ZodArray<z.ZodString, "many">;
|
|
44
44
|
title: z.ZodString;
|
|
45
45
|
}, "_id" | "created_at" | "updated_at">, "strip", z.ZodTypeAny, {
|
|
46
|
+
created_by: string | null;
|
|
46
47
|
is_locked: boolean;
|
|
47
48
|
title: string;
|
|
48
49
|
stop_ids: string[];
|
|
49
|
-
created_by?: string | undefined;
|
|
50
50
|
updated_by?: string | undefined;
|
|
51
51
|
}, {
|
|
52
52
|
title: string;
|
|
53
53
|
stop_ids: string[];
|
|
54
|
-
created_by?: string | undefined;
|
|
54
|
+
created_by?: string | null | undefined;
|
|
55
55
|
is_locked?: boolean | undefined;
|
|
56
56
|
updated_by?: string | undefined;
|
|
57
57
|
}>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
export declare const StopAreaSchema: z.ZodObject<{
|
|
3
3
|
created_at: z.ZodEffects<z.ZodNumber, import("../index.js").UnixTimestamp, number>;
|
|
4
|
-
created_by: z.
|
|
4
|
+
created_by: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
5
5
|
is_locked: z.ZodDefault<z.ZodBoolean>;
|
|
6
6
|
updated_at: z.ZodEffects<z.ZodNumber, import("../index.js").UnixTimestamp, number>;
|
|
7
7
|
updated_by: z.ZodOptional<z.ZodString>;
|
|
@@ -13,25 +13,25 @@ export declare const StopAreaSchema: z.ZodObject<{
|
|
|
13
13
|
created_at: number & {
|
|
14
14
|
__brand: "UnixTimestamp";
|
|
15
15
|
};
|
|
16
|
+
created_by: string | null;
|
|
16
17
|
is_locked: boolean;
|
|
17
18
|
updated_at: number & {
|
|
18
19
|
__brand: "UnixTimestamp";
|
|
19
20
|
};
|
|
20
21
|
parent_station_ids: string[];
|
|
21
|
-
created_by?: string | undefined;
|
|
22
22
|
updated_by?: string | undefined;
|
|
23
23
|
}, {
|
|
24
24
|
_id: string;
|
|
25
25
|
created_at: number;
|
|
26
26
|
updated_at: number;
|
|
27
27
|
parent_station_ids: string[];
|
|
28
|
-
created_by?: string | undefined;
|
|
28
|
+
created_by?: string | null | undefined;
|
|
29
29
|
is_locked?: boolean | undefined;
|
|
30
30
|
updated_by?: string | undefined;
|
|
31
31
|
}>;
|
|
32
32
|
export declare const CreateStopAreaSchema: z.ZodObject<Omit<{
|
|
33
33
|
created_at: z.ZodEffects<z.ZodNumber, import("../index.js").UnixTimestamp, number>;
|
|
34
|
-
created_by: z.
|
|
34
|
+
created_by: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
35
35
|
is_locked: z.ZodDefault<z.ZodBoolean>;
|
|
36
36
|
updated_at: z.ZodEffects<z.ZodNumber, import("../index.js").UnixTimestamp, number>;
|
|
37
37
|
updated_by: z.ZodOptional<z.ZodString>;
|
|
@@ -39,13 +39,13 @@ export declare const CreateStopAreaSchema: z.ZodObject<Omit<{
|
|
|
39
39
|
_id: z.ZodString;
|
|
40
40
|
parent_station_ids: z.ZodArray<z.ZodString, "many">;
|
|
41
41
|
}, "_id" | "created_at" | "updated_at">, "strip", z.ZodTypeAny, {
|
|
42
|
+
created_by: string | null;
|
|
42
43
|
is_locked: boolean;
|
|
43
44
|
parent_station_ids: string[];
|
|
44
|
-
created_by?: string | undefined;
|
|
45
45
|
updated_by?: string | undefined;
|
|
46
46
|
}, {
|
|
47
47
|
parent_station_ids: string[];
|
|
48
|
-
created_by?: string | undefined;
|
|
48
|
+
created_by?: string | null | undefined;
|
|
49
49
|
is_locked?: boolean | undefined;
|
|
50
50
|
updated_by?: string | undefined;
|
|
51
51
|
}>;
|