@motis-project/motis-client 2.0.0 → 2.0.83

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,91 +1,91 @@
1
1
  // openapi/services.gen.ts
2
- import { createClient, createConfig } from "@hey-api/client-fetch";
2
+ import { createClient, createConfig } from '@hey-api/client-fetch';
3
3
  var client = createClient(createConfig());
4
4
  var plan = (options) => {
5
- return (options?.client ?? client).get({
6
- ...options,
7
- url: "/api/v2/plan"
8
- });
5
+ return (options?.client ?? client).get({
6
+ ...options,
7
+ url: '/api/v2/plan'
8
+ });
9
9
  };
10
10
  var oneToMany = (options) => {
11
- return (options?.client ?? client).get({
12
- ...options,
13
- url: "/api/v1/one-to-many"
14
- });
11
+ return (options?.client ?? client).get({
12
+ ...options,
13
+ url: '/api/v1/one-to-many'
14
+ });
15
15
  };
16
16
  var oneToAll = (options) => {
17
- return (options?.client ?? client).get({
18
- ...options,
19
- url: "/api/experimental/one-to-all"
20
- });
17
+ return (options?.client ?? client).get({
18
+ ...options,
19
+ url: '/api/experimental/one-to-all'
20
+ });
21
21
  };
22
22
  var reverseGeocode = (options) => {
23
- return (options?.client ?? client).get({
24
- ...options,
25
- url: "/api/v1/reverse-geocode"
26
- });
23
+ return (options?.client ?? client).get({
24
+ ...options,
25
+ url: '/api/v1/reverse-geocode'
26
+ });
27
27
  };
28
28
  var geocode = (options) => {
29
- return (options?.client ?? client).get({
30
- ...options,
31
- url: "/api/v1/geocode"
32
- });
29
+ return (options?.client ?? client).get({
30
+ ...options,
31
+ url: '/api/v1/geocode'
32
+ });
33
33
  };
34
34
  var trip = (options) => {
35
- return (options?.client ?? client).get({
36
- ...options,
37
- url: "/api/v2/trip"
38
- });
35
+ return (options?.client ?? client).get({
36
+ ...options,
37
+ url: '/api/v2/trip'
38
+ });
39
39
  };
40
40
  var stoptimes = (options) => {
41
- return (options?.client ?? client).get({
42
- ...options,
43
- url: "/api/v1/stoptimes"
44
- });
41
+ return (options?.client ?? client).get({
42
+ ...options,
43
+ url: '/api/v1/stoptimes'
44
+ });
45
45
  };
46
46
  var trips = (options) => {
47
- return (options?.client ?? client).get({
48
- ...options,
49
- url: "/api/v1/map/trips"
50
- });
47
+ return (options?.client ?? client).get({
48
+ ...options,
49
+ url: '/api/v1/map/trips'
50
+ });
51
51
  };
52
52
  var initial = (options) => {
53
- return (options?.client ?? client).get({
54
- ...options,
55
- url: "/api/v1/map/initial"
56
- });
53
+ return (options?.client ?? client).get({
54
+ ...options,
55
+ url: '/api/v1/map/initial'
56
+ });
57
57
  };
58
58
  var stops = (options) => {
59
- return (options?.client ?? client).get({
60
- ...options,
61
- url: "/api/v1/map/stops"
62
- });
59
+ return (options?.client ?? client).get({
60
+ ...options,
61
+ url: '/api/v1/map/stops'
62
+ });
63
63
  };
64
64
  var levels = (options) => {
65
- return (options?.client ?? client).get({
66
- ...options,
67
- url: "/api/v1/map/levels"
68
- });
65
+ return (options?.client ?? client).get({
66
+ ...options,
67
+ url: '/api/v1/map/levels'
68
+ });
69
69
  };
70
70
  var footpaths = (options) => {
71
- return (options?.client ?? client).get({
72
- ...options,
73
- url: "/api/debug/footpaths"
74
- });
71
+ return (options?.client ?? client).get({
72
+ ...options,
73
+ url: '/api/debug/footpaths'
74
+ });
75
75
  };
76
76
 
