@tmlmobilidade/databases 20260625.1419.32 → 20260625.1714.32
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.
|
@@ -2086,6 +2086,299 @@ declare class RawVehicleEventsNewClass extends MongoInterfaceTemplate<RawVehicle
|
|
|
2086
2086
|
created_at: import("zod").ZodEffects<import("zod").ZodNumber, import("@tmlmobilidade/types").UnixTimestamp, number>;
|
|
2087
2087
|
entity_id: import("zod").ZodString;
|
|
2088
2088
|
received_at: import("zod").ZodEffects<import("zod").ZodNumber, import("@tmlmobilidade/types").UnixTimestamp, number>;
|
|
2089
|
+
} & {
|
|
2090
|
+
payload: import("zod").ZodObject<{
|
|
2091
|
+
header: import("zod").ZodObject<{
|
|
2092
|
+
feed_version: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
2093
|
+
gtfs_realtime_version: import("zod").ZodString;
|
|
2094
|
+
incrementality: import("zod").ZodLiteral<"FULL_DATASET">;
|
|
2095
|
+
timestamp: import("zod").ZodNumber;
|
|
2096
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
2097
|
+
timestamp: number;
|
|
2098
|
+
gtfs_realtime_version: string;
|
|
2099
|
+
incrementality: "FULL_DATASET";
|
|
2100
|
+
feed_version?: string | null | undefined;
|
|
2101
|
+
}, {
|
|
2102
|
+
timestamp: number;
|
|
2103
|
+
gtfs_realtime_version: string;
|
|
2104
|
+
incrementality: "FULL_DATASET";
|
|
2105
|
+
feed_version?: string | null | undefined;
|
|
2106
|
+
}>;
|
|
2107
|
+
vehicle: import("zod").ZodObject<{
|
|
2108
|
+
congestion_level: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodEnum<["UNKNOWN_CONGESTION_LEVEL", "RUNNING_SMOOTHLY", "STOP_AND_GO", "CONGESTION", "SEVERE_CONGESTION"]>>>;
|
|
2109
|
+
current_status: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodEnum<["INCOMING_AT", "STOPPED_AT", "IN_TRANSIT_TO"]>>>;
|
|
2110
|
+
current_stop_sequence: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodNumber>>;
|
|
2111
|
+
occupancy_status: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodEnum<["EMPTY", "MANY_SEATS_AVAILABLE", "FEW_SEATS_AVAILABLE", "STANDING_ROOM_ONLY", "CRUSHED_STANDING_ROOM_ONLY", "FULL", "NOT_ACCEPTING_PASSENGERS", "NO_DATA_AVAILABLE", "NOT_BOARDABLE"]>>>;
|
|
2112
|
+
position: import("zod").ZodObject<{
|
|
2113
|
+
bearing: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodNumber>>;
|
|
2114
|
+
latitude: import("zod").ZodNumber;
|
|
2115
|
+
longitude: import("zod").ZodNumber;
|
|
2116
|
+
odometer: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodNumber>>;
|
|
2117
|
+
speed: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodNumber>>;
|
|
2118
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
2119
|
+
latitude: number;
|
|
2120
|
+
longitude: number;
|
|
2121
|
+
bearing?: number | null | undefined;
|
|
2122
|
+
odometer?: number | null | undefined;
|
|
2123
|
+
speed?: number | null | undefined;
|
|
2124
|
+
}, {
|
|
2125
|
+
latitude: number;
|
|
2126
|
+
longitude: number;
|
|
2127
|
+
bearing?: number | null | undefined;
|
|
2128
|
+
odometer?: number | null | undefined;
|
|
2129
|
+
speed?: number | null | undefined;
|
|
2130
|
+
}>;
|
|
2131
|
+
stop_id: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
2132
|
+
timestamp: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodNumber>>;
|
|
2133
|
+
trip: import("zod").ZodObject<{
|
|
2134
|
+
direction_id: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodNumber>>;
|
|
2135
|
+
route_id: import("zod").ZodString;
|
|
2136
|
+
schedule_relationship: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodEnum<["SCHEDULED", "NOT_SCHEDULED", "CANCELED", "ADDED"]>>>;
|
|
2137
|
+
start_date: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodEffects<import("zod").ZodString, import("@tmlmobilidade/types").OperationalDate, string>>>;
|
|
2138
|
+
start_time: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
2139
|
+
trip_id: import("zod").ZodString;
|
|
2140
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
2141
|
+
route_id: string;
|
|
2142
|
+
trip_id: string;
|
|
2143
|
+
start_time?: string | null | undefined;
|
|
2144
|
+
direction_id?: number | null | undefined;
|
|
2145
|
+
schedule_relationship?: "SCHEDULED" | "NOT_SCHEDULED" | "CANCELED" | "ADDED" | null | undefined;
|
|
2146
|
+
start_date?: import("@tmlmobilidade/types").OperationalDate | null | undefined;
|
|
2147
|
+
}, {
|
|
2148
|
+
route_id: string;
|
|
2149
|
+
trip_id: string;
|
|
2150
|
+
start_time?: string | null | undefined;
|
|
2151
|
+
direction_id?: number | null | undefined;
|
|
2152
|
+
schedule_relationship?: "SCHEDULED" | "NOT_SCHEDULED" | "CANCELED" | "ADDED" | null | undefined;
|
|
2153
|
+
start_date?: string | null | undefined;
|
|
2154
|
+
}>;
|
|
2155
|
+
vehicle: import("zod").ZodObject<{
|
|
2156
|
+
id: import("zod").ZodString;
|
|
2157
|
+
label: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
2158
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
2159
|
+
id: string;
|
|
2160
|
+
label?: string | null | undefined;
|
|
2161
|
+
}, {
|
|
2162
|
+
id: string;
|
|
2163
|
+
label?: string | null | undefined;
|
|
2164
|
+
}>;
|
|
2165
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
2166
|
+
vehicle: {
|
|
2167
|
+
id: string;
|
|
2168
|
+
label?: string | null | undefined;
|
|
2169
|
+
};
|
|
2170
|
+
trip: {
|
|
2171
|
+
route_id: string;
|
|
2172
|
+
trip_id: string;
|
|
2173
|
+
start_time?: string | null | undefined;
|
|
2174
|
+
direction_id?: number | null | undefined;
|
|
2175
|
+
schedule_relationship?: "SCHEDULED" | "NOT_SCHEDULED" | "CANCELED" | "ADDED" | null | undefined;
|
|
2176
|
+
start_date?: import("@tmlmobilidade/types").OperationalDate | null | undefined;
|
|
2177
|
+
};
|
|
2178
|
+
position: {
|
|
2179
|
+
latitude: number;
|
|
2180
|
+
longitude: number;
|
|
2181
|
+
bearing?: number | null | undefined;
|
|
2182
|
+
odometer?: number | null | undefined;
|
|
2183
|
+
speed?: number | null | undefined;
|
|
2184
|
+
};
|
|
2185
|
+
stop_id?: string | null | undefined;
|
|
2186
|
+
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;
|
|
2187
|
+
congestion_level?: "UNKNOWN_CONGESTION_LEVEL" | "RUNNING_SMOOTHLY" | "STOP_AND_GO" | "CONGESTION" | "SEVERE_CONGESTION" | null | undefined;
|
|
2188
|
+
current_status?: "INCOMING_AT" | "STOPPED_AT" | "IN_TRANSIT_TO" | null | undefined;
|
|
2189
|
+
current_stop_sequence?: number | null | undefined;
|
|
2190
|
+
timestamp?: number | null | undefined;
|
|
2191
|
+
}, {
|
|
2192
|
+
vehicle: {
|
|
2193
|
+
id: string;
|
|
2194
|
+
label?: string | null | undefined;
|
|
2195
|
+
};
|
|
2196
|
+
trip: {
|
|
2197
|
+
route_id: string;
|
|
2198
|
+
trip_id: string;
|
|
2199
|
+
start_time?: string | null | undefined;
|
|
2200
|
+
direction_id?: number | null | undefined;
|
|
2201
|
+
schedule_relationship?: "SCHEDULED" | "NOT_SCHEDULED" | "CANCELED" | "ADDED" | null | undefined;
|
|
2202
|
+
start_date?: string | null | undefined;
|
|
2203
|
+
};
|
|
2204
|
+
position: {
|
|
2205
|
+
latitude: number;
|
|
2206
|
+
longitude: number;
|
|
2207
|
+
bearing?: number | null | undefined;
|
|
2208
|
+
odometer?: number | null | undefined;
|
|
2209
|
+
speed?: number | null | undefined;
|
|
2210
|
+
};
|
|
2211
|
+
stop_id?: string | null | undefined;
|
|
2212
|
+
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;
|
|
2213
|
+
congestion_level?: "UNKNOWN_CONGESTION_LEVEL" | "RUNNING_SMOOTHLY" | "STOP_AND_GO" | "CONGESTION" | "SEVERE_CONGESTION" | null | undefined;
|
|
2214
|
+
current_status?: "INCOMING_AT" | "STOPPED_AT" | "IN_TRANSIT_TO" | null | undefined;
|
|
2215
|
+
current_stop_sequence?: number | null | undefined;
|
|
2216
|
+
timestamp?: number | null | undefined;
|
|
2217
|
+
}>;
|
|
2218
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
2219
|
+
vehicle: {
|
|
2220
|
+
vehicle: {
|
|
2221
|
+
id: string;
|
|
2222
|
+
label?: string | null | undefined;
|
|
2223
|
+
};
|
|
2224
|
+
trip: {
|
|
2225
|
+
route_id: string;
|
|
2226
|
+
trip_id: string;
|
|
2227
|
+
start_time?: string | null | undefined;
|
|
2228
|
+
direction_id?: number | null | undefined;
|
|
2229
|
+
schedule_relationship?: "SCHEDULED" | "NOT_SCHEDULED" | "CANCELED" | "ADDED" | null | undefined;
|
|
2230
|
+
start_date?: import("@tmlmobilidade/types").OperationalDate | null | undefined;
|
|
2231
|
+
};
|
|
2232
|
+
position: {
|
|
2233
|
+
latitude: number;
|
|
2234
|
+
longitude: number;
|
|
2235
|
+
bearing?: number | null | undefined;
|
|
2236
|
+
odometer?: number | null | undefined;
|
|
2237
|
+
speed?: number | null | undefined;
|
|
2238
|
+
};
|
|
2239
|
+
stop_id?: string | null | undefined;
|
|
2240
|
+
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;
|
|
2241
|
+
congestion_level?: "UNKNOWN_CONGESTION_LEVEL" | "RUNNING_SMOOTHLY" | "STOP_AND_GO" | "CONGESTION" | "SEVERE_CONGESTION" | null | undefined;
|
|
2242
|
+
current_status?: "INCOMING_AT" | "STOPPED_AT" | "IN_TRANSIT_TO" | null | undefined;
|
|
2243
|
+
current_stop_sequence?: number | null | undefined;
|
|
2244
|
+
timestamp?: number | null | undefined;
|
|
2245
|
+
};
|
|
2246
|
+
header: {
|
|
2247
|
+
timestamp: number;
|
|
2248
|
+
gtfs_realtime_version: string;
|
|
2249
|
+
incrementality: "FULL_DATASET";
|
|
2250
|
+
feed_version?: string | null | undefined;
|
|
2251
|
+
};
|
|
2252
|
+
}, {
|
|
2253
|
+
vehicle: {
|
|
2254
|
+
vehicle: {
|
|
2255
|
+
id: string;
|
|
2256
|
+
label?: string | null | undefined;
|
|
2257
|
+
};
|
|
2258
|
+
trip: {
|
|
2259
|
+
route_id: string;
|
|
2260
|
+
trip_id: string;
|
|
2261
|
+
start_time?: string | null | undefined;
|
|
2262
|
+
direction_id?: number | null | undefined;
|
|
2263
|
+
schedule_relationship?: "SCHEDULED" | "NOT_SCHEDULED" | "CANCELED" | "ADDED" | null | undefined;
|
|
2264
|
+
start_date?: string | null | undefined;
|
|
2265
|
+
};
|
|
2266
|
+
position: {
|
|
2267
|
+
latitude: number;
|
|
2268
|
+
longitude: number;
|
|
2269
|
+
bearing?: number | null | undefined;
|
|
2270
|
+
odometer?: number | null | undefined;
|
|
2271
|
+
speed?: number | null | undefined;
|
|
2272
|
+
};
|
|
2273
|
+
stop_id?: string | null | undefined;
|
|
2274
|
+
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;
|
|
2275
|
+
congestion_level?: "UNKNOWN_CONGESTION_LEVEL" | "RUNNING_SMOOTHLY" | "STOP_AND_GO" | "CONGESTION" | "SEVERE_CONGESTION" | null | undefined;
|
|
2276
|
+
current_status?: "INCOMING_AT" | "STOPPED_AT" | "IN_TRANSIT_TO" | null | undefined;
|
|
2277
|
+
current_stop_sequence?: number | null | undefined;
|
|
2278
|
+
timestamp?: number | null | undefined;
|
|
2279
|
+
};
|
|
2280
|
+
header: {
|
|
2281
|
+
timestamp: number;
|
|
2282
|
+
gtfs_realtime_version: string;
|
|
2283
|
+
incrementality: "FULL_DATASET";
|
|
2284
|
+
feed_version?: string | null | undefined;
|
|
2285
|
+
};
|
|
2286
|
+
}>;
|
|
2287
|
+
version: import("zod").ZodLiteral<"crtm-laveloz-v1">;
|
|
2288
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
2289
|
+
_id: string;
|
|
2290
|
+
created_at: number & {
|
|
2291
|
+
__brand: "UnixTimestamp";
|
|
2292
|
+
};
|
|
2293
|
+
agency_id: string;
|
|
2294
|
+
received_at: number & {
|
|
2295
|
+
__brand: "UnixTimestamp";
|
|
2296
|
+
};
|
|
2297
|
+
payload: {
|
|
2298
|
+
vehicle: {
|
|
2299
|
+
vehicle: {
|
|
2300
|
+
id: string;
|
|
2301
|
+
label?: string | null | undefined;
|
|
2302
|
+
};
|
|
2303
|
+
trip: {
|
|
2304
|
+
route_id: string;
|
|
2305
|
+
trip_id: string;
|
|
2306
|
+
start_time?: string | null | undefined;
|
|
2307
|
+
direction_id?: number | null | undefined;
|
|
2308
|
+
schedule_relationship?: "SCHEDULED" | "NOT_SCHEDULED" | "CANCELED" | "ADDED" | null | undefined;
|
|
2309
|
+
start_date?: import("@tmlmobilidade/types").OperationalDate | null | undefined;
|
|
2310
|
+
};
|
|
2311
|
+
position: {
|
|
2312
|
+
latitude: number;
|
|
2313
|
+
longitude: number;
|
|
2314
|
+
bearing?: number | null | undefined;
|
|
2315
|
+
odometer?: number | null | undefined;
|
|
2316
|
+
speed?: number | null | undefined;
|
|
2317
|
+
};
|
|
2318
|
+
stop_id?: string | null | undefined;
|
|
2319
|
+
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;
|
|
2320
|
+
congestion_level?: "UNKNOWN_CONGESTION_LEVEL" | "RUNNING_SMOOTHLY" | "STOP_AND_GO" | "CONGESTION" | "SEVERE_CONGESTION" | null | undefined;
|
|
2321
|
+
current_status?: "INCOMING_AT" | "STOPPED_AT" | "IN_TRANSIT_TO" | null | undefined;
|
|
2322
|
+
current_stop_sequence?: number | null | undefined;
|
|
2323
|
+
timestamp?: number | null | undefined;
|
|
2324
|
+
};
|
|
2325
|
+
header: {
|
|
2326
|
+
timestamp: number;
|
|
2327
|
+
gtfs_realtime_version: string;
|
|
2328
|
+
incrementality: "FULL_DATASET";
|
|
2329
|
+
feed_version?: string | null | undefined;
|
|
2330
|
+
};
|
|
2331
|
+
};
|
|
2332
|
+
entity_id: string;
|
|
2333
|
+
version: "crtm-laveloz-v1";
|
|
2334
|
+
}, {
|
|
2335
|
+
_id: string;
|
|
2336
|
+
created_at: number;
|
|
2337
|
+
agency_id: string;
|
|
2338
|
+
received_at: number;
|
|
2339
|
+
payload: {
|
|
2340
|
+
vehicle: {
|
|
2341
|
+
vehicle: {
|
|
2342
|
+
id: string;
|
|
2343
|
+
label?: string | null | undefined;
|
|
2344
|
+
};
|
|
2345
|
+
trip: {
|
|
2346
|
+
route_id: string;
|
|
2347
|
+
trip_id: string;
|
|
2348
|
+
start_time?: string | null | undefined;
|
|
2349
|
+
direction_id?: number | null | undefined;
|
|
2350
|
+
schedule_relationship?: "SCHEDULED" | "NOT_SCHEDULED" | "CANCELED" | "ADDED" | null | undefined;
|
|
2351
|
+
start_date?: string | null | undefined;
|
|
2352
|
+
};
|
|
2353
|
+
position: {
|
|
2354
|
+
latitude: number;
|
|
2355
|
+
longitude: number;
|
|
2356
|
+
bearing?: number | null | undefined;
|
|
2357
|
+
odometer?: number | null | undefined;
|
|
2358
|
+
speed?: number | null | undefined;
|
|
2359
|
+
};
|
|
2360
|
+
stop_id?: string | null | undefined;
|
|
2361
|
+
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;
|
|
2362
|
+
congestion_level?: "UNKNOWN_CONGESTION_LEVEL" | "RUNNING_SMOOTHLY" | "STOP_AND_GO" | "CONGESTION" | "SEVERE_CONGESTION" | null | undefined;
|
|
2363
|
+
current_status?: "INCOMING_AT" | "STOPPED_AT" | "IN_TRANSIT_TO" | null | undefined;
|
|
2364
|
+
current_stop_sequence?: number | null | undefined;
|
|
2365
|
+
timestamp?: number | null | undefined;
|
|
2366
|
+
};
|
|
2367
|
+
header: {
|
|
2368
|
+
timestamp: number;
|
|
2369
|
+
gtfs_realtime_version: string;
|
|
2370
|
+
incrementality: "FULL_DATASET";
|
|
2371
|
+
feed_version?: string | null | undefined;
|
|
2372
|
+
};
|
|
2373
|
+
};
|
|
2374
|
+
entity_id: string;
|
|
2375
|
+
version: "crtm-laveloz-v1";
|
|
2376
|
+
}>, import("zod").ZodObject<{
|
|
2377
|
+
_id: import("zod").ZodString;
|
|
2378
|
+
agency_id: import("zod").ZodString;
|
|
2379
|
+
created_at: import("zod").ZodEffects<import("zod").ZodNumber, import("@tmlmobilidade/types").UnixTimestamp, number>;
|
|
2380
|
+
entity_id: import("zod").ZodString;
|
|
2381
|
+
received_at: import("zod").ZodEffects<import("zod").ZodNumber, import("@tmlmobilidade/types").UnixTimestamp, number>;
|
|
2089
2382
|
} & {
|
|
2090
2383
|
payload: import("zod").ZodObject<{
|
|
2091
2384
|
header: import("zod").ZodObject<{
|