@tmlmobilidade/types 20260601.2357.7 → 20260602.1550.29
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/file-exports/base.d.ts +11 -11
- package/dist/file-exports/base.js +1 -1
- package/dist/file-exports/file-exports.d.ts +58 -0
- package/dist/file-exports/file-exports.js +2 -0
- package/dist/file-exports/index.d.ts +1 -0
- package/dist/file-exports/index.js +1 -0
- package/dist/file-exports/vehicle-export.d.ts +91 -0
- package/dist/file-exports/vehicle-export.js +16 -0
- package/dist/gtfs-rt/feed-entity.d.ts +24 -24
- package/dist/gtfs-rt/feed-message.d.ts +36 -36
- package/dist/gtfs-rt/vehicle-position.d.ts +12 -12
- package/dist/vehicle-events/raw/ccfl/v1.d.ts +40 -40
- package/dist/vehicle-events/raw/cmet/v1-core.d.ts +60 -60
- package/dist/vehicle-events/raw/cmet/v1-log.d.ts +60 -60
- package/dist/vehicle-events/raw/cp/v1.d.ts +30 -30
- package/dist/vehicle-events/raw/crtm-aisa/v1.d.ts +40 -40
- package/dist/vehicle-events/raw/mobi/v1.d.ts +30 -30
- package/dist/vehicle-events/raw/raw-vehicle-event.d.ts +198 -198
- package/dist/vehicle-events/raw/tcb/v1.d.ts +30 -30
- package/dist/vehicle-events/raw/ttsl/v1.d.ts +40 -40
- package/package.json +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
export declare const FileExportTypes: readonly ["gtfs", "ride", "sams_analysis", "stop"];
|
|
3
|
-
export declare const FileExportTypeSchema: z.ZodEnum<["gtfs", "ride", "sams_analysis", "stop"]>;
|
|
2
|
+
export declare const FileExportTypes: readonly ["gtfs", "ride", "sams_analysis", "stop", "vehicle"];
|
|
3
|
+
export declare const FileExportTypeSchema: z.ZodEnum<["gtfs", "ride", "sams_analysis", "stop", "vehicle"]>;
|
|
4
4
|
export type FileExportType = z.infer<typeof FileExportTypeSchema>;
|
|
5
5
|
export declare const FileExportBaseSchema: z.ZodObject<Omit<{
|
|
6
6
|
_id: z.ZodString;
|
|
@@ -14,7 +14,7 @@ export declare const FileExportBaseSchema: z.ZodObject<Omit<{
|
|
|
14
14
|
file_name: z.ZodString;
|
|
15
15
|
processing_status: z.ZodEnum<["waiting", "processing", "complete", "error", "skipped"]>;
|
|
16
16
|
properties: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
17
|
-
type: z.ZodEnum<["gtfs", "ride", "sams_analysis", "stop"]>;
|
|
17
|
+
type: z.ZodEnum<["gtfs", "ride", "sams_analysis", "stop", "vehicle"]>;
|
|
18
18
|
}, "strip", z.ZodTypeAny, {
|
|
19
19
|
_id: string;
|
|
20
20
|
created_at: number & {
|
|
@@ -24,7 +24,7 @@ export declare const FileExportBaseSchema: z.ZodObject<Omit<{
|
|
|
24
24
|
updated_at: number & {
|
|
25
25
|
__brand: "UnixTimestamp";
|
|
26
26
|
};
|
|
27
|
-
type: "gtfs" | "ride" | "sams_analysis" | "stop";
|
|
27
|
+
type: "gtfs" | "ride" | "sams_analysis" | "stop" | "vehicle";
|
|
28
28
|
file_name: string;
|
|
29
29
|
processing_status: "waiting" | "processing" | "complete" | "error" | "skipped";
|
|
30
30
|
properties: Record<string, any>;
|
|
@@ -34,7 +34,7 @@ export declare const FileExportBaseSchema: z.ZodObject<Omit<{
|
|
|
34
34
|
_id: string;
|
|
35
35
|
created_at: number;
|
|
36
36
|
updated_at: number;
|
|
37
|
-
type: "gtfs" | "ride" | "sams_analysis" | "stop";
|
|
37
|
+
type: "gtfs" | "ride" | "sams_analysis" | "stop" | "vehicle";
|
|
38
38
|
file_name: string;
|
|
39
39
|
processing_status: "waiting" | "processing" | "complete" | "error" | "skipped";
|
|
40
40
|
properties: Record<string, any>;
|
|
@@ -45,7 +45,7 @@ export declare const FileExportBaseSchema: z.ZodObject<Omit<{
|
|
|
45
45
|
export declare const CreateFileExportSchema: z.ZodObject<{
|
|
46
46
|
created_by: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodString>>>;
|
|
47
47
|
updated_by: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
48
|
-
type: z.ZodOptional<z.ZodEnum<["gtfs", "ride", "sams_analysis", "stop"]>>;
|
|
48
|
+
type: z.ZodOptional<z.ZodEnum<["gtfs", "ride", "sams_analysis", "stop", "vehicle"]>>;
|
|
49
49
|
file_id: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>;
|
|
50
50
|
file_name: z.ZodOptional<z.ZodString>;
|
|
51
51
|
processing_status: z.ZodOptional<z.ZodEnum<["waiting", "processing", "complete", "error", "skipped"]>>;
|
|
@@ -53,7 +53,7 @@ export declare const CreateFileExportSchema: z.ZodObject<{
|
|
|
53
53
|
}, "strip", z.ZodTypeAny, {
|
|
54
54
|
created_by?: string | null | undefined;
|
|
55
55
|
updated_by?: string | undefined;
|
|
56
|
-
type?: "gtfs" | "ride" | "sams_analysis" | "stop" | undefined;
|
|
56
|
+
type?: "gtfs" | "ride" | "sams_analysis" | "stop" | "vehicle" | undefined;
|
|
57
57
|
file_id?: string | null | undefined;
|
|
58
58
|
file_name?: string | undefined;
|
|
59
59
|
processing_status?: "waiting" | "processing" | "complete" | "error" | "skipped" | undefined;
|
|
@@ -61,7 +61,7 @@ export declare const CreateFileExportSchema: z.ZodObject<{
|
|
|
61
61
|
}, {
|
|
62
62
|
created_by?: string | null | undefined;
|
|
63
63
|
updated_by?: string | undefined;
|
|
64
|
-
type?: "gtfs" | "ride" | "sams_analysis" | "stop" | undefined;
|
|
64
|
+
type?: "gtfs" | "ride" | "sams_analysis" | "stop" | "vehicle" | undefined;
|
|
65
65
|
file_id?: string | null | undefined;
|
|
66
66
|
file_name?: string | undefined;
|
|
67
67
|
processing_status?: "waiting" | "processing" | "complete" | "error" | "skipped" | undefined;
|
|
@@ -70,7 +70,7 @@ export declare const CreateFileExportSchema: z.ZodObject<{
|
|
|
70
70
|
export declare const UpdateFileExportSchema: z.ZodObject<{
|
|
71
71
|
created_by: z.ZodOptional<z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodString>>>>;
|
|
72
72
|
updated_by: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodString>>>;
|
|
73
|
-
type: z.ZodOptional<z.ZodOptional<z.ZodEnum<["gtfs", "ride", "sams_analysis", "stop"]>>>;
|
|
73
|
+
type: z.ZodOptional<z.ZodOptional<z.ZodEnum<["gtfs", "ride", "sams_analysis", "stop", "vehicle"]>>>;
|
|
74
74
|
file_id: z.ZodOptional<z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodString>>>>;
|
|
75
75
|
file_name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
76
76
|
processing_status: z.ZodOptional<z.ZodOptional<z.ZodEnum<["waiting", "processing", "complete", "error", "skipped"]>>>;
|
|
@@ -78,7 +78,7 @@ export declare const UpdateFileExportSchema: z.ZodObject<{
|
|
|
78
78
|
}, "strip", z.ZodTypeAny, {
|
|
79
79
|
created_by?: string | null | undefined;
|
|
80
80
|
updated_by?: string | undefined;
|
|
81
|
-
type?: "gtfs" | "ride" | "sams_analysis" | "stop" | undefined;
|
|
81
|
+
type?: "gtfs" | "ride" | "sams_analysis" | "stop" | "vehicle" | undefined;
|
|
82
82
|
file_id?: string | null | undefined;
|
|
83
83
|
file_name?: string | undefined;
|
|
84
84
|
processing_status?: "waiting" | "processing" | "complete" | "error" | "skipped" | undefined;
|
|
@@ -86,7 +86,7 @@ export declare const UpdateFileExportSchema: z.ZodObject<{
|
|
|
86
86
|
}, {
|
|
87
87
|
created_by?: string | null | undefined;
|
|
88
88
|
updated_by?: string | undefined;
|
|
89
|
-
type?: "gtfs" | "ride" | "sams_analysis" | "stop" | undefined;
|
|
89
|
+
type?: "gtfs" | "ride" | "sams_analysis" | "stop" | "vehicle" | undefined;
|
|
90
90
|
file_id?: string | null | undefined;
|
|
91
91
|
file_name?: string | undefined;
|
|
92
92
|
processing_status?: "waiting" | "processing" | "complete" | "error" | "skipped" | undefined;
|
|
@@ -3,7 +3,7 @@ import { DocumentSchema } from '../_common/document.js';
|
|
|
3
3
|
import { ProcessingStatusSchema } from '../_common/status.js';
|
|
4
4
|
import { z } from 'zod';
|
|
5
5
|
/* * */
|
|
6
|
-
export const FileExportTypes = ['gtfs', 'ride', 'sams_analysis', 'stop'];
|
|
6
|
+
export const FileExportTypes = ['gtfs', 'ride', 'sams_analysis', 'stop', 'vehicle'];
|
|
7
7
|
export const FileExportTypeSchema = z.enum(FileExportTypes);
|
|
8
8
|
/* * */
|
|
9
9
|
export const FileExportBaseSchema = DocumentSchema
|
|
@@ -450,5 +450,63 @@ export declare const FileExportSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObj
|
|
|
450
450
|
created_by?: string | null | undefined;
|
|
451
451
|
updated_by?: string | undefined;
|
|
452
452
|
file_id?: string | null | undefined;
|
|
453
|
+
}>, z.ZodObject<{
|
|
454
|
+
_id: z.ZodString;
|
|
455
|
+
created_at: z.ZodEffects<z.ZodNumber, import("../index.js").UnixTimestamp, number>;
|
|
456
|
+
created_by: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
457
|
+
updated_at: z.ZodEffects<z.ZodNumber, import("../index.js").UnixTimestamp, number>;
|
|
458
|
+
updated_by: z.ZodOptional<z.ZodString>;
|
|
459
|
+
file_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
460
|
+
file_name: z.ZodString;
|
|
461
|
+
processing_status: z.ZodEnum<["waiting", "processing", "complete", "error", "skipped"]>;
|
|
462
|
+
} & {
|
|
463
|
+
properties: z.ZodObject<{
|
|
464
|
+
agency_ids: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
465
|
+
search: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
466
|
+
vehicle_ids: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
467
|
+
}, "strip", z.ZodTypeAny, {
|
|
468
|
+
agency_ids?: string[] | null | undefined;
|
|
469
|
+
search?: string | null | undefined;
|
|
470
|
+
vehicle_ids?: string[] | null | undefined;
|
|
471
|
+
}, {
|
|
472
|
+
agency_ids?: string[] | null | undefined;
|
|
473
|
+
search?: string | null | undefined;
|
|
474
|
+
vehicle_ids?: string[] | null | undefined;
|
|
475
|
+
}>;
|
|
476
|
+
type: z.ZodLiteral<"vehicle">;
|
|
477
|
+
}, "strip", z.ZodTypeAny, {
|
|
478
|
+
_id: string;
|
|
479
|
+
created_at: number & {
|
|
480
|
+
__brand: "UnixTimestamp";
|
|
481
|
+
};
|
|
482
|
+
created_by: string | null;
|
|
483
|
+
updated_at: number & {
|
|
484
|
+
__brand: "UnixTimestamp";
|
|
485
|
+
};
|
|
486
|
+
type: "vehicle";
|
|
487
|
+
file_name: string;
|
|
488
|
+
processing_status: "waiting" | "processing" | "complete" | "error" | "skipped";
|
|
489
|
+
properties: {
|
|
490
|
+
agency_ids?: string[] | null | undefined;
|
|
491
|
+
search?: string | null | undefined;
|
|
492
|
+
vehicle_ids?: string[] | null | undefined;
|
|
493
|
+
};
|
|
494
|
+
updated_by?: string | undefined;
|
|
495
|
+
file_id?: string | null | undefined;
|
|
496
|
+
}, {
|
|
497
|
+
_id: string;
|
|
498
|
+
created_at: number;
|
|
499
|
+
updated_at: number;
|
|
500
|
+
type: "vehicle";
|
|
501
|
+
file_name: string;
|
|
502
|
+
processing_status: "waiting" | "processing" | "complete" | "error" | "skipped";
|
|
503
|
+
properties: {
|
|
504
|
+
agency_ids?: string[] | null | undefined;
|
|
505
|
+
search?: string | null | undefined;
|
|
506
|
+
vehicle_ids?: string[] | null | undefined;
|
|
507
|
+
};
|
|
508
|
+
created_by?: string | null | undefined;
|
|
509
|
+
updated_by?: string | undefined;
|
|
510
|
+
file_id?: string | null | undefined;
|
|
453
511
|
}>]>;
|
|
454
512
|
export type FileExport = z.infer<typeof FileExportSchema>;
|
|
@@ -3,6 +3,7 @@ import { GtfsExportSchema } from './gtfs-export.js';
|
|
|
3
3
|
import { RideExportSchema } from './ride-export.js';
|
|
4
4
|
import { SamsAnalysisExportSchema } from './sams-analysis-export.js';
|
|
5
5
|
import { StopExportSchema } from './stop-export.js';
|
|
6
|
+
import { VehicleExportSchema } from './vehicle-export.js';
|
|
6
7
|
import { z } from 'zod';
|
|
7
8
|
/* * */
|
|
8
9
|
export const FileExportSchema = z.discriminatedUnion('type', [
|
|
@@ -10,4 +11,5 @@ export const FileExportSchema = z.discriminatedUnion('type', [
|
|
|
10
11
|
RideExportSchema,
|
|
11
12
|
SamsAnalysisExportSchema,
|
|
12
13
|
StopExportSchema,
|
|
14
|
+
VehicleExportSchema,
|
|
13
15
|
]);
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare const VehicleExportPropertiesSchema: z.ZodObject<{
|
|
3
|
+
properties: z.ZodObject<{
|
|
4
|
+
agency_ids: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
5
|
+
search: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
6
|
+
vehicle_ids: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
7
|
+
}, "strip", z.ZodTypeAny, {
|
|
8
|
+
agency_ids?: string[] | null | undefined;
|
|
9
|
+
search?: string | null | undefined;
|
|
10
|
+
vehicle_ids?: string[] | null | undefined;
|
|
11
|
+
}, {
|
|
12
|
+
agency_ids?: string[] | null | undefined;
|
|
13
|
+
search?: string | null | undefined;
|
|
14
|
+
vehicle_ids?: string[] | null | undefined;
|
|
15
|
+
}>;
|
|
16
|
+
type: z.ZodLiteral<"vehicle">;
|
|
17
|
+
}, "strip", z.ZodTypeAny, {
|
|
18
|
+
type: "vehicle";
|
|
19
|
+
properties: {
|
|
20
|
+
agency_ids?: string[] | null | undefined;
|
|
21
|
+
search?: string | null | undefined;
|
|
22
|
+
vehicle_ids?: string[] | null | undefined;
|
|
23
|
+
};
|
|
24
|
+
}, {
|
|
25
|
+
type: "vehicle";
|
|
26
|
+
properties: {
|
|
27
|
+
agency_ids?: string[] | null | undefined;
|
|
28
|
+
search?: string | null | undefined;
|
|
29
|
+
vehicle_ids?: string[] | null | undefined;
|
|
30
|
+
};
|
|
31
|
+
}>;
|
|
32
|
+
export declare const VehicleExportSchema: z.ZodObject<{
|
|
33
|
+
_id: z.ZodString;
|
|
34
|
+
created_at: z.ZodEffects<z.ZodNumber, import("../index.js").UnixTimestamp, number>;
|
|
35
|
+
created_by: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
36
|
+
updated_at: z.ZodEffects<z.ZodNumber, import("../index.js").UnixTimestamp, number>;
|
|
37
|
+
updated_by: z.ZodOptional<z.ZodString>;
|
|
38
|
+
file_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
39
|
+
file_name: z.ZodString;
|
|
40
|
+
processing_status: z.ZodEnum<["waiting", "processing", "complete", "error", "skipped"]>;
|
|
41
|
+
} & {
|
|
42
|
+
properties: z.ZodObject<{
|
|
43
|
+
agency_ids: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
44
|
+
search: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
45
|
+
vehicle_ids: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
46
|
+
}, "strip", z.ZodTypeAny, {
|
|
47
|
+
agency_ids?: string[] | null | undefined;
|
|
48
|
+
search?: string | null | undefined;
|
|
49
|
+
vehicle_ids?: string[] | null | undefined;
|
|
50
|
+
}, {
|
|
51
|
+
agency_ids?: string[] | null | undefined;
|
|
52
|
+
search?: string | null | undefined;
|
|
53
|
+
vehicle_ids?: string[] | null | undefined;
|
|
54
|
+
}>;
|
|
55
|
+
type: z.ZodLiteral<"vehicle">;
|
|
56
|
+
}, "strip", z.ZodTypeAny, {
|
|
57
|
+
_id: string;
|
|
58
|
+
created_at: number & {
|
|
59
|
+
__brand: "UnixTimestamp";
|
|
60
|
+
};
|
|
61
|
+
created_by: string | null;
|
|
62
|
+
updated_at: number & {
|
|
63
|
+
__brand: "UnixTimestamp";
|
|
64
|
+
};
|
|
65
|
+
type: "vehicle";
|
|
66
|
+
file_name: string;
|
|
67
|
+
processing_status: "waiting" | "processing" | "complete" | "error" | "skipped";
|
|
68
|
+
properties: {
|
|
69
|
+
agency_ids?: string[] | null | undefined;
|
|
70
|
+
search?: string | null | undefined;
|
|
71
|
+
vehicle_ids?: string[] | null | undefined;
|
|
72
|
+
};
|
|
73
|
+
updated_by?: string | undefined;
|
|
74
|
+
file_id?: string | null | undefined;
|
|
75
|
+
}, {
|
|
76
|
+
_id: string;
|
|
77
|
+
created_at: number;
|
|
78
|
+
updated_at: number;
|
|
79
|
+
type: "vehicle";
|
|
80
|
+
file_name: string;
|
|
81
|
+
processing_status: "waiting" | "processing" | "complete" | "error" | "skipped";
|
|
82
|
+
properties: {
|
|
83
|
+
agency_ids?: string[] | null | undefined;
|
|
84
|
+
search?: string | null | undefined;
|
|
85
|
+
vehicle_ids?: string[] | null | undefined;
|
|
86
|
+
};
|
|
87
|
+
created_by?: string | null | undefined;
|
|
88
|
+
updated_by?: string | undefined;
|
|
89
|
+
file_id?: string | null | undefined;
|
|
90
|
+
}>;
|
|
91
|
+
export type VehicleExportProperties = z.infer<typeof VehicleExportPropertiesSchema>;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/* * */
|
|
2
|
+
import { FileExportBaseSchema } from './base.js';
|
|
3
|
+
import { z } from 'zod';
|
|
4
|
+
/* * */
|
|
5
|
+
/* PROPERTIES SCHEMA */
|
|
6
|
+
export const VehicleExportPropertiesSchema = z.object({
|
|
7
|
+
properties: z.object({
|
|
8
|
+
agency_ids: z.array(z.string()).optional().nullable(),
|
|
9
|
+
search: z.string().optional().nullable(),
|
|
10
|
+
vehicle_ids: z.array(z.string()).optional().nullable(),
|
|
11
|
+
}),
|
|
12
|
+
type: z.literal('vehicle'),
|
|
13
|
+
});
|
|
14
|
+
/* CREATE SCHEMA */
|
|
15
|
+
/* * */
|
|
16
|
+
export const VehicleExportSchema = FileExportBaseSchema.extend(VehicleExportPropertiesSchema.shape);
|
|
@@ -437,6 +437,12 @@ export declare const GtfsRtFeedEntitySchema: z.ZodObject<{
|
|
|
437
437
|
license_plate: string;
|
|
438
438
|
}>;
|
|
439
439
|
}, "strip", z.ZodTypeAny, {
|
|
440
|
+
vehicle: {
|
|
441
|
+
id: string;
|
|
442
|
+
wheelchair_accessible: "NO_VALUE" | "UNKNOWN" | "WHEELCHAIR_ACCESSIBLE" | "WHEELCHAIR_INACCESSIBLE";
|
|
443
|
+
label: string;
|
|
444
|
+
license_plate: string;
|
|
445
|
+
};
|
|
440
446
|
trip: {
|
|
441
447
|
trip_id: string;
|
|
442
448
|
route_id: string;
|
|
@@ -455,12 +461,6 @@ export declare const GtfsRtFeedEntitySchema: z.ZodObject<{
|
|
|
455
461
|
odometer?: number | null | undefined;
|
|
456
462
|
speed?: number | null | undefined;
|
|
457
463
|
};
|
|
458
|
-
vehicle: {
|
|
459
|
-
id: string;
|
|
460
|
-
wheelchair_accessible: "NO_VALUE" | "UNKNOWN" | "WHEELCHAIR_ACCESSIBLE" | "WHEELCHAIR_INACCESSIBLE";
|
|
461
|
-
label: string;
|
|
462
|
-
license_plate: string;
|
|
463
|
-
};
|
|
464
464
|
stop_id?: string | null | undefined;
|
|
465
465
|
occupancy_percentage?: number | null | undefined;
|
|
466
466
|
occupancy_status?: "EMPTY" | "MANY_SEATS_AVAILABLE" | "FEW_SEATS_AVAILABLE" | "STANDING_ROOM_ONLY" | "CRUSHED_STANDING_ROOM_ONLY" | "FULL" | "NOT_ACCEPTING_PASSENGERS" | "NO_DATA_AVAILABLE" | "NOT_BOARDABLE" | null | undefined;
|
|
@@ -476,6 +476,12 @@ export declare const GtfsRtFeedEntitySchema: z.ZodObject<{
|
|
|
476
476
|
}[] | null | undefined;
|
|
477
477
|
timestamp?: number | null | undefined;
|
|
478
478
|
}, {
|
|
479
|
+
vehicle: {
|
|
480
|
+
id: string;
|
|
481
|
+
wheelchair_accessible: "NO_VALUE" | "UNKNOWN" | "WHEELCHAIR_ACCESSIBLE" | "WHEELCHAIR_INACCESSIBLE";
|
|
482
|
+
label: string;
|
|
483
|
+
license_plate: string;
|
|
484
|
+
};
|
|
479
485
|
trip: {
|
|
480
486
|
trip_id: string;
|
|
481
487
|
route_id: string;
|
|
@@ -492,12 +498,6 @@ export declare const GtfsRtFeedEntitySchema: z.ZodObject<{
|
|
|
492
498
|
odometer?: number | null | undefined;
|
|
493
499
|
speed?: number | null | undefined;
|
|
494
500
|
};
|
|
495
|
-
vehicle: {
|
|
496
|
-
id: string;
|
|
497
|
-
wheelchair_accessible: "NO_VALUE" | "UNKNOWN" | "WHEELCHAIR_ACCESSIBLE" | "WHEELCHAIR_INACCESSIBLE";
|
|
498
|
-
label: string;
|
|
499
|
-
license_plate: string;
|
|
500
|
-
};
|
|
501
501
|
stop_id?: string | null | undefined;
|
|
502
502
|
occupancy_percentage?: number | null | undefined;
|
|
503
503
|
occupancy_status?: "EMPTY" | "MANY_SEATS_AVAILABLE" | "FEW_SEATS_AVAILABLE" | "STANDING_ROOM_ONLY" | "CRUSHED_STANDING_ROOM_ONLY" | "FULL" | "NOT_ACCEPTING_PASSENGERS" | "NO_DATA_AVAILABLE" | "NOT_BOARDABLE" | null | undefined;
|
|
@@ -516,6 +516,12 @@ export declare const GtfsRtFeedEntitySchema: z.ZodObject<{
|
|
|
516
516
|
}, "strip", z.ZodTypeAny, {
|
|
517
517
|
id: string;
|
|
518
518
|
vehicle?: {
|
|
519
|
+
vehicle: {
|
|
520
|
+
id: string;
|
|
521
|
+
wheelchair_accessible: "NO_VALUE" | "UNKNOWN" | "WHEELCHAIR_ACCESSIBLE" | "WHEELCHAIR_INACCESSIBLE";
|
|
522
|
+
label: string;
|
|
523
|
+
license_plate: string;
|
|
524
|
+
};
|
|
519
525
|
trip: {
|
|
520
526
|
trip_id: string;
|
|
521
527
|
route_id: string;
|
|
@@ -534,12 +540,6 @@ export declare const GtfsRtFeedEntitySchema: z.ZodObject<{
|
|
|
534
540
|
odometer?: number | null | undefined;
|
|
535
541
|
speed?: number | null | undefined;
|
|
536
542
|
};
|
|
537
|
-
vehicle: {
|
|
538
|
-
id: string;
|
|
539
|
-
wheelchair_accessible: "NO_VALUE" | "UNKNOWN" | "WHEELCHAIR_ACCESSIBLE" | "WHEELCHAIR_INACCESSIBLE";
|
|
540
|
-
label: string;
|
|
541
|
-
license_plate: string;
|
|
542
|
-
};
|
|
543
543
|
stop_id?: string | null | undefined;
|
|
544
544
|
occupancy_percentage?: number | null | undefined;
|
|
545
545
|
occupancy_status?: "EMPTY" | "MANY_SEATS_AVAILABLE" | "FEW_SEATS_AVAILABLE" | "STANDING_ROOM_ONLY" | "CRUSHED_STANDING_ROOM_ONLY" | "FULL" | "NOT_ACCEPTING_PASSENGERS" | "NO_DATA_AVAILABLE" | "NOT_BOARDABLE" | null | undefined;
|
|
@@ -624,6 +624,12 @@ export declare const GtfsRtFeedEntitySchema: z.ZodObject<{
|
|
|
624
624
|
}, {
|
|
625
625
|
id: string;
|
|
626
626
|
vehicle?: {
|
|
627
|
+
vehicle: {
|
|
628
|
+
id: string;
|
|
629
|
+
wheelchair_accessible: "NO_VALUE" | "UNKNOWN" | "WHEELCHAIR_ACCESSIBLE" | "WHEELCHAIR_INACCESSIBLE";
|
|
630
|
+
label: string;
|
|
631
|
+
license_plate: string;
|
|
632
|
+
};
|
|
627
633
|
trip: {
|
|
628
634
|
trip_id: string;
|
|
629
635
|
route_id: string;
|
|
@@ -640,12 +646,6 @@ export declare const GtfsRtFeedEntitySchema: z.ZodObject<{
|
|
|
640
646
|
odometer?: number | null | undefined;
|
|
641
647
|
speed?: number | null | undefined;
|
|
642
648
|
};
|
|
643
|
-
vehicle: {
|
|
644
|
-
id: string;
|
|
645
|
-
wheelchair_accessible: "NO_VALUE" | "UNKNOWN" | "WHEELCHAIR_ACCESSIBLE" | "WHEELCHAIR_INACCESSIBLE";
|
|
646
|
-
label: string;
|
|
647
|
-
license_plate: string;
|
|
648
|
-
};
|
|
649
649
|
stop_id?: string | null | undefined;
|
|
650
650
|
occupancy_percentage?: number | null | undefined;
|
|
651
651
|
occupancy_status?: "EMPTY" | "MANY_SEATS_AVAILABLE" | "FEW_SEATS_AVAILABLE" | "STANDING_ROOM_ONLY" | "CRUSHED_STANDING_ROOM_ONLY" | "FULL" | "NOT_ACCEPTING_PASSENGERS" | "NO_DATA_AVAILABLE" | "NOT_BOARDABLE" | null | undefined;
|
|
@@ -438,6 +438,12 @@ export declare const GtfsRtFeedMessageSchema: z.ZodObject<{
|
|
|
438
438
|
license_plate: string;
|
|
439
439
|
}>;
|
|
440
440
|
}, "strip", z.ZodTypeAny, {
|
|
441
|
+
vehicle: {
|
|
442
|
+
id: string;
|
|
443
|
+
wheelchair_accessible: "NO_VALUE" | "UNKNOWN" | "WHEELCHAIR_ACCESSIBLE" | "WHEELCHAIR_INACCESSIBLE";
|
|
444
|
+
label: string;
|
|
445
|
+
license_plate: string;
|
|
446
|
+
};
|
|
441
447
|
trip: {
|
|
442
448
|
trip_id: string;
|
|
443
449
|
route_id: string;
|
|
@@ -456,12 +462,6 @@ export declare const GtfsRtFeedMessageSchema: z.ZodObject<{
|
|
|
456
462
|
odometer?: number | null | undefined;
|
|
457
463
|
speed?: number | null | undefined;
|
|
458
464
|
};
|
|
459
|
-
vehicle: {
|
|
460
|
-
id: string;
|
|
461
|
-
wheelchair_accessible: "NO_VALUE" | "UNKNOWN" | "WHEELCHAIR_ACCESSIBLE" | "WHEELCHAIR_INACCESSIBLE";
|
|
462
|
-
label: string;
|
|
463
|
-
license_plate: string;
|
|
464
|
-
};
|
|
465
465
|
stop_id?: string | null | undefined;
|
|
466
466
|
occupancy_percentage?: number | null | undefined;
|
|
467
467
|
occupancy_status?: "EMPTY" | "MANY_SEATS_AVAILABLE" | "FEW_SEATS_AVAILABLE" | "STANDING_ROOM_ONLY" | "CRUSHED_STANDING_ROOM_ONLY" | "FULL" | "NOT_ACCEPTING_PASSENGERS" | "NO_DATA_AVAILABLE" | "NOT_BOARDABLE" | null | undefined;
|
|
@@ -477,6 +477,12 @@ export declare const GtfsRtFeedMessageSchema: z.ZodObject<{
|
|
|
477
477
|
}[] | null | undefined;
|
|
478
478
|
timestamp?: number | null | undefined;
|
|
479
479
|
}, {
|
|
480
|
+
vehicle: {
|
|
481
|
+
id: string;
|
|
482
|
+
wheelchair_accessible: "NO_VALUE" | "UNKNOWN" | "WHEELCHAIR_ACCESSIBLE" | "WHEELCHAIR_INACCESSIBLE";
|
|
483
|
+
label: string;
|
|
484
|
+
license_plate: string;
|
|
485
|
+
};
|
|
480
486
|
trip: {
|
|
481
487
|
trip_id: string;
|
|
482
488
|
route_id: string;
|
|
@@ -493,12 +499,6 @@ export declare const GtfsRtFeedMessageSchema: z.ZodObject<{
|
|
|
493
499
|
odometer?: number | null | undefined;
|
|
494
500
|
speed?: number | null | undefined;
|
|
495
501
|
};
|
|
496
|
-
vehicle: {
|
|
497
|
-
id: string;
|
|
498
|
-
wheelchair_accessible: "NO_VALUE" | "UNKNOWN" | "WHEELCHAIR_ACCESSIBLE" | "WHEELCHAIR_INACCESSIBLE";
|
|
499
|
-
label: string;
|
|
500
|
-
license_plate: string;
|
|
501
|
-
};
|
|
502
502
|
stop_id?: string | null | undefined;
|
|
503
503
|
occupancy_percentage?: number | null | undefined;
|
|
504
504
|
occupancy_status?: "EMPTY" | "MANY_SEATS_AVAILABLE" | "FEW_SEATS_AVAILABLE" | "STANDING_ROOM_ONLY" | "CRUSHED_STANDING_ROOM_ONLY" | "FULL" | "NOT_ACCEPTING_PASSENGERS" | "NO_DATA_AVAILABLE" | "NOT_BOARDABLE" | null | undefined;
|
|
@@ -517,6 +517,12 @@ export declare const GtfsRtFeedMessageSchema: z.ZodObject<{
|
|
|
517
517
|
}, "strip", z.ZodTypeAny, {
|
|
518
518
|
id: string;
|
|
519
519
|
vehicle?: {
|
|
520
|
+
vehicle: {
|
|
521
|
+
id: string;
|
|
522
|
+
wheelchair_accessible: "NO_VALUE" | "UNKNOWN" | "WHEELCHAIR_ACCESSIBLE" | "WHEELCHAIR_INACCESSIBLE";
|
|
523
|
+
label: string;
|
|
524
|
+
license_plate: string;
|
|
525
|
+
};
|
|
520
526
|
trip: {
|
|
521
527
|
trip_id: string;
|
|
522
528
|
route_id: string;
|
|
@@ -535,12 +541,6 @@ export declare const GtfsRtFeedMessageSchema: z.ZodObject<{
|
|
|
535
541
|
odometer?: number | null | undefined;
|
|
536
542
|
speed?: number | null | undefined;
|
|
537
543
|
};
|
|
538
|
-
vehicle: {
|
|
539
|
-
id: string;
|
|
540
|
-
wheelchair_accessible: "NO_VALUE" | "UNKNOWN" | "WHEELCHAIR_ACCESSIBLE" | "WHEELCHAIR_INACCESSIBLE";
|
|
541
|
-
label: string;
|
|
542
|
-
license_plate: string;
|
|
543
|
-
};
|
|
544
544
|
stop_id?: string | null | undefined;
|
|
545
545
|
occupancy_percentage?: number | null | undefined;
|
|
546
546
|
occupancy_status?: "EMPTY" | "MANY_SEATS_AVAILABLE" | "FEW_SEATS_AVAILABLE" | "STANDING_ROOM_ONLY" | "CRUSHED_STANDING_ROOM_ONLY" | "FULL" | "NOT_ACCEPTING_PASSENGERS" | "NO_DATA_AVAILABLE" | "NOT_BOARDABLE" | null | undefined;
|
|
@@ -625,6 +625,12 @@ export declare const GtfsRtFeedMessageSchema: z.ZodObject<{
|
|
|
625
625
|
}, {
|
|
626
626
|
id: string;
|
|
627
627
|
vehicle?: {
|
|
628
|
+
vehicle: {
|
|
629
|
+
id: string;
|
|
630
|
+
wheelchair_accessible: "NO_VALUE" | "UNKNOWN" | "WHEELCHAIR_ACCESSIBLE" | "WHEELCHAIR_INACCESSIBLE";
|
|
631
|
+
label: string;
|
|
632
|
+
license_plate: string;
|
|
633
|
+
};
|
|
628
634
|
trip: {
|
|
629
635
|
trip_id: string;
|
|
630
636
|
route_id: string;
|
|
@@ -641,12 +647,6 @@ export declare const GtfsRtFeedMessageSchema: z.ZodObject<{
|
|
|
641
647
|
odometer?: number | null | undefined;
|
|
642
648
|
speed?: number | null | undefined;
|
|
643
649
|
};
|
|
644
|
-
vehicle: {
|
|
645
|
-
id: string;
|
|
646
|
-
wheelchair_accessible: "NO_VALUE" | "UNKNOWN" | "WHEELCHAIR_ACCESSIBLE" | "WHEELCHAIR_INACCESSIBLE";
|
|
647
|
-
label: string;
|
|
648
|
-
license_plate: string;
|
|
649
|
-
};
|
|
650
650
|
stop_id?: string | null | undefined;
|
|
651
651
|
occupancy_percentage?: number | null | undefined;
|
|
652
652
|
occupancy_status?: "EMPTY" | "MANY_SEATS_AVAILABLE" | "FEW_SEATS_AVAILABLE" | "STANDING_ROOM_ONLY" | "CRUSHED_STANDING_ROOM_ONLY" | "FULL" | "NOT_ACCEPTING_PASSENGERS" | "NO_DATA_AVAILABLE" | "NOT_BOARDABLE" | null | undefined;
|
|
@@ -747,6 +747,12 @@ export declare const GtfsRtFeedMessageSchema: z.ZodObject<{
|
|
|
747
747
|
entity: {
|
|
748
748
|
id: string;
|
|
749
749
|
vehicle?: {
|
|
750
|
+
vehicle: {
|
|
751
|
+
id: string;
|
|
752
|
+
wheelchair_accessible: "NO_VALUE" | "UNKNOWN" | "WHEELCHAIR_ACCESSIBLE" | "WHEELCHAIR_INACCESSIBLE";
|
|
753
|
+
label: string;
|
|
754
|
+
license_plate: string;
|
|
755
|
+
};
|
|
750
756
|
trip: {
|
|
751
757
|
trip_id: string;
|
|
752
758
|
route_id: string;
|
|
@@ -765,12 +771,6 @@ export declare const GtfsRtFeedMessageSchema: z.ZodObject<{
|
|
|
765
771
|
odometer?: number | null | undefined;
|
|
766
772
|
speed?: number | null | undefined;
|
|
767
773
|
};
|
|
768
|
-
vehicle: {
|
|
769
|
-
id: string;
|
|
770
|
-
wheelchair_accessible: "NO_VALUE" | "UNKNOWN" | "WHEELCHAIR_ACCESSIBLE" | "WHEELCHAIR_INACCESSIBLE";
|
|
771
|
-
label: string;
|
|
772
|
-
license_plate: string;
|
|
773
|
-
};
|
|
774
774
|
stop_id?: string | null | undefined;
|
|
775
775
|
occupancy_percentage?: number | null | undefined;
|
|
776
776
|
occupancy_status?: "EMPTY" | "MANY_SEATS_AVAILABLE" | "FEW_SEATS_AVAILABLE" | "STANDING_ROOM_ONLY" | "CRUSHED_STANDING_ROOM_ONLY" | "FULL" | "NOT_ACCEPTING_PASSENGERS" | "NO_DATA_AVAILABLE" | "NOT_BOARDABLE" | null | undefined;
|
|
@@ -863,6 +863,12 @@ export declare const GtfsRtFeedMessageSchema: z.ZodObject<{
|
|
|
863
863
|
entity: {
|
|
864
864
|
id: string;
|
|
865
865
|
vehicle?: {
|
|
866
|
+
vehicle: {
|
|
867
|
+
id: string;
|
|
868
|
+
wheelchair_accessible: "NO_VALUE" | "UNKNOWN" | "WHEELCHAIR_ACCESSIBLE" | "WHEELCHAIR_INACCESSIBLE";
|
|
869
|
+
label: string;
|
|
870
|
+
license_plate: string;
|
|
871
|
+
};
|
|
866
872
|
trip: {
|
|
867
873
|
trip_id: string;
|
|
868
874
|
route_id: string;
|
|
@@ -879,12 +885,6 @@ export declare const GtfsRtFeedMessageSchema: z.ZodObject<{
|
|
|
879
885
|
odometer?: number | null | undefined;
|
|
880
886
|
speed?: number | null | undefined;
|
|
881
887
|
};
|
|
882
|
-
vehicle: {
|
|
883
|
-
id: string;
|
|
884
|
-
wheelchair_accessible: "NO_VALUE" | "UNKNOWN" | "WHEELCHAIR_ACCESSIBLE" | "WHEELCHAIR_INACCESSIBLE";
|
|
885
|
-
label: string;
|
|
886
|
-
license_plate: string;
|
|
887
|
-
};
|
|
888
888
|
stop_id?: string | null | undefined;
|
|
889
889
|
occupancy_percentage?: number | null | undefined;
|
|
890
890
|
occupancy_status?: "EMPTY" | "MANY_SEATS_AVAILABLE" | "FEW_SEATS_AVAILABLE" | "STANDING_ROOM_ONLY" | "CRUSHED_STANDING_ROOM_ONLY" | "FULL" | "NOT_ACCEPTING_PASSENGERS" | "NO_DATA_AVAILABLE" | "NOT_BOARDABLE" | null | undefined;
|
|
@@ -89,6 +89,12 @@ export declare const GtfsRtVehiclePositionSchema: z.ZodObject<{
|
|
|
89
89
|
license_plate: string;
|
|
90
90
|
}>;
|
|
91
91
|
}, "strip", z.ZodTypeAny, {
|
|
92
|
+
vehicle: {
|
|
93
|
+
id: string;
|
|
94
|
+
wheelchair_accessible: "NO_VALUE" | "UNKNOWN" | "WHEELCHAIR_ACCESSIBLE" | "WHEELCHAIR_INACCESSIBLE";
|
|
95
|
+
label: string;
|
|
96
|
+
license_plate: string;
|
|
97
|
+
};
|
|
92
98
|
trip: {
|
|
93
99
|
trip_id: string;
|
|
94
100
|
route_id: string;
|
|
@@ -107,12 +113,6 @@ export declare const GtfsRtVehiclePositionSchema: z.ZodObject<{
|
|
|
107
113
|
odometer?: number | null | undefined;
|
|
108
114
|
speed?: number | null | undefined;
|
|
109
115
|
};
|
|
110
|
-
vehicle: {
|
|
111
|
-
id: string;
|
|
112
|
-
wheelchair_accessible: "NO_VALUE" | "UNKNOWN" | "WHEELCHAIR_ACCESSIBLE" | "WHEELCHAIR_INACCESSIBLE";
|
|
113
|
-
label: string;
|
|
114
|
-
license_plate: string;
|
|
115
|
-
};
|
|
116
116
|
stop_id?: string | null | undefined;
|
|
117
117
|
occupancy_percentage?: number | null | undefined;
|
|
118
118
|
occupancy_status?: "EMPTY" | "MANY_SEATS_AVAILABLE" | "FEW_SEATS_AVAILABLE" | "STANDING_ROOM_ONLY" | "CRUSHED_STANDING_ROOM_ONLY" | "FULL" | "NOT_ACCEPTING_PASSENGERS" | "NO_DATA_AVAILABLE" | "NOT_BOARDABLE" | null | undefined;
|
|
@@ -128,6 +128,12 @@ export declare const GtfsRtVehiclePositionSchema: z.ZodObject<{
|
|
|
128
128
|
}[] | null | undefined;
|
|
129
129
|
timestamp?: number | null | undefined;
|
|
130
130
|
}, {
|
|
131
|
+
vehicle: {
|
|
132
|
+
id: string;
|
|
133
|
+
wheelchair_accessible: "NO_VALUE" | "UNKNOWN" | "WHEELCHAIR_ACCESSIBLE" | "WHEELCHAIR_INACCESSIBLE";
|
|
134
|
+
label: string;
|
|
135
|
+
license_plate: string;
|
|
136
|
+
};
|
|
131
137
|
trip: {
|
|
132
138
|
trip_id: string;
|
|
133
139
|
route_id: string;
|
|
@@ -144,12 +150,6 @@ export declare const GtfsRtVehiclePositionSchema: z.ZodObject<{
|
|
|
144
150
|
odometer?: number | null | undefined;
|
|
145
151
|
speed?: number | null | undefined;
|
|
146
152
|
};
|
|
147
|
-
vehicle: {
|
|
148
|
-
id: string;
|
|
149
|
-
wheelchair_accessible: "NO_VALUE" | "UNKNOWN" | "WHEELCHAIR_ACCESSIBLE" | "WHEELCHAIR_INACCESSIBLE";
|
|
150
|
-
label: string;
|
|
151
|
-
license_plate: string;
|
|
152
|
-
};
|
|
153
153
|
stop_id?: string | null | undefined;
|
|
154
154
|
occupancy_percentage?: number | null | undefined;
|
|
155
155
|
occupancy_status?: "EMPTY" | "MANY_SEATS_AVAILABLE" | "FEW_SEATS_AVAILABLE" | "STANDING_ROOM_ONLY" | "CRUSHED_STANDING_ROOM_ONLY" | "FULL" | "NOT_ACCEPTING_PASSENGERS" | "NO_DATA_AVAILABLE" | "NOT_BOARDABLE" | null | undefined;
|