77
77
  export {
78
- client,
79
- plan,
80
- oneToMany,
81
- oneToAll,
82
- reverseGeocode,
83
- geocode,
84
- trip,
85
- stoptimes,
86
- trips,
87
- initial,
88
- stops,
89
- levels,
90
- footpaths
78
+ client,
79
+ plan,
80
+ oneToMany,
81
+ oneToAll,
82
+ reverseGeocode,
83
+ geocode,
84
+ trip,
85
+ stoptimes,
86
+ trips,
87
+ initial,
88
+ stops,
89
+ levels,
90
+ footpaths
91
91
  };
@@ -0,0 +1,91 @@
1
+ // openapi/services.gen.ts
2
+ import { createClient, createConfig } from "@hey-api/client-fetch";
3
+ var client = createClient(createConfig());
4
+ var plan = (options) => {
5
+ return (options?.client ?? client).get({
6
+ ...options,
7
+ url: "/api/v2/plan"
8
+ });
9
+ };
10
+ var oneToMany = (options) => {
11
+ return (options?.client ?? client).get({
12
+ ...options,
13
+ url: "/api/v1/one-to-many"
14
+ });
15
+ };
16
+ var oneToAll = (options) => {
17
+ return (options?.client ?? client).get({
18
+ ...options,
19
+ url: "/api/experimental/one-to-all"
20
+ });
21
+ };
22
+ var reverseGeocode = (options) => {
23
+ return (options?.client ?? client).get({
24
+ ...options,
25
+ url: "/api/v1/reverse-geocode"
26
+ });
27
+ };
28
+ var geocode = (options) => {
29
+ return (options?.client ?? client).get({
30
+ ...options,
31
+ url: "/api/v1/geocode"
32
+ });
33
+ };
34
+ var trip = (options) => {
35
+ return (options?.client ?? client).get({
36
+ ...options,
37
+ url: "/api/v2/trip"
38
+ });
39
+ };
40
+ var stoptimes = (options) => {
41
+ return (options?.client ?? client).get({
42
+ ...options,
43
+ url: "/api/v1/stoptimes"
44
+ });
45
+ };
46
+ var trips = (options) => {
47
+ return (options?.client ?? client).get({
48
+ ...options,
49
+ url: "/api/v1/map/trips"
50
+ });
51
+ };
52
+ var initial = (options) => {
53
+ return (options?.client ?? client).get({
54
+ ...options,
55
+ url: "/api/v1/map/initial"
56
+ });
57
+ };
58
+ var stops = (options) => {
59
+ return (options?.client ?? client).get({
60
+ ...options,
61
+ url: "/api/v1/map/stops"
62
+ });
63
+ };
64
+ var levels = (options) => {
65
+ return (options?.client ?? client).get({
66
+ ...options,
67
+ url: "/api/v1/map/levels"
68
+ });
69
+ };
70
+ var transfers = (options) => {
71
+ return (options?.client ?? client).get({
72
+ ...options,
73
+ url: "/api/debug/transfers"
74
+ });
75
+ };
76
+
77
+ export {
78
+ client,
79
+ plan,
80
+ oneToMany,
81
+ oneToAll,
82
+ reverseGeocode,
83
+ geocode,
84
+ trip,
85
+ stoptimes,
86
+ trips,
87
+ initial,
88
+ stops,
89
+ levels,
90
+ transfers
91
+ };
package/dist/index.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- export { AlertCauseSchema, AlertEffectSchema, AlertSchema, AlertSeverityLevelSchema, AreaSchema, DirectionSchema, DurationSchema, ElevationCostsSchema, EncodedPolylineSchema, FareMediaSchema, FareMediaTypeSchema, FareProductSchema, FareTransferRuleSchema, FareTransferSchema, FootpathSchema, ItinerarySchema, LegSchema, LocationTypeSchema, MatchSchema, ModeSchema, PedestrianProfileSchema, PickupDropoffTypeSchema, PlaceSchema, ReachablePlaceSchema, ReachableSchema, RentalFormFactorSchema, RentalPropulsionTypeSchema, RentalReturnConstraintSchema, RentalSchema, RiderCategorySchema, StepInstructionSchema, StopTimeSchema, TimeRangeSchema, TokenSchema, TripInfoSchema, TripSegmentSchema, VertexTypeSchema } from './schemas.gen.js';
2
- export { client, footpaths, geocode, initial, levels, oneToAll, oneToMany, plan, reverseGeocode, stops, stoptimes, trip, trips } from './services.gen.js';
3
- export { Alert, AlertCause, AlertEffect, AlertSeverityLevel, Area, Direction, Duration, ElevationCosts, EncodedPolyline, FareMedia, FareMediaType, FareProduct, FareTransfer, FareTransferRule, Footpath, FootpathsData, FootpathsError, FootpathsResponse, GeocodeData, GeocodeError, GeocodeResponse, InitialError, InitialResponse, Itinerary, Leg, LevelsData, LevelsError, LevelsResponse, LocationType, Match, Mode, OneToAllData, OneToAllError, OneToAllResponse, OneToManyData, OneToManyError, OneToManyResponse, PedestrianProfile, PickupDropoffType, Place, PlanData, PlanError, PlanResponse, Reachable, ReachablePlace, Rental, RentalFormFactor, RentalPropulsionType, RentalReturnConstraint, ReverseGeocodeData, ReverseGeocodeError, ReverseGeocodeResponse, RiderCategory, StepInstruction, StopTime, StopsData, StopsError, StopsResponse, StoptimesData, StoptimesError, StoptimesResponse, TimeRange, Token, TripData, TripError, TripInfo, TripResponse, TripSegment, TripsData, TripsError, TripsResponse, VertexType } from './types.gen.js';
1
+ export { AlertCauseSchema, AlertEffectSchema, AlertSchema, AlertSeverityLevelSchema, AreaSchema, DirectionSchema, DurationSchema, ElevationCostsSchema, EncodedPolylineSchema, FareMediaSchema, FareMediaTypeSchema, FareProductSchema, FareTransferRuleSchema, FareTransferSchema, ItinerarySchema, LegSchema, LocationTypeSchema, MatchSchema, ModeSchema, PedestrianProfileSchema, PickupDropoffTypeSchema, PlaceSchema, ReachablePlaceSchema, ReachableSchema, RentalFormFactorSchema, RentalPropulsionTypeSchema, RentalReturnConstraintSchema, RentalSchema, RiderCategorySchema, StepInstructionSchema, StopTimeSchema, TimeRangeSchema, TokenSchema, TransferSchema, TripInfoSchema, TripSegmentSchema, VertexTypeSchema } from './schemas.gen.js';
2
+ export { client, geocode, initial, levels, oneToAll, oneToMany, plan, reverseGeocode, stops, stoptimes, transfers, trip, trips } from './services.gen.js';
3
+ export { Alert, AlertCause, AlertEffect, AlertSeverityLevel, Area, Direction, Duration, ElevationCosts, EncodedPolyline, FareMedia, FareMediaType, FareProduct, FareTransfer, FareTransferRule, GeocodeData, GeocodeError, GeocodeResponse, InitialError, InitialResponse, Itinerary, Leg, LevelsData, LevelsError, LevelsResponse, LocationType, Match, Mode, OneToAllData, OneToAllError, OneToAllResponse, OneToManyData, OneToManyError, OneToManyResponse, PedestrianProfile, PickupDropoffType, Place, PlanData, PlanError, PlanResponse, Reachable, ReachablePlace, Rental, RentalFormFactor, RentalPropulsionType, RentalReturnConstraint, ReverseGeocodeData, ReverseGeocodeError, ReverseGeocodeResponse, RiderCategory, StepInstruction, StopTime, StopsData, StopsError, StopsResponse, StoptimesData, StoptimesError, StoptimesResponse, TimeRange, Token, Transfer, TransfersData, TransfersError, TransfersResponse, TripData, TripError, TripInfo, TripResponse, TripSegment, TripsData, TripsError, TripsResponse, VertexType } from './types.gen.js';
4
4
  import '@hey-api/client-fetch';
