@motis-project/motis-client 2.9.2 → 2.10.1
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/{chunk-RI6GIEQA.js → chunk-3UVN3SE5.js} +230 -7
- package/dist/{chunk-5NZGXSLW.js → chunk-6F5ERMLN.js} +34 -6
- package/dist/index.d.ts +3 -3
- package/dist/index.js +21 -3
- package/dist/schemas.gen.d.ts +191 -7
- package/dist/schemas.gen.js +13 -3
- package/dist/services.gen.d.ts +29 -2
- package/dist/services.gen.js +9 -1
- package/dist/types.gen.d.ts +232 -8
- package/package.json +1 -1
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
var AlertCauseSchema = {
|
|
3
3
|
description: "Cause of this alert.",
|
|
4
4
|
type: "string",
|
|
5
|
-
enum: ["UNKNOWN_CAUSE", "OTHER_CAUSE", "TECHNICAL_PROBLEM", "STRIKE", "DEMONSTRATION", "ACCIDENT", "HOLIDAY", "WEATHER", "MAINTENANCE", "CONSTRUCTION", "POLICE_ACTIVITY", "MEDICAL_EMERGENCY"]
|
|
5
|
+
enum: ["UNKNOWN_CAUSE", "OTHER_CAUSE", "TECHNICAL_PROBLEM", "STRIKE", "DEMONSTRATION", "ACCIDENT", "HOLIDAY", "WEATHER", "MAINTENANCE", "CONSTRUCTION", "POLICE_ACTIVITY", "MEDICAL_EMERGENCY", "SPECIAL_EVENT"]
|
|
6
6
|
};
|
|
7
7
|
var AlertEffectSchema = {
|
|
8
8
|
description: "The effect of this problem on the affected entity.",
|
|
@@ -268,7 +268,7 @@ var ModeSchema = {
|
|
|
268
268
|
|
|
269
269
|
# Transit modes
|
|
270
270
|
|
|
271
|
-
- \`TRANSIT\`: translates to \`TRAM,FERRY,AIRPLANE,BUS,COACH,RAIL,ODM,FUNICULAR,AERIAL_LIFT,OTHER\`
|
|
271
|
+
- \`TRANSIT\`: translates to \`TRAM,FERRY,AIRPLANE,BUS,COACH,RAIL,ODM,RIDE_SHARING,FUNICULAR,AERIAL_LIFT,OTHER\`
|
|
272
272
|
- \`TRAM\`: trams
|
|
273
273
|
- \`SUBWAY\`: subway trains (Paris Metro, London Underground, but also NYC Subway, Hamburger Hochbahn, and other non-underground services)
|
|
274
274
|
- \`FERRY\`: ferries
|
|
@@ -283,6 +283,7 @@ var ModeSchema = {
|
|
|
283
283
|
- \`REGIONAL_RAIL\`: regional train
|
|
284
284
|
- \`SUBURBAN\`: suburban trains (e.g. S-Bahn, RER, Elizabeth Line, ...)
|
|
285
285
|
- \`ODM\`: demand responsive transport
|
|
286
|
+
- \`RIDE_SHARING\`: ride sharing
|
|
286
287
|
- \`FUNICULAR\`: Funicular. Any rail system designed for steep inclines.
|
|
287
288
|
- \`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.
|
|
288
289
|
- \`AREAL_LIFT\`: deprecated
|
|
@@ -422,7 +423,7 @@ var PickupDropoffTypeSchema = {
|
|
|
422
423
|
};
|
|
423
424
|
var PlaceSchema = {
|
|
424
425
|
type: "object",
|
|
425
|
-
required: ["name", "lat", "lon"
|
|
426
|
+
required: ["name", "lat", "lon"],
|
|
426
427
|
properties: {
|
|
427
428
|
name: {
|
|
428
429
|
description: "name of the transit stop / PoI / address",
|
|
@@ -449,7 +450,12 @@ var PlaceSchema = {
|
|
|
449
450
|
type: "number"
|
|
450
451
|
},
|
|
451
452
|
level: {
|
|
452
|
-
description:
|
|
453
|
+
description: `level according to OpenStreetMap
|
|
454
|
+
If no level is given, the field will be unset.
|
|
455
|
+
|
|
456
|
+
For older versions (v1-v5), this field is mandatory and therefore set to 0.
|
|
457
|
+
Affected endpoints: plan, trip, stoptimes, one-to-all, map/stops, map/trips
|
|
458
|
+
`,
|
|
453
459
|
type: "number"
|
|
454
460
|
},
|
|
455
461
|
tz: {
|
|
@@ -481,8 +487,15 @@ var PlaceSchema = {
|
|
|
481
487
|
type: "string"
|
|
482
488
|
},
|
|
483
489
|
track: {
|
|
484
|
-
description: `The current track/platform information, updated with real-time updates if available.
|
|
490
|
+
description: `The current track/platform information, updated with real-time updates if available.
|
|
485
491
|
Can be missing if neither real-time updates nor the schedule timetable contains track information.
|
|
492
|
+
`,
|
|
493
|
+
type: "string"
|
|
494
|
+
},
|
|
495
|
+
stopCode: {
|
|
496
|
+
description: `Short, abbreviated identifier of the stop intended for users
|
|
497
|
+
(e.g. printed on signage, used in SMS / passenger info systems).
|
|
498
|
+
Comes from the GTFS \`stop_code\` field.
|
|
486
499
|
`,
|
|
487
500
|
type: "string"
|
|
488
501
|
},
|
|
@@ -864,6 +877,10 @@ See: https://wiki.openstreetmap.org/wiki/Conditional_restrictions
|
|
|
864
877
|
}
|
|
865
878
|
}
|
|
866
879
|
};
|
|
880
|
+
var WheelchairAccessibilitySchema = {
|
|
881
|
+
type: "string",
|
|
882
|
+
enum: ["ACCESSIBLE", "NOT_ACCESSIBLE"]
|
|
883
|
+
};
|
|
867
884
|
var RentalFormFactorSchema = {
|
|
868
885
|
type: "string",
|
|
869
886
|
enum: ["BICYCLE", "CARGO_BICYCLE", "CAR", "MOPED", "SCOOTER_STANDING", "SCOOTER_SEATED", "OTHER"]
|
|
@@ -1538,6 +1555,40 @@ by looping active weekdays, e.g. from calendar.txt in GTFS.
|
|
|
1538
1555
|
description: `Whether bikes can be carried on this leg.
|
|
1539
1556
|
`,
|
|
1540
1557
|
type: "boolean"
|
|
1558
|
+
},
|
|
1559
|
+
wheelchairAccessible: {
|
|
1560
|
+
description: `Whether wheelchairs can be transported on this leg.
|
|
1561
|
+
`,
|
|
1562
|
+
"$ref": "#/components/schemas/WheelchairAccessibility"
|
|
1563
|
+
},
|
|
1564
|
+
alternatives: {
|
|
1565
|
+
description: `Alternative connections that can replace this transit leg.
|
|
1566
|
+
Each alternative is normally a sequence of 3 legs:
|
|
1567
|
+
\`[ingress footpath, transit, egress footpath]\`.
|
|
1568
|
+
Only populated when the request sets \`numLegAlternatives\` > 0
|
|
1569
|
+
(capped to that value).
|
|
1570
|
+
|
|
1571
|
+
Interlined legs:
|
|
1572
|
+
\`alternatives\` is populated only on the first (main) leg of
|
|
1573
|
+
an interlined chain. Subsequent interlined legs (carrying
|
|
1574
|
+
\`interlineWithPreviousLeg=true\`) leave \`alternatives\` unset.
|
|
1575
|
+
Alternatives are valid for the whole interlined segment.
|
|
1576
|
+
|
|
1577
|
+
An alternative may itself cover an interlined segment:
|
|
1578
|
+
the alternative's middle transit then expands into multiple
|
|
1579
|
+
interlined legs when \`joinInterlinedLegs=false\`. In that
|
|
1580
|
+
case the alternative contains more than 3 legs: ingress
|
|
1581
|
+
footpath, followed by N interlined transit legs (the
|
|
1582
|
+
secondary ones carrying \`interlineWithPreviousLeg=true\`),
|
|
1583
|
+
followed by an egress footpath.
|
|
1584
|
+
`,
|
|
1585
|
+
type: "array",
|
|
1586
|
+
items: {
|
|
1587
|
+
type: "array",
|
|
1588
|
+
items: {
|
|
1589
|
+
"$ref": "#/components/schemas/Leg"
|
|
1590
|
+
}
|
|
1591
|
+
}
|
|
1541
1592
|
}
|
|
1542
1593
|
}
|
|
1543
1594
|
};
|
|
@@ -1662,9 +1713,157 @@ and the inner array as OR (you can choose which ticket to buy)
|
|
|
1662
1713
|
}
|
|
1663
1714
|
}
|
|
1664
1715
|
};
|
|
1716
|
+
var LegIdSchema = {
|
|
1717
|
+
type: "object",
|
|
1718
|
+
required: ["displayName", "tripId", "fromId", "fromLat", "fromLon", "toId", "toLat", "toLon", "schedStart", "schedEnd", "mode", "scheduled"],
|
|
1719
|
+
properties: {
|
|
1720
|
+
displayName: {
|
|
1721
|
+
type: "string"
|
|
1722
|
+
},
|
|
1723
|
+
tripId: {
|
|
1724
|
+
type: "string"
|
|
1725
|
+
},
|
|
1726
|
+
fromId: {
|
|
1727
|
+
description: "from stop stopId",
|
|
1728
|
+
type: "string"
|
|
1729
|
+
},
|
|
1730
|
+
fromLat: {
|
|
1731
|
+
description: "latitude of the leg's from endpoint",
|
|
1732
|
+
type: "number",
|
|
1733
|
+
format: "double"
|
|
1734
|
+
},
|
|
1735
|
+
fromLon: {
|
|
1736
|
+
description: "longitude of the leg's from endpoint",
|
|
1737
|
+
type: "number",
|
|
1738
|
+
format: "double"
|
|
1739
|
+
},
|
|
1740
|
+
fromLevel: {
|
|
1741
|
+
description: "Optional level (floor) of the leg's from endpoint for indoor routing.",
|
|
1742
|
+
type: "number",
|
|
1743
|
+
format: "double"
|
|
1744
|
+
},
|
|
1745
|
+
toId: {
|
|
1746
|
+
description: "to stop stopId",
|
|
1747
|
+
type: "string"
|
|
1748
|
+
},
|
|
1749
|
+
toLat: {
|
|
1750
|
+
description: "latitude of the leg's to endpoint",
|
|
1751
|
+
type: "number",
|
|
1752
|
+
format: "double"
|
|
1753
|
+
},
|
|
1754
|
+
toLon: {
|
|
1755
|
+
description: "longitude of the leg's to endpoint",
|
|
1756
|
+
type: "number",
|
|
1757
|
+
format: "double"
|
|
1758
|
+
},
|
|
1759
|
+
toLevel: {
|
|
1760
|
+
description: "Optional level (floor) of the leg's to endpoint for indoor routing.",
|
|
1761
|
+
type: "number",
|
|
1762
|
+
format: "double"
|
|
1763
|
+
},
|
|
1764
|
+
schedStart: {
|
|
1765
|
+
type: "integer",
|
|
1766
|
+
format: "int64",
|
|
1767
|
+
description: "Scheduled departure time as a Unix timestamp in seconds."
|
|
1768
|
+
},
|
|
1769
|
+
schedEnd: {
|
|
1770
|
+
type: "integer",
|
|
1771
|
+
format: "int64",
|
|
1772
|
+
description: "Scheduled arrival time as a Unix timestamp in seconds."
|
|
1773
|
+
},
|
|
1774
|
+
mode: {
|
|
1775
|
+
"$ref": "#/components/schemas/Mode"
|
|
1776
|
+
},
|
|
1777
|
+
scheduled: {
|
|
1778
|
+
type: "boolean"
|
|
1779
|
+
}
|
|
1780
|
+
}
|
|
1781
|
+
};
|
|
1782
|
+
var ItineraryIdSchema = {
|
|
1783
|
+
type: "object",
|
|
1784
|
+
required: ["legs"],
|
|
1785
|
+
properties: {
|
|
1786
|
+
legs: {
|
|
1787
|
+
type: "array",
|
|
1788
|
+
items: {
|
|
1789
|
+
"$ref": "#/components/schemas/LegId"
|
|
1790
|
+
}
|
|
1791
|
+
}
|
|
1792
|
+
}
|
|
1793
|
+
};
|
|
1794
|
+
var RefreshItineraryPostBodySchema = {
|
|
1795
|
+
description: `Body for the \`refreshItineraryPost\` endpoint. All fields mirror the
|
|
1796
|
+
parameters of the \`plan\` endpoint - see the \`plan\` endpoint for their
|
|
1797
|
+
descriptions.
|
|
1798
|
+
`,
|
|
1799
|
+
type: "object",
|
|
1800
|
+
required: ["id"],
|
|
1801
|
+
properties: {
|
|
1802
|
+
id: {
|
|
1803
|
+
"$ref": "#/components/schemas/ItineraryId"
|
|
1804
|
+
},
|
|
1805
|
+
requireDisplayNameMatch: {
|
|
1806
|
+
type: "boolean",
|
|
1807
|
+
default: true
|
|
1808
|
+
},
|
|
1809
|
+
joinInterlinedLegs: {
|
|
1810
|
+
type: "boolean",
|
|
1811
|
+
default: true
|
|
1812
|
+
},
|
|
1813
|
+
detailedTransfers: {
|
|
1814
|
+
type: "boolean"
|
|
1815
|
+
},
|
|
1816
|
+
detailedLegs: {
|
|
1817
|
+
type: "boolean",
|
|
1818
|
+
default: true
|
|
1819
|
+
},
|
|
1820
|
+
withFares: {
|
|
1821
|
+
type: "boolean",
|
|
1822
|
+
default: false
|
|
1823
|
+
},
|
|
1824
|
+
withScheduledSkippedStops: {
|
|
1825
|
+
type: "boolean",
|
|
1826
|
+
default: false
|
|
1827
|
+
},
|
|
1828
|
+
numLegAlternatives: {
|
|
1829
|
+
type: "integer",
|
|
1830
|
+
default: 0,
|
|
1831
|
+
minimum: 0
|
|
1832
|
+
},
|
|
1833
|
+
transitModes: {
|
|
1834
|
+
type: "array",
|
|
1835
|
+
items: {
|
|
1836
|
+
"$ref": "#/components/schemas/Mode"
|
|
1837
|
+
},
|
|
1838
|
+
default: ["TRANSIT"]
|
|
1839
|
+
},
|
|
1840
|
+
pedestrianProfile: {
|
|
1841
|
+
"$ref": "#/components/schemas/PedestrianProfile",
|
|
1842
|
+
default: "FOOT"
|
|
1843
|
+
},
|
|
1844
|
+
useRoutedTransfers: {
|
|
1845
|
+
type: "boolean",
|
|
1846
|
+
default: false
|
|
1847
|
+
},
|
|
1848
|
+
requireBikeTransport: {
|
|
1849
|
+
type: "boolean",
|
|
1850
|
+
default: false
|
|
1851
|
+
},
|
|
1852
|
+
requireCarTransport: {
|
|
1853
|
+
type: "boolean",
|
|
1854
|
+
default: false
|
|
1855
|
+
},
|
|
1856
|
+
language: {
|
|
1857
|
+
type: "array",
|
|
1858
|
+
items: {
|
|
1859
|
+
type: "string"
|
|
1860
|
+
}
|
|
1861
|
+
}
|
|
1862
|
+
}
|
|
1863
|
+
};
|
|
1665
1864
|
var ItinerarySchema = {
|
|
1666
1865
|
type: "object",
|
|
1667
|
-
required: ["duration", "startTime", "endTime", "transfers", "legs"],
|
|
1866
|
+
required: ["duration", "startTime", "endTime", "transfers", "id", "legs"],
|
|
1668
1867
|
properties: {
|
|
1669
1868
|
duration: {
|
|
1670
1869
|
description: "journey duration in seconds",
|
|
@@ -1684,6 +1883,12 @@ var ItinerarySchema = {
|
|
|
1684
1883
|
type: "integer",
|
|
1685
1884
|
description: "The number of transfers this trip has."
|
|
1686
1885
|
},
|
|
1886
|
+
id: {
|
|
1887
|
+
type: "string",
|
|
1888
|
+
description: `Experimental (format might change). Opaque itinerary identifier.
|
|
1889
|
+
Pass it as \`itineraryId\` to \`refresh-itinerary\` endpoint for reconstruction using the new schedule/realtime data.
|
|
1890
|
+
`
|
|
1891
|
+
},
|
|
1687
1892
|
legs: {
|
|
1688
1893
|
description: "Journey legs",
|
|
1689
1894
|
type: "array",
|
|
@@ -2252,6 +2457,19 @@ var RouteInfoSchema = {
|
|
|
2252
2457
|
}
|
|
2253
2458
|
}
|
|
2254
2459
|
};
|
|
2460
|
+
var HealthResponseSchema = {
|
|
2461
|
+
type: "object",
|
|
2462
|
+
properties: {
|
|
2463
|
+
rt: {
|
|
2464
|
+
type: "boolean",
|
|
2465
|
+
description: "GTFSRT, SIRI Lite, VDV AUS, VDV454 feeds."
|
|
2466
|
+
},
|
|
2467
|
+
gbfs: {
|
|
2468
|
+
type: "boolean",
|
|
2469
|
+
description: "GBFS feeds."
|
|
2470
|
+
}
|
|
2471
|
+
}
|
|
2472
|
+
};
|
|
2255
2473
|
|
|
2256
2474
|
export {
|
|
2257
2475
|
AlertCauseSchema,
|
|
@@ -2283,6 +2501,7 @@ export {
|
|
|
2283
2501
|
DirectionSchema,
|
|
2284
2502
|
EncodedPolylineSchema,
|
|
2285
2503
|
StepInstructionSchema,
|
|
2504
|
+
WheelchairAccessibilitySchema,
|
|
2286
2505
|
RentalFormFactorSchema,
|
|
2287
2506
|
RentalPropulsionTypeSchema,
|
|
2288
2507
|
RentalReturnConstraintSchema,
|
|
@@ -2303,6 +2522,9 @@ export {
|
|
|
2303
2522
|
FareProductSchema,
|
|
2304
2523
|
FareTransferRuleSchema,
|
|
2305
2524
|
FareTransferSchema,
|
|
2525
|
+
LegIdSchema,
|
|
2526
|
+
ItineraryIdSchema,
|
|
2527
|
+
RefreshItineraryPostBodySchema,
|
|
2306
2528
|
ItinerarySchema,
|
|
2307
2529
|
TransferSchema,
|
|
2308
2530
|
OneToManyParamsSchema,
|
|
@@ -2314,5 +2536,6 @@ export {
|
|
|
2314
2536
|
RouteColorSchema,
|
|
2315
2537
|
RoutePathSourceSchema,
|
|
2316
2538
|
TransitRouteInfoSchema,
|
|
2317
|
-
RouteInfoSchema
|
|
2539
|
+
RouteInfoSchema,
|
|
2540
|
+
HealthResponseSchema
|
|
2318
2541
|
};
|
|
@@ -4,7 +4,7 @@ var client = createClient(createConfig());
|
|
|
4
4
|
var plan = (options) => {
|
|
5
5
|
return (options?.client ?? client).get({
|
|
6
6
|
...options,
|
|
7
|
-
url: "/api/
|
|
7
|
+
url: "/api/v6/plan"
|
|
8
8
|
});
|
|
9
9
|
};
|
|
10
10
|
var oneToMany = (options) => {
|
|
@@ -34,7 +34,7 @@ var oneToManyIntermodalPost = (options) => {
|
|
|
34
34
|
var oneToAll = (options) => {
|
|
35
35
|
return (options?.client ?? client).get({
|
|
36
36
|
...options,
|
|
37
|
-
url: "/api/
|
|
37
|
+
url: "/api/v6/one-to-all"
|
|
38
38
|
});
|
|
39
39
|
};
|
|
40
40
|
var reverseGeocode = (options) => {
|
|
@@ -52,19 +52,31 @@ var geocode = (options) => {
|
|
|
52
52
|
var trip = (options) => {
|
|
53
53
|
return (options?.client ?? client).get({
|
|
54
54
|
...options,
|
|
55
|
-
url: "/api/
|
|
55
|
+
url: "/api/v6/trip"
|
|
56
|
+
});
|
|
57
|
+
};
|
|
58
|
+
var refreshItinerary = (options) => {
|
|
59
|
+
return (options?.client ?? client).get({
|
|
60
|
+
...options,
|
|
61
|
+
url: "/api/v6/refresh-itinerary"
|
|
62
|
+
});
|
|
63
|
+
};
|
|
64
|
+
var refreshItineraryPost = (options) => {
|
|
65
|
+
return (options?.client ?? client).post({
|
|
66
|
+
...options,
|
|
67
|
+
url: "/api/v6/refresh-itinerary"
|
|
56
68
|
});
|
|
57
69
|
};
|
|
58
70
|
var stoptimes = (options) => {
|
|
59
71
|
return (options?.client ?? client).get({
|
|
60
72
|
...options,
|
|
61
|
-
url: "/api/
|
|
73
|
+
url: "/api/v6/stoptimes"
|
|
62
74
|
});
|
|
63
75
|
};
|
|
64
76
|
var trips = (options) => {
|
|
65
77
|
return (options?.client ?? client).get({
|
|
66
78
|
...options,
|
|
67
|
-
url: "/api/
|
|
79
|
+
url: "/api/v6/map/trips"
|
|
68
80
|
});
|
|
69
81
|
};
|
|
70
82
|
var initial = (options) => {
|
|
@@ -76,7 +88,7 @@ var initial = (options) => {
|
|
|
76
88
|
var stops = (options) => {
|
|
77
89
|
return (options?.client ?? client).get({
|
|
78
90
|
...options,
|
|
79
|
-
url: "/api/
|
|
91
|
+
url: "/api/v6/map/stops"
|
|
80
92
|
});
|
|
81
93
|
};
|
|
82
94
|
var levels = (options) => {
|
|
@@ -91,12 +103,24 @@ var routes = (options) => {
|
|
|
91
103
|
url: "/api/experimental/map/routes"
|
|
92
104
|
});
|
|
93
105
|
};
|
|
106
|
+
var routeDetails = (options) => {
|
|
107
|
+
return (options?.client ?? client).get({
|
|
108
|
+
...options,
|
|
109
|
+
url: "/api/experimental/map/route-details"
|
|
110
|
+
});
|
|
111
|
+
};
|
|
94
112
|
var rentals = (options) => {
|
|
95
113
|
return (options?.client ?? client).get({
|
|
96
114
|
...options,
|
|
97
115
|
url: "/api/v1/rentals"
|
|
98
116
|
});
|
|
99
117
|
};
|
|
118
|
+
var health = (options) => {
|
|
119
|
+
return (options?.client ?? client).get({
|
|
120
|
+
...options,
|
|
121
|
+
url: "/api/v1/health"
|
|
122
|
+
});
|
|
123
|
+
};
|
|
100
124
|
var transfers = (options) => {
|
|
101
125
|
return (options?.client ?? client).get({
|
|
102
126
|
...options,
|
|
@@ -115,12 +139,16 @@ export {
|
|
|
115
139
|
reverseGeocode,
|
|
116
140
|
geocode,
|
|
117
141
|
trip,
|
|
142
|
+
refreshItinerary,
|
|
143
|
+
refreshItineraryPost,
|
|
118
144
|
stoptimes,
|
|
119
145
|
trips,
|
|
120
146
|
initial,
|
|
121
147
|
stops,
|
|
122
148
|
levels,
|
|
123
149
|
routes,
|
|
150
|
+
routeDetails,
|
|
124
151
|
rentals,
|
|
152
|
+
health,
|
|
125
153
|
transfers
|
|
126
154
|
};
|
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
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 } from './schemas.gen.js';
|
|
2
|
-
export { client, geocode, initial, levels, oneToAll, oneToMany, oneToManyIntermodal, oneToManyIntermodalPost, oneToManyPost, plan, rentals, reverseGeocode, routes, stops, stoptimes, transfers, trip, trips } from './services.gen.js';
|
|
3
|
-
export { Alert, AlertCause, AlertEffect, AlertSeverityLevel, Area, Category, CyclingSpeed, Direction, Duration, ElevationCosts, EncodedPolyline, Error, FareMedia, FareMediaType, FareProduct, FareTransfer, FareTransferRule, GeocodeData, GeocodeError, GeocodeResponse, InitialError, InitialResponse, Itinerary, Leg, LevelsData, LevelsError, LevelsResponse, LocationType, Match, Mode, MultiPolygon, OneToAllData, OneToAllError, OneToAllResponse, OneToManyData, OneToManyError, OneToManyIntermodalData, OneToManyIntermodalError, OneToManyIntermodalParams, OneToManyIntermodalPostData, OneToManyIntermodalPostError, OneToManyIntermodalPostResponse, OneToManyIntermodalResponse, OneToManyIntermodalResponse2, OneToManyParams, OneToManyPostData, OneToManyPostError, OneToManyPostResponse, OneToManyResponse, ParetoSet, ParetoSetEntry, PedestrianProfile, PedestrianSpeed, PickupDropoffType, Place, PlanData, PlanError, PlanResponse, Reachable, ReachablePlace, Rental, RentalFormFactor, RentalPropulsionType, RentalProvider, RentalProviderGroup, RentalReturnConstraint, RentalStation, RentalVehicle, RentalVehicleType, RentalZone, RentalZoneRestrictions, RentalsData, RentalsError, RentalsResponse, ReverseGeocodeData, ReverseGeocodeError, ReverseGeocodeResponse, RiderCategory, RouteColor, RouteInfo, RoutePathSource, RoutePolyline, RouteSegment, RoutesData, RoutesError, RoutesResponse, ServerConfig, StepInstruction, StopTime, StopsData, StopsError, StopsResponse, StoptimesData, StoptimesError, StoptimesResponse, TimeRange, Token, Transfer, TransfersData, TransfersError, TransfersResponse, TransitRouteInfo, TripData, TripError, TripInfo, TripResponse, TripSegment, TripsData, TripsError, TripsResponse, VertexType } from './types.gen.js';
|
|
1
|
+
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 } from './schemas.gen.js';
|
|
2
|
+
export { client, geocode, health, initial, levels, oneToAll, oneToMany, oneToManyIntermodal, oneToManyIntermodalPost, oneToManyPost, plan, refreshItinerary, refreshItineraryPost, rentals, reverseGeocode, routeDetails, routes, stops, stoptimes, transfers, trip, trips } from './services.gen.js';
|
|
3
|
+
export { Alert, AlertCause, AlertEffect, AlertSeverityLevel, Area, Category, CyclingSpeed, Direction, Duration, ElevationCosts, EncodedPolyline, Error, FareMedia, FareMediaType, FareProduct, FareTransfer, FareTransferRule, GeocodeData, GeocodeError, GeocodeResponse, HealthError, HealthResponse, HealthResponse2, InitialError, InitialResponse, Itinerary, ItineraryId, Leg, LegId, LevelsData, LevelsError, LevelsResponse, LocationType, Match, Mode, MultiPolygon, OneToAllData, OneToAllError, OneToAllResponse, OneToManyData, OneToManyError, OneToManyIntermodalData, OneToManyIntermodalError, OneToManyIntermodalParams, OneToManyIntermodalPostData, OneToManyIntermodalPostError, OneToManyIntermodalPostResponse, OneToManyIntermodalResponse, OneToManyIntermodalResponse2, OneToManyParams, OneToManyPostData, OneToManyPostError, OneToManyPostResponse, OneToManyResponse, ParetoSet, ParetoSetEntry, PedestrianProfile, PedestrianSpeed, PickupDropoffType, Place, PlanData, PlanError, PlanResponse, Reachable, ReachablePlace, RefreshItineraryData, RefreshItineraryError, RefreshItineraryPostBody, RefreshItineraryPostData, RefreshItineraryPostError, RefreshItineraryPostResponse, RefreshItineraryResponse, Rental, RentalFormFactor, RentalPropulsionType, RentalProvider, RentalProviderGroup, RentalReturnConstraint, RentalStation, RentalVehicle, RentalVehicleType, RentalZone, RentalZoneRestrictions, RentalsData, RentalsError, RentalsResponse, ReverseGeocodeData, ReverseGeocodeError, ReverseGeocodeResponse, RiderCategory, RouteColor, RouteDetailsData, RouteDetailsError, RouteDetailsResponse, RouteInfo, RoutePathSource, RoutePolyline, RouteSegment, RoutesData, RoutesError, RoutesResponse, ServerConfig, StepInstruction, StopTime, StopsData, StopsError, StopsResponse, StoptimesData, StoptimesError, StoptimesResponse, TimeRange, Token, Transfer, TransfersData, TransfersError, TransfersResponse, TransitRouteInfo, TripData, TripError, TripInfo, TripResponse, TripSegment, TripsData, TripsError, TripsResponse, VertexType, WheelchairAccessibility } from './types.gen.js';
|
|
4
4
|
import '@hey-api/client-fetch';
|
package/dist/index.js
CHANGED
|
@@ -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,11 +63,13 @@ import {
|
|
|
59
63
|
TransitRouteInfoSchema,
|
|
60
64
|
TripInfoSchema,
|
|
61
65
|
TripSegmentSchema,
|
|
62
|
-
VertexTypeSchema
|
|
63
|
-
|
|
66
|
+
VertexTypeSchema,
|
|
67
|
+
WheelchairAccessibilitySchema
|
|
68
|
+
} from "./chunk-3UVN3SE5.js";
|
|
64
69
|
import {
|
|
65
70
|
client,
|
|
66
71
|
geocode,
|
|
72
|
+
health,
|
|
67
73
|
initial,
|
|
68
74
|
levels,
|
|
69
75
|
oneToAll,
|
|
@@ -72,15 +78,18 @@ import {
|
|
|
72
78
|
oneToManyIntermodalPost,
|
|
73
79
|
oneToManyPost,
|
|
74
80
|
plan,
|
|
81
|
+
refreshItinerary,
|
|
82
|
+
refreshItineraryPost,
|
|
75
83
|
rentals,
|
|
76
84
|
reverseGeocode,
|
|
85
|
+
routeDetails,
|
|
77
86
|
routes,
|
|
78
87
|
stops,
|
|
79
88
|
stoptimes,
|
|
80
89
|
transfers,
|
|
81
90
|
trip,
|
|
82
91
|
trips
|
|
83
|
-
} from "./chunk-
|
|
92
|
+
} from "./chunk-6F5ERMLN.js";
|
|
84
93
|
import "./chunk-6DML7NNP.js";
|
|
85
94
|
export {
|
|
86
95
|
AlertCauseSchema,
|
|
@@ -100,7 +109,10 @@ export {
|
|
|
100
109
|
FareProductSchema,
|
|
101
110
|
FareTransferRuleSchema,
|
|
102
111
|
FareTransferSchema,
|
|
112
|
+
HealthResponseSchema,
|
|
113
|
+
ItineraryIdSchema,
|
|
103
114
|
ItinerarySchema,
|
|
115
|
+
LegIdSchema,
|
|
104
116
|
LegSchema,
|
|
105
117
|
LocationTypeSchema,
|
|
106
118
|
MatchSchema,
|
|
@@ -117,6 +129,7 @@ export {
|
|
|
117
129
|
PlaceSchema,
|
|
118
130
|
ReachablePlaceSchema,
|
|
119
131
|
ReachableSchema,
|
|
132
|
+
RefreshItineraryPostBodySchema,
|
|
120
133
|
RentalFormFactorSchema,
|
|
121
134
|
RentalPropulsionTypeSchema,
|
|
122
135
|
RentalProviderGroupSchema,
|
|
@@ -144,8 +157,10 @@ export {
|
|
|
144
157
|
TripInfoSchema,
|
|
145
158
|
TripSegmentSchema,
|
|
146
159
|
VertexTypeSchema,
|
|
160
|
+
WheelchairAccessibilitySchema,
|
|
147
161
|
client,
|
|
148
162
|
geocode,
|
|
163
|
+
health,
|
|
149
164
|
initial,
|
|
150
165
|
levels,
|
|
151
166
|
oneToAll,
|
|
@@ -154,8 +169,11 @@ export {
|
|
|
154
169
|
oneToManyIntermodalPost,
|
|
155
170
|
oneToManyPost,
|
|
156
171
|
plan,
|
|
172
|
+
refreshItinerary,
|
|
173
|
+
refreshItineraryPost,
|
|
157
174
|
rentals,
|
|
158
175
|
reverseGeocode,
|
|
176
|
+
routeDetails,
|
|
159
177
|
routes,
|
|
160
178
|
stops,
|
|
161
179
|
stoptimes,
|