@tmlmobilidade/databases 20260624.1309.39 → 20260625.1443.7

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,285 @@ 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
+ current_status: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodEnum<["INCOMING_AT", "STOPPED_AT", "IN_TRANSIT_TO"]>>>;
2109
+ 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"]>>>;
2110
+ position: import("zod").ZodObject<{
2111
+ bearing: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodNumber>>;
2112
+ latitude: import("zod").ZodNumber;
2113
+ longitude: import("zod").ZodNumber;
2114
+ odometer: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodNumber>>;
2115
+ speed: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodNumber>>;
2116
+ }, "strip", import("zod").ZodTypeAny, {
2117
+ latitude: number;
2118
+ longitude: number;
2119
+ bearing?: number | null | undefined;
2120
+ odometer?: number | null | undefined;
2121
+ speed?: number | null | undefined;
2122
+ }, {
2123
+ latitude: number;
2124
+ longitude: number;
2125
+ bearing?: number | null | undefined;
2126
+ odometer?: number | null | undefined;
2127
+ speed?: number | null | undefined;
2128
+ }>;
2129
+ stop_id: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
2130
+ timestamp: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodNumber>>;
2131
+ trip: import("zod").ZodObject<{
2132
+ route_id: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
2133
+ schedule_relationship: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodEnum<["SCHEDULED", "ADDED", "UNSCHEDULED", "CANCELED"]>>>;
2134
+ start_date: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
2135
+ trip_id: import("zod").ZodString;
2136
+ }, "strip", import("zod").ZodTypeAny, {
2137
+ trip_id: string;
2138
+ route_id?: string | null | undefined;
2139
+ schedule_relationship?: "SCHEDULED" | "CANCELED" | "ADDED" | "UNSCHEDULED" | null | undefined;
2140
+ start_date?: string | null | undefined;
2141
+ }, {
2142
+ trip_id: string;
2143
+ route_id?: string | null | undefined;
2144
+ schedule_relationship?: "SCHEDULED" | "CANCELED" | "ADDED" | "UNSCHEDULED" | null | undefined;
2145
+ start_date?: string | null | undefined;
2146
+ }>;
2147
+ vehicle: import("zod").ZodObject<{
2148
+ id: import("zod").ZodString;
2149
+ label: import("zod").ZodString;
2150
+ license_plate: import("zod").ZodString;
2151
+ wheelchair_accessible: import("zod").ZodEnum<["NO_VALUE", "UNKNOWN", "WHEELCHAIR_ACCESSIBLE", "WHEELCHAIR_INACCESSIBLE"]>;
2152
+ }, "strip", import("zod").ZodTypeAny, {
2153
+ id: string;
2154
+ wheelchair_accessible: "NO_VALUE" | "UNKNOWN" | "WHEELCHAIR_ACCESSIBLE" | "WHEELCHAIR_INACCESSIBLE";
2155
+ label: string;
2156
+ license_plate: string;
2157
+ }, {
2158
+ id: string;
2159
+ wheelchair_accessible: "NO_VALUE" | "UNKNOWN" | "WHEELCHAIR_ACCESSIBLE" | "WHEELCHAIR_INACCESSIBLE";
2160
+ label: string;
2161
+ license_plate: string;
2162
+ }>;
2163
+ }, "strip", import("zod").ZodTypeAny, {
2164
+ vehicle: {
2165
+ id: string;
2166
+ wheelchair_accessible: "NO_VALUE" | "UNKNOWN" | "WHEELCHAIR_ACCESSIBLE" | "WHEELCHAIR_INACCESSIBLE";
2167
+ label: string;
2168
+ license_plate: string;
2169
+ };
2170
+ trip: {
2171
+ trip_id: string;
2172
+ route_id?: string | null | undefined;
2173
+ schedule_relationship?: "SCHEDULED" | "CANCELED" | "ADDED" | "UNSCHEDULED" | null | undefined;
2174
+ start_date?: string | null | undefined;
2175
+ };
2176
+ position: {
2177
+ latitude: number;
2178
+ longitude: number;
2179
+ bearing?: number | null | undefined;
2180
+ odometer?: number | null | undefined;
2181
+ speed?: number | null | undefined;
2182
+ };
2183
+ stop_id?: string | null | undefined;
2184
+ 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;
2185
+ current_status?: "INCOMING_AT" | "STOPPED_AT" | "IN_TRANSIT_TO" | null | undefined;
2186
+ timestamp?: number | null | undefined;
2187
+ }, {
2188
+ vehicle: {
2189
+ id: string;
2190
+ wheelchair_accessible: "NO_VALUE" | "UNKNOWN" | "WHEELCHAIR_ACCESSIBLE" | "WHEELCHAIR_INACCESSIBLE";
2191
+ label: string;
2192
+ license_plate: string;
2193
+ };
2194
+ trip: {
2195
+ trip_id: string;
2196
+ route_id?: string | null | undefined;
2197
+ schedule_relationship?: "SCHEDULED" | "CANCELED" | "ADDED" | "UNSCHEDULED" | null | undefined;
2198
+ start_date?: string | null | undefined;
2199
+ };
2200
+ position: {
2201
+ latitude: number;
2202
+ longitude: number;
2203
+ bearing?: number | null | undefined;
2204
+ odometer?: number | null | undefined;
2205
+ speed?: number | null | undefined;
2206
+ };
2207
+ stop_id?: string | null | undefined;
2208
+ 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;
2209
+ current_status?: "INCOMING_AT" | "STOPPED_AT" | "IN_TRANSIT_TO" | null | undefined;
2210
+ timestamp?: number | null | undefined;
2211
+ }>;
2212
+ }, "strip", import("zod").ZodTypeAny, {
2213
+ vehicle: {
2214
+ vehicle: {
2215
+ id: string;
2216
+ wheelchair_accessible: "NO_VALUE" | "UNKNOWN" | "WHEELCHAIR_ACCESSIBLE" | "WHEELCHAIR_INACCESSIBLE";
2217
+ label: string;
2218
+ license_plate: string;
2219
+ };
2220
+ trip: {
2221
+ trip_id: string;
2222
+ route_id?: string | null | undefined;
2223
+ schedule_relationship?: "SCHEDULED" | "CANCELED" | "ADDED" | "UNSCHEDULED" | null | undefined;
2224
+ start_date?: string | null | undefined;
2225
+ };
2226
+ position: {
2227
+ latitude: number;
2228
+ longitude: number;
2229
+ bearing?: number | null | undefined;
2230
+ odometer?: number | null | undefined;
2231
+ speed?: number | null | undefined;
2232
+ };
2233
+ stop_id?: string | null | undefined;
2234
+ 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;
2235
+ current_status?: "INCOMING_AT" | "STOPPED_AT" | "IN_TRANSIT_TO" | null | undefined;
2236
+ timestamp?: number | null | undefined;
2237
+ };
2238
+ header: {
2239
+ timestamp: number;
2240
+ gtfs_realtime_version: string;
2241
+ incrementality: "FULL_DATASET";
2242
+ feed_version?: string | null | undefined;
2243
+ };
2244
+ }, {
2245
+ vehicle: {
2246
+ vehicle: {
2247
+ id: string;
2248
+ wheelchair_accessible: "NO_VALUE" | "UNKNOWN" | "WHEELCHAIR_ACCESSIBLE" | "WHEELCHAIR_INACCESSIBLE";
2249
+ label: string;
2250
+ license_plate: string;
2251
+ };
2252
+ trip: {
2253
+ trip_id: string;
2254
+ route_id?: string | null | undefined;
2255
+ schedule_relationship?: "SCHEDULED" | "CANCELED" | "ADDED" | "UNSCHEDULED" | null | undefined;
2256
+ start_date?: string | null | undefined;
2257
+ };
2258
+ position: {
2259
+ latitude: number;
2260
+ longitude: number;
2261
+ bearing?: number | null | undefined;
2262
+ odometer?: number | null | undefined;
2263
+ speed?: number | null | undefined;
2264
+ };
2265
+ stop_id?: string | null | undefined;
2266
+ 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;
2267
+ current_status?: "INCOMING_AT" | "STOPPED_AT" | "IN_TRANSIT_TO" | null | undefined;
2268
+ timestamp?: number | null | undefined;
2269
+ };
2270
+ header: {
2271
+ timestamp: number;
2272
+ gtfs_realtime_version: string;
2273
+ incrementality: "FULL_DATASET";
2274
+ feed_version?: string | null | undefined;
2275
+ };
2276
+ }>;
2277
+ version: import("zod").ZodLiteral<"crtm-laveloz-v1">;
2278
+ }, "strip", import("zod").ZodTypeAny, {
2279
+ _id: string;
2280
+ created_at: number & {
2281
+ __brand: "UnixTimestamp";
2282
+ };
2283
+ agency_id: string;
2284
+ received_at: number & {
2285
+ __brand: "UnixTimestamp";
2286
+ };
2287
+ payload: {
2288
+ vehicle: {
2289
+ vehicle: {
2290
+ id: string;
2291
+ wheelchair_accessible: "NO_VALUE" | "UNKNOWN" | "WHEELCHAIR_ACCESSIBLE" | "WHEELCHAIR_INACCESSIBLE";
2292
+ label: string;
2293
+ license_plate: string;
2294
+ };
2295
+ trip: {
2296
+ trip_id: string;
2297
+ route_id?: string | null | undefined;
2298
+ schedule_relationship?: "SCHEDULED" | "CANCELED" | "ADDED" | "UNSCHEDULED" | null | undefined;
2299
+ start_date?: string | null | undefined;
2300
+ };
2301
+ position: {
2302
+ latitude: number;
2303
+ longitude: number;
2304
+ bearing?: number | null | undefined;
2305
+ odometer?: number | null | undefined;
2306
+ speed?: number | null | undefined;
2307
+ };
2308
+ stop_id?: string | null | undefined;
2309
+ 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;
2310
+ current_status?: "INCOMING_AT" | "STOPPED_AT" | "IN_TRANSIT_TO" | null | undefined;
2311
+ timestamp?: number | null | undefined;
2312
+ };
2313
+ header: {
2314
+ timestamp: number;
2315
+ gtfs_realtime_version: string;
2316
+ incrementality: "FULL_DATASET";
2317
+ feed_version?: string | null | undefined;
2318
+ };
2319
+ };
2320
+ entity_id: string;
2321
+ version: "crtm-laveloz-v1";
2322
+ }, {
2323
+ _id: string;
2324
+ created_at: number;
2325
+ agency_id: string;
2326
+ received_at: number;
2327
+ payload: {
2328
+ vehicle: {
2329
+ vehicle: {
2330
+ id: string;
2331
+ wheelchair_accessible: "NO_VALUE" | "UNKNOWN" | "WHEELCHAIR_ACCESSIBLE" | "WHEELCHAIR_INACCESSIBLE";
2332
+ label: string;
2333
+ license_plate: string;
2334
+ };
2335
+ trip: {
2336
+ trip_id: string;
2337
+ route_id?: string | null | undefined;
2338
+ schedule_relationship?: "SCHEDULED" | "CANCELED" | "ADDED" | "UNSCHEDULED" | null | undefined;
2339
+ start_date?: string | null | undefined;
2340
+ };
2341
+ position: {
2342
+ latitude: number;
2343
+ longitude: number;
2344
+ bearing?: number | null | undefined;
2345
+ odometer?: number | null | undefined;
2346
+ speed?: number | null | undefined;
2347
+ };
2348
+ stop_id?: string | null | undefined;
2349
+ 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;
2350
+ current_status?: "INCOMING_AT" | "STOPPED_AT" | "IN_TRANSIT_TO" | null | undefined;
2351
+ timestamp?: number | null | undefined;
2352
+ };
2353
+ header: {
2354
+ timestamp: number;
2355
+ gtfs_realtime_version: string;
2356
+ incrementality: "FULL_DATASET";
2357
+ feed_version?: string | null | undefined;
2358
+ };
2359
+ };
2360
+ entity_id: string;
2361
+ version: "crtm-laveloz-v1";
2362
+ }>, import("zod").ZodObject<{
2363
+ _id: import("zod").ZodString;
2364
+ agency_id: import("zod").ZodString;
2365
+ created_at: import("zod").ZodEffects<import("zod").ZodNumber, import("@tmlmobilidade/types").UnixTimestamp, number>;
2366
+ entity_id: import("zod").ZodString;
2367
+ received_at: import("zod").ZodEffects<import("zod").ZodNumber, import("@tmlmobilidade/types").UnixTimestamp, number>;
2089
2368
  } & {
2090
2369
  payload: import("zod").ZodObject<{
2091
2370
  header: import("zod").ZodObject<{
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tmlmobilidade/databases",
3
- "version": "20260624.1309.39",
3
+ "version": "20260625.1443.7",
4
4
  "author": {
5
5
  "email": "iso@tmlmobilidade.pt",
6
6
  "name": "TML-ISO"