package/dist/index.js CHANGED
@@ -13,7 +13,6 @@ import {
13
13
  FareProductSchema,
14
14
  FareTransferRuleSchema,
15
15
  FareTransferSchema,
16
- FootpathSchema,
17
16
  ItinerarySchema,
18
17
  LegSchema,
19
18
  LocationTypeSchema,
@@ -33,13 +32,13 @@ import {
33
32
  StopTimeSchema,
34
33
  TimeRangeSchema,
35
34
  TokenSchema,
35
+ TransferSchema,
36
36
  TripInfoSchema,
37
37
  TripSegmentSchema,
38
38
  VertexTypeSchema
39
- } from "./chunk-IYBFZNEH.js";
39
+ } from "./chunk-CAW6R2LI.js";
40
40
  import {
41
41
  client,
42
- footpaths,
43
42
  geocode,
44
43
  initial,
45
44
  levels,
@@ -49,9 +48,10 @@ import {
49
48
  reverseGeocode,
50
49
  stops,
51
50
  stoptimes,
51
+ transfers,
52
52
  trip,
53
53
  trips
54
- } from "./chunk-QM2K42W7.js";
54
+ } from "./chunk-VOTN5CAZ.js";
55
55
  import "./chunk-6DML7NNP.js";
56
56
  export {
57
57
  AlertCauseSchema,
@@ -68,7 +68,6 @@ export {
68
68
  FareProductSchema,
69
69
  FareTransferRuleSchema,
70
70
  FareTransferSchema,
71
- FootpathSchema,
72
71
  ItinerarySchema,
73
72
  LegSchema,
74
73
  LocationTypeSchema,
@@ -88,11 +87,11 @@ export {
88
87
  StopTimeSchema,
89
88
  TimeRangeSchema,
90
89
  TokenSchema,
90
+ TransferSchema,
91
91
  TripInfoSchema,
92
92
  TripSegmentSchema,
93
93
  VertexTypeSchema,
94
94
  client,
95
- footpaths,
96
95
  geocode,
97
96
  initial,
98
97
  levels,
@@ -102,6 +101,7 @@ export {
102
101
  reverseGeocode,
103
102
  stops,
104
103
  stoptimes,
104
+ transfers,
105
105
  trip,
106
106
  trips
107
107
  };
@@ -222,9 +222,9 @@ declare const PedestrianProfileSchema: {
222
222
  readonly enum: readonly ["FOOT", "WHEELCHAIR"];
223
223
  };
224
224
  declare const ModeSchema: {
225
- readonly description: "# Street modes\n\n - `WALK`\n - `BIKE`\n - `RENTAL` Experimental. Expect unannounced breaking changes (without version bumps).\n - `CAR`\n - `CAR_PARKING`\n - `ODM`\n\n# Transit modes\n\n - `TRANSIT`: translates to `RAIL,SUBWAY,TRAM,BUS,FERRY,AIRPLANE,COACH`\n - `TRAM`: trams\n - `SUBWAY`: subway trains\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_RAIL,NIGHT_RAIL,REGIONAL_RAIL,REGIONAL_FAST_RAIL`\n - `METRO`: metro trains\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`: regional express routes that skip low traffic stops to be faster\n - `REGIONAL_RAIL`: regional train\n";
225
+ 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 - `ODM` on-demand taxis from the Prima+ÖV Project\n - `FLEX` flexible transports\n\n# Transit modes\n\n - `TRANSIT`: translates to `RAIL,SUBWAY,TRAM,BUS,FERRY,AIRPLANE,COACH`\n - `TRAM`: trams\n - `SUBWAY`: subway trains\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_RAIL,NIGHT_RAIL,REGIONAL_RAIL,REGIONAL_FAST_RAIL`\n - `METRO`: metro trains \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`: regional express routes that skip low traffic stops to be faster\n - `REGIONAL_RAIL`: regional train\n - `CABLE_CAR`: Cable tram. Used for street-level rail cars where the cable runs beneath the vehicle (e.g., cable car in San Francisco).\n - `FUNICULAR`: Funicular. Any rail system designed for steep inclines.\n - `AREAL_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";
226
226
  readonly type: "string";
227
- readonly enum: readonly ["WALK", "BIKE", "RENTAL", "CAR", "CAR_PARKING", "ODM", "TRANSIT", "TRAM", "SUBWAY", "FERRY", "AIRPLANE", "METRO", "BUS", "COACH", "RAIL", "HIGHSPEED_RAIL", "LONG_DISTANCE", "NIGHT_RAIL", "REGIONAL_FAST_RAIL", "REGIONAL_RAIL", "OTHER"];
227
+ readonly enum: readonly ["WALK", "BIKE", "RENTAL", "CAR", "CAR_PARKING", "ODM", "FLEX", "TRANSIT", "TRAM", "SUBWAY", "FERRY", "AIRPLANE", "METRO", "BUS", "COACH", "RAIL", "HIGHSPEED_RAIL", "LONG_DISTANCE", "NIGHT_RAIL", "REGIONAL_FAST_RAIL", "REGIONAL_RAIL", "CABLE_CAR", "FUNICULAR", "AREAL_LIFT", "OTHER"];
228
228
  };
229
229
  declare const VertexTypeSchema: {
230
230
  readonly type: "string";
@@ -288,6 +288,10 @@ declare const PlaceSchema: {
288
288
  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";
289
289
  readonly type: "string";
290
290
  };
291
+ readonly description: {
292
+ readonly description: "description of the location that provides more detailed information";
293
+ readonly type: "string";
294
+ };
291
295
  readonly vertexType: {
292
296
  readonly $ref: "#/components/schemas/VertexType";
293
297
  };
@@ -310,6 +314,24 @@ declare const PlaceSchema: {
310
314
  readonly $ref: "#/components/schemas/Alert";
311
315
  };
312
316
  };
317
+ readonly flex: {
318
+ readonly description: "for `FLEX` transports, the flex location area or location group name";
319
+ readonly type: "string";
320
+ };
321
+ readonly flexId: {
322
+ readonly description: "for `FLEX` transports, the flex location area ID or location group ID";
323
+ readonly type: "string";
324
+ };
325
+ readonly flexStartPickupDropOffWindow: {
326
+ readonly description: "Time that on-demand service becomes available";
327
+ readonly type: "string";
328
+ readonly format: "date-time";
329
+ };
330
+ readonly flexEndPickupDropOffWindow: {
331
+ readonly description: "Time that on-demand service ends";
332
+ readonly type: "string";
333
+ readonly format: "date-time";
334
+ };
313
335
  };
314
336
  };
315
337
  declare const ReachablePlaceSchema: {
@@ -541,6 +563,22 @@ declare const StepInstructionSchema: {
541
563
  readonly description: "Not implemented!\nThis step is on an open area, such as a plaza or train platform,\nand thus the directions should say something like \"cross\"\n";
542
564
  readonly type: "boolean";
543
565
  };
566
+ readonly toll: {
567
+ readonly description: "Indicates that a fee must be paid by general traffic to use a road, road bridge or road tunnel.";
568
+ readonly type: "boolean";
569
+ };
570
+ readonly accessRestriction: {
571
+ readonly description: "Experimental. Indicates whether access to this part of the route is restricted.\nSee: https://wiki.openstreetmap.org/wiki/Conditional_restrictions\n";
572
+ readonly type: "string";
573
+ };
574
+ readonly elevationUp: {
575
+ readonly type: "integer";
576
+ readonly description: "incline in meters across this path segment";
577
+ };
578
+ readonly elevationDown: {
579
+ readonly type: "integer";
580
+ readonly description: "decline in meters across this path segment";
581
+ };
544
582
  };
545
583
  };
