@motis-project/motis-client 2.9.2 → 2.10.2

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.
@@ -1,7 +1,7 @@
1
1
  declare const AlertCauseSchema: {
2
2
  readonly description: "Cause of this alert.";
3
3
  readonly type: "string";
4
- readonly enum: readonly ["UNKNOWN_CAUSE", "OTHER_CAUSE", "TECHNICAL_PROBLEM", "STRIKE", "DEMONSTRATION", "ACCIDENT", "HOLIDAY", "WEATHER", "MAINTENANCE", "CONSTRUCTION", "POLICE_ACTIVITY", "MEDICAL_EMERGENCY"];
4
+ readonly enum: readonly ["UNKNOWN_CAUSE", "OTHER_CAUSE", "TECHNICAL_PROBLEM", "STRIKE", "DEMONSTRATION", "ACCIDENT", "HOLIDAY", "WEATHER", "MAINTENANCE", "CONSTRUCTION", "POLICE_ACTIVITY", "MEDICAL_EMERGENCY", "SPECIAL_EVENT"];
5
5
  };
6
6
  declare const AlertEffectSchema: {
7
7
  readonly description: "The effect of this problem on the affected entity.";
@@ -207,7 +207,7 @@ declare const LocationTypeSchema: {
207
207
  readonly enum: readonly ["ADDRESS", "PLACE", "STOP"];
208
208
  };
209
209
  declare const ModeSchema: {
210
- readonly description: "# Street modes\n\n - `WALK`\n - `BIKE`\n - `RENTAL` Experimental. Expect unannounced breaking changes (without version bumps) for all parameters and returned structs.\n - `CAR`\n - `CAR_PARKING` Experimental. Expect unannounced breaking changes (without version bumps) for all parameters and returned structs.\n - `CAR_DROPOFF` Experimental. Expect unannounced breaking changes (without version bumps) for all perameters and returned structs.\n - `ODM` on-demand taxis from the Prima+ÖV Project\n - `RIDE_SHARING` ride sharing from the Prima+ÖV Project\n - `FLEX` flexible transports\n\n# Transit modes\n\n - `TRANSIT`: translates to `TRAM,FERRY,AIRPLANE,BUS,COACH,RAIL,ODM,FUNICULAR,AERIAL_LIFT,OTHER`\n - `TRAM`: trams\n - `SUBWAY`: subway trains (Paris Metro, London Underground, but also NYC Subway, Hamburger Hochbahn, and other non-underground services)\n - `FERRY`: ferries\n - `AIRPLANE`: airline flights\n - `BUS`: short distance buses (does not include `COACH`)\n - `COACH`: long distance buses (does not include `BUS`)\n - `RAIL`: translates to `HIGHSPEED_RAIL,LONG_DISTANCE,NIGHT_RAIL,REGIONAL_RAIL,SUBURBAN,SUBWAY`\n - `HIGHSPEED_RAIL`: long distance high speed trains (e.g. TGV)\n - `LONG_DISTANCE`: long distance inter city trains\n - `NIGHT_RAIL`: long distance night trains\n - `REGIONAL_FAST_RAIL`: deprecated, `REGIONAL_RAIL` will be used\n - `REGIONAL_RAIL`: regional train\n - `SUBURBAN`: suburban trains (e.g. S-Bahn, RER, Elizabeth Line, ...)\n - `ODM`: demand responsive transport\n - `FUNICULAR`: Funicular. Any rail system designed for steep inclines.\n - `AERIAL_LIFT`: Aerial lift, suspended cable car (e.g., gondola lift, aerial tramway). Cable transport where cabins, cars, gondolas or open chairs are suspended by means of one or more cables.\n - `AREAL_LIFT`: deprecated\n - `METRO`: deprecated\n - `CABLE_CAR`: deprecated\n";
210
+ readonly description: "# Street modes\n\n - `WALK`\n - `BIKE`\n - `RENTAL` Experimental. Expect unannounced breaking changes (without version bumps) for all parameters and returned structs.\n - `CAR`\n - `CAR_PARKING` Experimental. Expect unannounced breaking changes (without version bumps) for all parameters and returned structs.\n - `CAR_DROPOFF` Experimental. Expect unannounced breaking changes (without version bumps) for all perameters and returned structs.\n - `ODM` on-demand taxis from the Prima+ÖV Project\n - `RIDE_SHARING` ride sharing from the Prima+ÖV Project\n - `FLEX` flexible transports\n\n# Transit modes\n\n - `TRANSIT`: translates to `TRAM,FERRY,AIRPLANE,BUS,COACH,RAIL,ODM,RIDE_SHARING,FUNICULAR,AERIAL_LIFT,OTHER`\n - `TRAM`: trams\n - `SUBWAY`: subway trains (Paris Metro, London Underground, but also NYC Subway, Hamburger Hochbahn, and other non-underground services)\n - `FERRY`: ferries\n - `AIRPLANE`: airline flights\n - `BUS`: short distance buses (does not include `COACH`)\n - `COACH`: long distance buses (does not include `BUS`)\n - `RAIL`: translates to `HIGHSPEED_RAIL,LONG_DISTANCE,NIGHT_RAIL,REGIONAL_RAIL,SUBURBAN,SUBWAY`\n - `HIGHSPEED_RAIL`: long distance high speed trains (e.g. TGV)\n - `LONG_DISTANCE`: long distance inter city trains\n - `NIGHT_RAIL`: long distance night trains\n - `REGIONAL_FAST_RAIL`: deprecated, `REGIONAL_RAIL` will be used\n - `REGIONAL_RAIL`: regional train\n - `SUBURBAN`: suburban trains (e.g. S-Bahn, RER, Elizabeth Line, ...)\n - `ODM`: demand responsive transport\n - `RIDE_SHARING`: ride sharing\n - `FUNICULAR`: Funicular. Any rail system designed for steep inclines.\n - `AERIAL_LIFT`: Aerial lift, suspended cable car (e.g., gondola lift, aerial tramway). Cable transport where cabins, cars, gondolas or open chairs are suspended by means of one or more cables.\n - `AREAL_LIFT`: deprecated\n - `METRO`: deprecated\n - `CABLE_CAR`: deprecated\n";
211
211
  readonly type: "string";
212
212
  readonly enum: readonly ["WALK", "BIKE", "RENTAL", "CAR", "CAR_PARKING", "CAR_DROPOFF", "ODM", "RIDE_SHARING", "FLEX", "DEBUG_BUS_ROUTE", "DEBUG_RAILWAY_ROUTE", "DEBUG_FERRY_ROUTE", "TRANSIT", "TRAM", "SUBWAY", "FERRY", "AIRPLANE", "BUS", "COACH", "RAIL", "HIGHSPEED_RAIL", "LONG_DISTANCE", "NIGHT_RAIL", "REGIONAL_FAST_RAIL", "REGIONAL_RAIL", "SUBURBAN", "FUNICULAR", "AERIAL_LIFT", "OTHER", "AREAL_LIFT", "METRO", "CABLE_CAR"];
213
213
  };
@@ -324,7 +324,7 @@ declare const PickupDropoffTypeSchema: {
324
324
  };
325
325
  declare const PlaceSchema: {
326
326
  readonly type: "object";
327
- readonly required: readonly ["name", "lat", "lon", "level"];
327
+ readonly required: readonly ["name", "lat", "lon"];
328
328
  readonly properties: {
329
329
  readonly name: {
330
330
  readonly description: "name of the transit stop / PoI / address";
@@ -351,7 +351,7 @@ declare const PlaceSchema: {
351
351
  readonly type: "number";
352
352
  };
353
353
  readonly level: {
354
- readonly description: "level according to OpenStreetMap";
354
+ readonly description: "level according to OpenStreetMap\nIf no level is given, the field will be unset.\n\nFor older versions (v1-v5), this field is mandatory and therefore set to 0.\nAffected endpoints: plan, trip, stoptimes, one-to-all, map/stops, map/trips\n";
355
355
  readonly type: "number";
356
356
  };
357
357
  readonly tz: {
@@ -383,7 +383,11 @@ declare const PlaceSchema: {
383
383
  readonly type: "string";
384
384
  };
385
385
  readonly track: {
386
- readonly description: "The current track/platform information, updated with real-time updates if available. \nCan be missing if neither real-time updates nor the schedule timetable contains track information.\n";
386
+ readonly description: "The current track/platform information, updated with real-time updates if available.\nCan be missing if neither real-time updates nor the schedule timetable contains track information.\n";
387
+ readonly type: "string";
388
+ };
389
+ readonly stopCode: {
390
+ readonly description: "Short, abbreviated identifier of the stop intended for users\n(e.g. printed on signage, used in SMS / passenger info systems).\nComes from the GTFS `stop_code` field.\n";
387
391
  readonly type: "string";
388
392
  };
389
393
  readonly description: {
@@ -737,6 +741,10 @@ declare const StepInstructionSchema: {
737
741
  };
738
742
  };
739
743
  };
744
+ declare const WheelchairAccessibilitySchema: {
745
+ readonly type: "string";
746
+ readonly enum: readonly ["ACCESSIBLE", "NOT_ACCESSIBLE"];
747
+ };
740
748
  declare const RentalFormFactorSchema: {
741
749
  readonly type: "string";
742
750
  readonly enum: readonly ["BICYCLE", "CARGO_BICYCLE", "CAR", "MOPED", "SCOOTER_STANDING", "SCOOTER_SEATED", "OTHER"];
@@ -1358,6 +1366,20 @@ declare const LegSchema: {
1358
1366
  readonly description: "Whether bikes can be carried on this leg.\n";
1359
1367
  readonly type: "boolean";
1360
1368
  };
1369
+ readonly wheelchairAccessible: {
1370
+ readonly description: "Whether wheelchairs can be transported on this leg.\n";
1371
+ readonly $ref: "#/components/schemas/WheelchairAccessibility";
1372
+ };
1373
+ readonly alternatives: {
1374
+ readonly description: "Alternative connections that can replace this transit leg.\nEach alternative is normally a sequence of 3 legs:\n`[ingress footpath, transit, egress footpath]`.\nOnly populated when the request sets `numLegAlternatives` > 0\n(capped to that value).\n\nInterlined legs:\n`alternatives` is populated only on the first (main) leg of\nan interlined chain. Subsequent interlined legs (carrying\n`interlineWithPreviousLeg=true`) leave `alternatives` unset.\nAlternatives are valid for the whole interlined segment.\n\nAn alternative may itself cover an interlined segment:\nthe alternative's middle transit then expands into multiple\ninterlined legs when `joinInterlinedLegs=false`. In that\ncase the alternative contains more than 3 legs: ingress\nfootpath, followed by N interlined transit legs (the\nsecondary ones carrying `interlineWithPreviousLeg=true`),\nfollowed by an egress footpath.\n";
1375
+ readonly type: "array";
1376
+ readonly items: {
1377
+ readonly type: "array";
1378
+ readonly items: {
1379
+ readonly $ref: "#/components/schemas/Leg";
1380
+ };
1381
+ };
1382
+ };
1361
1383
  };
1362
1384
  };
1363
1385
  declare const RiderCategorySchema: {
@@ -1454,9 +1476,154 @@ declare const FareTransferSchema: {
1454
1476
  };
1455
1477
  };
1456
1478
  };
1479
+ declare const LegIdSchema: {
1480
+ readonly type: "object";
1481
+ readonly required: readonly ["displayName", "tripId", "fromId", "fromLat", "fromLon", "toId", "toLat", "toLon", "schedStart", "schedEnd", "mode", "scheduled"];
1482
+ readonly properties: {
1483
+ readonly displayName: {
1484
+ readonly type: "string";
1485
+ };
1486
+ readonly tripId: {
1487
+ readonly type: "string";
1488
+ };
1489
+ readonly fromId: {
1490
+ readonly description: "from stop stopId";
1491
+ readonly type: "string";
1492
+ };
1493
+ readonly fromLat: {
1494
+ readonly description: "latitude of the leg's from endpoint";
1495
+ readonly type: "number";
1496
+ readonly format: "double";
1497
+ };
1498
+ readonly fromLon: {
1499
+ readonly description: "longitude of the leg's from endpoint";
1500
+ readonly type: "number";
1501
+ readonly format: "double";
1502
+ };
1503
+ readonly fromLevel: {
1504
+ readonly description: "Optional level (floor) of the leg's from endpoint for indoor routing.";
1505
+ readonly type: "number";
1506
+ readonly format: "double";
1507
+ };
1508
+ readonly toId: {
1509
+ readonly description: "to stop stopId";
1510
+ readonly type: "string";
1511
+ };
1512
+ readonly toLat: {
1513
+ readonly description: "latitude of the leg's to endpoint";
1514
+ readonly type: "number";
1515
+ readonly format: "double";
1516
+ };
1517
+ readonly toLon: {
1518
+ readonly description: "longitude of the leg's to endpoint";
1519
+ readonly type: "number";
1520
+ readonly format: "double";
1521
+ };
1522
+ readonly toLevel: {
1523
+ readonly description: "Optional level (floor) of the leg's to endpoint for indoor routing.";
1524
+ readonly type: "number";
1525
+ readonly format: "double";
1526
+ };
1527
+ readonly schedStart: {
1528
+ readonly type: "integer";
1529
+ readonly format: "int64";
1530
+ readonly description: "Scheduled departure time as a Unix timestamp in seconds.";
1531
+ };
1532
+ readonly schedEnd: {
1533
+ readonly type: "integer";
1534
+ readonly format: "int64";
1535
+ readonly description: "Scheduled arrival time as a Unix timestamp in seconds.";
1536
+ };
1537
+ readonly mode: {
1538
+ readonly $ref: "#/components/schemas/Mode";
1539
+ };
1540
+ readonly scheduled: {
1541
+ readonly type: "boolean";
1542
+ };
1543
+ };
1544
+ };
1545
+ declare const ItineraryIdSchema: {
1546
+ readonly type: "object";
1547
+ readonly required: readonly ["legs"];
1548
+ readonly properties: {
1549
+ readonly legs: {
1550
+ readonly type: "array";
1551
+ readonly items: {
1552
+ readonly $ref: "#/components/schemas/LegId";
1553
+ };
1554
+ };
1555
+ };
1556
+ };
1557
+ declare const RefreshItineraryPostBodySchema: {
1558
+ readonly description: "Body for the `refreshItineraryPost` endpoint. All fields mirror the\nparameters of the `plan` endpoint - see the `plan` endpoint for their\ndescriptions.\n";
1559
+ readonly type: "object";
1560
+ readonly required: readonly ["id"];
1561
+ readonly properties: {
1562
+ readonly id: {
1563
+ readonly $ref: "#/components/schemas/ItineraryId";
1564
+ };
1565
+ readonly requireDisplayNameMatch: {
1566
+ readonly type: "boolean";
1567
+ readonly default: true;
1568
+ };
1569
+ readonly joinInterlinedLegs: {
1570
+ readonly type: "boolean";
1571
+ readonly default: true;
1572
+ };
1573
+ readonly detailedTransfers: {
1574
+ readonly type: "boolean";
1575
+ };
1576
+ readonly detailedLegs: {
1577
+ readonly type: "boolean";
1578
+ readonly default: true;
1579
+ };
1580
+ readonly withFares: {
1581
+ readonly type: "boolean";
1582
+ readonly default: false;
1583
+ };
1584
+ readonly withScheduledSkippedStops: {
1585
+ readonly type: "boolean";
1586
+ readonly default: false;
1587
+ };
1588
+ readonly numLegAlternatives: {
1589
+ readonly type: "integer";
1590
+ readonly default: 0;
1591
+ readonly minimum: 0;
1592
+ };
1593
+ readonly transitModes: {
1594
+ readonly type: "array";
1595
+ readonly items: {
1596
+ readonly $ref: "#/components/schemas/Mode";
1597
+ };
1598
+ readonly default: readonly ["TRANSIT"];
1599
+ };
1600
+ readonly pedestrianProfile: {
1601
+ readonly $ref: "#/components/schemas/PedestrianProfile";
1602
+ readonly default: "FOOT";
1603
+ };
1604
+ readonly useRoutedTransfers: {
1605
+ readonly type: "boolean";
1606
+ readonly default: false;
1607
+ };
1608
+ readonly requireBikeTransport: {
1609
+ readonly type: "boolean";
1610
+ readonly default: false;
1611
+ };
1612
+ readonly requireCarTransport: {
1613
+ readonly type: "boolean";
1614
+ readonly default: false;
1615
+ };
1616
+ readonly language: {
1617
+ readonly type: "array";
1618
+ readonly items: {
1619
+ readonly type: "string";
1620
+ };
1621
+ };
1622
+ };
1623
+ };
1457
1624
  declare const ItinerarySchema: {
1458
1625
  readonly type: "object";
1459
- readonly required: readonly ["duration", "startTime", "endTime", "transfers", "legs"];
1626
+ readonly required: readonly ["duration", "startTime", "endTime", "transfers", "id", "legs"];
1460
1627
  readonly properties: {
1461
1628
  readonly duration: {
1462
1629
  readonly description: "journey duration in seconds";
@@ -1476,6 +1643,10 @@ declare const ItinerarySchema: {
1476
1643
  readonly type: "integer";
1477
1644
  readonly description: "The number of transfers this trip has.";
1478
1645
  };
1646
+ readonly id: {
1647
+ readonly type: "string";
1648
+ readonly description: "Experimental (format might change). Opaque itinerary identifier.\nPass it as `itineraryId` to `refresh-itinerary` endpoint for reconstruction using the new schedule/realtime data.\n";
1649
+ };
1479
1650
  readonly legs: {
1480
1651
  readonly description: "Journey legs";
1481
1652
  readonly type: "array";
@@ -1884,5 +2055,18 @@ declare const RouteInfoSchema: {
1884
2055
  };
1885
2056
  };
1886
2057
  };
2058
+ declare const HealthResponseSchema: {
2059
+ readonly type: "object";
2060
+ readonly properties: {
2061
+ readonly rt: {
2062
+ readonly type: "boolean";
2063
+ readonly description: "GTFSRT, SIRI Lite, VDV AUS, VDV454 feeds.";
2064
+ };
2065
+ readonly gbfs: {
2066
+ readonly type: "boolean";
2067
+ readonly description: "GBFS feeds.";
2068
+ };
2069
+ };
2070
+ };
1887
2071
 
1888
- export { AlertCauseSchema, AlertEffectSchema, AlertSchema, AlertSeverityLevelSchema, AreaSchema, CategorySchema, CyclingSpeedSchema, DirectionSchema, DurationSchema, ElevationCostsSchema, EncodedPolylineSchema, ErrorSchema, FareMediaSchema, FareMediaTypeSchema, FareProductSchema, FareTransferRuleSchema, FareTransferSchema, ItinerarySchema, LegSchema, LocationTypeSchema, MatchSchema, ModeSchema, MultiPolygonSchema, OneToManyIntermodalParamsSchema, OneToManyIntermodalResponseSchema, OneToManyParamsSchema, ParetoSetEntrySchema, ParetoSetSchema, PedestrianProfileSchema, PedestrianSpeedSchema, PickupDropoffTypeSchema, PlaceSchema, ReachablePlaceSchema, ReachableSchema, RentalFormFactorSchema, RentalPropulsionTypeSchema, RentalProviderGroupSchema, RentalProviderSchema, RentalReturnConstraintSchema, RentalSchema, RentalStationSchema, RentalVehicleSchema, RentalVehicleTypeSchema, RentalZoneRestrictionsSchema, RentalZoneSchema, RiderCategorySchema, RouteColorSchema, RouteInfoSchema, RoutePathSourceSchema, RoutePolylineSchema, RouteSegmentSchema, ServerConfigSchema, StepInstructionSchema, StopTimeSchema, TimeRangeSchema, TokenSchema, TransferSchema, TransitRouteInfoSchema, TripInfoSchema, TripSegmentSchema, VertexTypeSchema };
2072
+ export { AlertCauseSchema, AlertEffectSchema, AlertSchema, AlertSeverityLevelSchema, AreaSchema, CategorySchema, CyclingSpeedSchema, DirectionSchema, DurationSchema, ElevationCostsSchema, EncodedPolylineSchema, ErrorSchema, FareMediaSchema, FareMediaTypeSchema, FareProductSchema, FareTransferRuleSchema, FareTransferSchema, HealthResponseSchema, ItineraryIdSchema, ItinerarySchema, LegIdSchema, LegSchema, LocationTypeSchema, MatchSchema, ModeSchema, MultiPolygonSchema, OneToManyIntermodalParamsSchema, OneToManyIntermodalResponseSchema, OneToManyParamsSchema, ParetoSetEntrySchema, ParetoSetSchema, PedestrianProfileSchema, PedestrianSpeedSchema, PickupDropoffTypeSchema, PlaceSchema, ReachablePlaceSchema, ReachableSchema, RefreshItineraryPostBodySchema, RentalFormFactorSchema, RentalPropulsionTypeSchema, RentalProviderGroupSchema, RentalProviderSchema, RentalReturnConstraintSchema, RentalSchema, RentalStationSchema, RentalVehicleSchema, RentalVehicleTypeSchema, RentalZoneRestrictionsSchema, RentalZoneSchema, RiderCategorySchema, RouteColorSchema, RouteInfoSchema, RoutePathSourceSchema, RoutePolylineSchema, RouteSegmentSchema, ServerConfigSchema, StepInstructionSchema, StopTimeSchema, TimeRangeSchema, TokenSchema, TransferSchema, TransitRouteInfoSchema, TripInfoSchema, TripSegmentSchema, VertexTypeSchema, WheelchairAccessibilitySchema };
@@ -16,7 +16,10 @@ import {
16
16
  FareProductSchema,
17
17
  FareTransferRuleSchema,
18
18
  FareTransferSchema,
19
+ HealthResponseSchema,
20
+ ItineraryIdSchema,
19
21
  ItinerarySchema,
22
+ LegIdSchema,
20
23
  LegSchema,
21
24
  LocationTypeSchema,
22
25
  MatchSchema,
@@ -33,6 +36,7 @@ import {
33
36
  PlaceSchema,
34
37
  ReachablePlaceSchema,
35
38
  ReachableSchema,
39
+ RefreshItineraryPostBodySchema,
36
40
  RentalFormFactorSchema,
37
41
  RentalPropulsionTypeSchema,
38
42
  RentalProviderGroupSchema,
@@ -59,8 +63,9 @@ import {
59
63
  TransitRouteInfoSchema,
60
64
  TripInfoSchema,
61
65
  TripSegmentSchema,
62
- VertexTypeSchema
63
- } from "./chunk-RI6GIEQA.js";
66
+ VertexTypeSchema,
67
+ WheelchairAccessibilitySchema
68
+ } from "./chunk-3UVN3SE5.js";
64
69
  export {
65
70
  AlertCauseSchema,
66
71
  AlertEffectSchema,
@@ -79,7 +84,10 @@ export {
79
84
  FareProductSchema,
80
85
  FareTransferRuleSchema,
81
86
  FareTransferSchema,
87
+ HealthResponseSchema,
88
+ ItineraryIdSchema,
82
89
  ItinerarySchema,
90
+ LegIdSchema,
83
91
  LegSchema,
84
92
  LocationTypeSchema,
85
93
  MatchSchema,
@@ -96,6 +104,7 @@ export {
96
104
  PlaceSchema,
97
105
  ReachablePlaceSchema,
98
106
  ReachableSchema,
107
+ RefreshItineraryPostBodySchema,
99
108
  RentalFormFactorSchema,
100
109
  RentalPropulsionTypeSchema,
101
110
  RentalProviderGroupSchema,
@@ -122,5 +131,6 @@ export {
122
131
  TransitRouteInfoSchema,
123
132
  TripInfoSchema,
124
133
  TripSegmentSchema,
125
- VertexTypeSchema
134
+ VertexTypeSchema,
135
+ WheelchairAccessibilitySchema
126
136
  };
@@ -1,4 +1,4 @@
1
- import { PlanData, PlanResponse, Error, OneToManyData, OneToManyResponse, OneToManyPostData, OneToManyPostResponse, OneToManyIntermodalData, OneToManyIntermodalResponse, OneToManyIntermodalPostData, OneToAllData, Reachable, ReverseGeocodeData, ReverseGeocodeResponse, GeocodeData, GeocodeResponse, TripData, Itinerary, StoptimesData, StoptimesResponse, TripsData, TripsResponse, InitialResponse, StopsData, StopsResponse, LevelsData, LevelsResponse, RoutesData, RoutesResponse, RentalsData, RentalsResponse, TransfersData, TransfersResponse } from './types.gen.js';
1
+ import { PlanData, PlanResponse, Error, OneToManyData, OneToManyResponse, OneToManyPostData, OneToManyPostResponse, OneToManyIntermodalData, OneToManyIntermodalResponse, OneToManyIntermodalPostData, OneToAllData, Reachable, ReverseGeocodeData, ReverseGeocodeResponse, GeocodeData, GeocodeResponse, TripData, Itinerary, RefreshItineraryData, RefreshItineraryPostData, StoptimesData, StoptimesResponse, TripsData, TripsResponse, InitialResponse, StopsData, StopsResponse, LevelsData, LevelsResponse, RoutesData, RoutesResponse, RouteDetailsData, RouteDetailsResponse, RentalsData, RentalsResponse, HealthResponse, TransfersData, TransfersResponse } from './types.gen.js';
2
2
  import * as _hey_api_client_fetch from '@hey-api/client-fetch';
3
3
  import { Options } from '@hey-api/client-fetch';
4
4
 
@@ -53,6 +53,26 @@ declare const geocode: <ThrowOnError extends boolean = false>(options: Options<G
53
53
  * Get a trip as itinerary
54
54
  */
55
55
  declare const trip: <ThrowOnError extends boolean = false>(options: Options<TripData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<Itinerary, Error, ThrowOnError>;
56
+ /**
57
+ * Reconstruct an itinerary from an itinerary ID.
58
+ * Experimental (API might change without prior notice and without API version bump).
59
+ * Only supports walking at start/end or station-to-station itineraries.
60
+ *
61
+ * All parameters mirror those of the `plan` endpoint - see the `plan`
62
+ * endpoint for their descriptions.
63
+ *
64
+ */
65
+ declare const refreshItinerary: <ThrowOnError extends boolean = false>(options: Options<RefreshItineraryData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<Itinerary, Error, ThrowOnError>;
66
+ /**
67
+ * Reconstruct an itinerary from a protobuf-JSON itinerary identifier.
68
+ * Experimental (API might change without prior notice and without API version bump).
69
+ * Only supports walking at start/end or station-to-station itineraries.
70
+ *
71
+ * All `RefreshItineraryPostBody` fields mirror the parameters of the
72
+ * `plan` endpoint - see the `plan` endpoint for their descriptions.
73
+ *
74
+ */
75
+ declare const refreshItineraryPost: <ThrowOnError extends boolean = false>(options: Options<RefreshItineraryPostData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<Itinerary, Error, ThrowOnError>;
56
76
  /**
57
77
  * Get the next N departures or arrivals of a stop sorted by time
58
78
  */
@@ -85,6 +105,12 @@ declare const levels: <ThrowOnError extends boolean = false>(options: Options<Le
85
105
  *
86
106
  */
87
107
  declare const routes: <ThrowOnError extends boolean = false>(options: Options<RoutesData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<RoutesResponse, Error, ThrowOnError>;
108
+ /**
109
+ * Returns the full data for a single route, including all stops and
110
+ * polyline segments.
111
+ *
112
+ */
113
+ declare const routeDetails: <ThrowOnError extends boolean = false>(options: Options<RouteDetailsData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<RouteDetailsResponse, Error, ThrowOnError>;
88
114
  /**
89
115
  * Get a list of rental providers or all rental stations and vehicles for
90
116
  * a map section or provider
@@ -109,9 +135,10 @@ declare const routes: <ThrowOnError extends boolean = false>(options: Options<Ro
109
135
  *
110
136
  */
111
137
  declare const rentals: <ThrowOnError extends boolean = false>(options?: Options<RentalsData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<RentalsResponse, Error, ThrowOnError>;
138
+ declare const health: <ThrowOnError extends boolean = false>(options?: Options<unknown, ThrowOnError>) => _hey_api_client_fetch.RequestResult<HealthResponse, HealthResponse, ThrowOnError>;
112
139
  /**
113
140
  * Prints all transfers of a timetable location (track, bus stop, etc.)
114
141
  */
115
142
  declare const transfers: <ThrowOnError extends boolean = false>(options: Options<TransfersData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<TransfersResponse, unknown, ThrowOnError>;
116
143
 
117
- export { client, geocode, initial, levels, oneToAll, oneToMany, oneToManyIntermodal, oneToManyIntermodalPost, oneToManyPost, plan, rentals, reverseGeocode, routes, stops, stoptimes, transfers, trip, trips };
144
+ export { client, geocode, health, initial, levels, oneToAll, oneToMany, oneToManyIntermodal, oneToManyIntermodalPost, oneToManyPost, plan, refreshItinerary, refreshItineraryPost, rentals, reverseGeocode, routeDetails, routes, stops, stoptimes, transfers, trip, trips };
@@ -1,6 +1,7 @@
1
1
  import {
2
2
  client,
3
3
  geocode,
4
+ health,
4
5
  initial,
5
6
  levels,
6
7
  oneToAll,
@@ -9,18 +10,22 @@ import {
9
10
  oneToManyIntermodalPost,
10
11
  oneToManyPost,
11
12
  plan,
13
+ refreshItinerary,
14
+ refreshItineraryPost,
12
15
  rentals,
13
16
  reverseGeocode,
17
+ routeDetails,
14
18
  routes,
15
19
  stops,
16
20
  stoptimes,
17
21
  transfers,
18
22
  trip,
19
23
  trips
20
- } from "./chunk-5NZGXSLW.js";
24
+ } from "./chunk-6F5ERMLN.js";
21
25
  export {
22
26
  client,
23
27
  geocode,
28
+ health,
24
29
  initial,
25
30
  levels,
26
31
  oneToAll,
@@ -29,8 +34,11 @@ export {
29
34
  oneToManyIntermodalPost,
30
35
  oneToManyPost,
31
36
  plan,
37
+ refreshItinerary,
38
+ refreshItineraryPost,
32
39
  rentals,
33
40
  reverseGeocode,
41
+ routeDetails,
34
42
  routes,
35
43
  stops,
36
44
  stoptimes,