546
584
  declare const RentalFormFactorSchema: {
@@ -813,8 +851,11 @@ declare const FareTransferSchema: {
813
851
  readonly rule: {
814
852
  readonly $ref: "#/components/schemas/FareTransferRule";
815
853
  };
816
- readonly transferProduct: {
817
- readonly $ref: "#/components/schemas/FareProduct";
854
+ readonly transferProducts: {
855
+ readonly type: "array";
856
+ readonly items: {
857
+ readonly $ref: "#/components/schemas/FareProduct";
858
+ };
818
859
  };
819
860
  readonly effectiveFareLegProducts: {
820
861
  readonly description: "Lists all valid fare products for the effective fare legs.\nThis is an `array<array<FareProduct>>` where the inner array\nlists all possible fare products that would cover this effective fare leg.\nEach \"effective fare leg\" can have multiple options for adult/child/weekly/monthly/day/one-way tickets etc.\nYou can see the outer array as AND (you need one ticket for each effective fare leg (`A_AB_B`), the first effective fare leg (`A_AB`) or no fare leg at all but only the transfer product (`AB`)\nand the inner array as OR (you can choose which ticket to buy)\n";
@@ -822,7 +863,10 @@ declare const FareTransferSchema: {
822
863
  readonly items: {
823
864
  readonly type: "array";
824
865
  readonly items: {
825
- readonly $ref: "#/components/schemas/FareProduct";
866
+ readonly type: "array";
867
+ readonly items: {
868
+ readonly $ref: "#/components/schemas/FareProduct";
869
+ };
826
870
  };
827
871
  };
828
872
  };
@@ -866,8 +910,8 @@ declare const ItinerarySchema: {
866
910
  };
867
911
  };
868
912
  };
869
- declare const FootpathSchema: {
870
- readonly description: "footpath from one location to another";
913
+ declare const TransferSchema: {
914
+ readonly description: "transfer from one location to another";
871
915
  readonly type: "object";
872
916
  readonly required: readonly ["to"];
873
917
  readonly properties: {
@@ -876,29 +920,33 @@ declare const FootpathSchema: {
876
920
  };
877
921
  readonly default: {
878
922
  readonly type: "number";
879
- readonly description: "optional; missing if the GTFS did not contain a footpath\nfootpath duration in minutes according to GTFS (+heuristics)\n";
923
+ readonly description: "optional; missing if the GTFS did not contain a transfer\ntransfer duration in minutes according to GTFS (+heuristics)\n";
880
924
  };
881
925
  readonly foot: {
882
926
  readonly type: "number";
883
- readonly description: "optional; missing if no path was found (timetable / osr)\nfootpath duration in minutes for the foot profile\n";
927
+ readonly description: "optional; missing if no path was found (timetable / osr)\ntransfer duration in minutes for the foot profile\n";
884
928
  };
885
929
  readonly footRouted: {
886
930
  readonly type: "number";
887
- readonly description: "optional; missing if no path was found with foot routing\nfootpath duration in minutes for the foot profile\n";
931
+ readonly description: "optional; missing if no path was found with foot routing\ntransfer duration in minutes for the foot profile\n";
888
932
  };
889
933
  readonly wheelchair: {
890
934
  readonly type: "number";
891
- readonly description: "optional; missing if no path was found with the wheelchair profile \nfootpath duration in minutes for the wheelchair profile\n";
935
+ readonly description: "optional; missing if no path was found with the wheelchair profile \ntransfer duration in minutes for the wheelchair profile\n";
892
936
  };
893
937
  readonly wheelchairRouted: {
894
938
  readonly type: "number";
895
- readonly description: "optional; missing if no path was found with the wheelchair profile\nfootpath duration in minutes for the wheelchair profile\n";
939
+ readonly description: "optional; missing if no path was found with the wheelchair profile\ntransfer duration in minutes for the wheelchair profile\n";
896
940
  };
897
941
  readonly wheelchairUsesElevator: {
898
942
  readonly type: "boolean";
899
943
  readonly description: "optional; missing if no path was found with the wheelchair profile\ntrue if the wheelchair path uses an elevator\n";
900
944
  };
945
+ readonly car: {
946
+ readonly type: "number";
947
+ readonly description: "optional; missing if no path was found with car routing\ntransfer duration in minutes for the car profile\n";
948
+ };
901
949
  };
902
950
  };
903
951
 
904
- export { AlertCauseSchema, AlertEffectSchema, AlertSchema, AlertSeverityLevelSchema, AreaSchema, DirectionSchema, DurationSchema, ElevationCostsSchema, EncodedPolylineSchema, FareMediaSchema, FareMediaTypeSchema, FareProductSchema, FareTransferRuleSchema, FareTransferSchema, FootpathSchema, ItinerarySchema, LegSchema, LocationTypeSchema, MatchSchema, ModeSchema, PedestrianProfileSchema, PickupDropoffTypeSchema, PlaceSchema, ReachablePlaceSchema, ReachableSchema, RentalFormFactorSchema, RentalPropulsionTypeSchema, RentalReturnConstraintSchema, RentalSchema, RiderCategorySchema, StepInstructionSchema, StopTimeSchema, TimeRangeSchema, TokenSchema, TripInfoSchema, TripSegmentSchema, VertexTypeSchema };
952
+ export { AlertCauseSchema, AlertEffectSchema, AlertSchema, AlertSeverityLevelSchema, AreaSchema, DirectionSchema, DurationSchema, ElevationCostsSchema, EncodedPolylineSchema, FareMediaSchema, FareMediaTypeSchema, FareProductSchema, FareTransferRuleSchema, FareTransferSchema, ItinerarySchema, LegSchema, LocationTypeSchema, MatchSchema, ModeSchema, PedestrianProfileSchema, PickupDropoffTypeSchema, PlaceSchema, ReachablePlaceSchema, ReachableSchema, RentalFormFactorSchema, RentalPropulsionTypeSchema, RentalReturnConstraintSchema, RentalSchema, RiderCategorySchema, StepInstructionSchema, StopTimeSchema, TimeRangeSchema, TokenSchema, TransferSchema, TripInfoSchema, TripSegmentSchema, VertexTypeSchema };
@@ -13,7 +13,6 @@ import {
13
13
  FareProductSchema,
14
14
  FareTransferRuleSchema,
15
15
  FareTransferSchema,
16
- FootpathSchema,
17
16
  ItinerarySchema,
18
17
  LegSchema,
19
18
  LocationTypeSchema,
@@ -33,10 +32,11 @@ import {
33
32
  StopTimeSchema,
34
33
  TimeRangeSchema,
35
34
  TokenSchema,
35
+ TransferSchema,
36
36
  TripInfoSchema,
37
37
  TripSegmentSchema,
38
38
  VertexTypeSchema
39
- } from "./chunk-IYBFZNEH.js";
39
+ } from "./chunk-CAW6R2LI.js";
40
40
  export {
41
41
  AlertCauseSchema,
42
42
  AlertEffectSchema,
@@ -52,7 +52,6 @@ export {
52
52
  FareProductSchema,
53
53
  FareTransferRuleSchema,
54
54
  FareTransferSchema,
55
- FootpathSchema,
56
55
  ItinerarySchema,
57
56
  LegSchema,
58
57
  LocationTypeSchema,
@@ -72,6 +71,7 @@ export {
72
71
  StopTimeSchema,
73
72
  TimeRangeSchema,
74
73
  TokenSchema,
74
+ TransferSchema,
75
75
  TripInfoSchema,
76
76
  TripSegmentSchema,
77
77
  VertexTypeSchema
@@ -1,4 +1,4 @@
1
- import { PlanData, PlanResponse, OneToManyData, OneToManyResponse, OneToAllData, Reachable, ReverseGeocodeData, ReverseGeocodeResponse, GeocodeData, GeocodeResponse, TripData, Itinerary, StoptimesData, StoptimesResponse, TripsData, TripsResponse, InitialResponse, StopsData, StopsResponse, LevelsData, LevelsResponse, FootpathsData, FootpathsResponse } from './types.gen.js';
1
+ import { PlanData, PlanResponse, OneToManyData, OneToManyResponse, OneToAllData, Reachable, ReverseGeocodeData, ReverseGeocodeResponse, GeocodeData, GeocodeResponse, TripData, Itinerary, StoptimesData, StoptimesResponse, TripsData, TripsResponse, InitialResponse, StopsData, StopsResponse, LevelsData, LevelsResponse, 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
 
@@ -58,8 +58,8 @@ declare const stops: <ThrowOnError extends boolean = false>(options: Options<Sto
58
58
  */
59
59
  declare const levels: <ThrowOnError extends boolean = false>(options: Options<LevelsData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<LevelsResponse, unknown, ThrowOnError>;
60
60
  /**
61
- * Prints all footpaths of a timetable location (track, bus stop, etc.)
61
+ * Prints all transfers of a timetable location (track, bus stop, etc.)
62
62
  */
63
- declare const footpaths: <ThrowOnError extends boolean = false>(options: Options<FootpathsData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<FootpathsResponse, unknown, ThrowOnError>;
63
+ declare const transfers: <ThrowOnError extends boolean = false>(options: Options<TransfersData, ThrowOnError>) => _hey_api_client_fetch.RequestResult<TransfersResponse, unknown, ThrowOnError>;
64
64
 
65
- export { client, footpaths, geocode, initial, levels, oneToAll, oneToMany, plan, reverseGeocode, stops, stoptimes, trip, trips };
65
+ export { client, geocode, initial, levels, oneToAll, oneToMany, plan, reverseGeocode, stops, stoptimes, transfers, trip, trips };
@@ -1,6 +1,5 @@
1
1
  import {
2
2
  client,
3
- footpaths,
4
3
  geocode,
5
4
  initial,
6
5
  levels,
@@ -10,12 +9,12 @@ import {
10
9
  reverseGeocode,
11
10
  stops,
12
11
  stoptimes,
12
+ transfers,
13
13
  trip,
14
14
  trips
15
- } from "./chunk-QM2K42W7.js";
15
+ } from "./chunk-VOTN5CAZ.js";
16
16
  export {
17
17
  client,
18
- footpaths,
19
18
  geocode,
20
19
  initial,
21
20
  levels,
@@ -25,6 +24,7 @@ export {
25
24
  reverseGeocode,
26
25
  stops,
27
26
  stoptimes,
27
+ transfers,
28
28
  trip,
29
29
  trips
30
30
  };