@motis-project/motis-client 2.5.0 → 2.7.3
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/README.md +4 -2
- package/dist/{chunk-5QEG6DOF.js → chunk-47ZS6OWZ.js} +543 -40
- package/dist/{chunk-ZSHHWD3H.js → chunk-FDF4H3WD.js} +7 -0
- package/dist/index.d.ts +3 -3
- package/dist/index.js +22 -2
- package/dist/schemas.gen.d.ts +460 -8
- package/dist/schemas.gen.js +19 -1
- package/dist/services.gen.d.ts +22 -2
- package/dist/services.gen.js +3 -1
- package/dist/types.gen.d.ts +544 -46
- package/package.json +3 -3
- package/dist/chunk-35GMB6DP.js +0 -1232
- package/dist/chunk-7PIP6KRC.js +0 -1300
- package/dist/chunk-7UKCGCXT.js +0 -1247
- package/dist/chunk-CAW6R2LI.js +0 -1285
- package/dist/chunk-EM7IAOVY.js +0 -91
- package/dist/chunk-IHFNO6R3.js +0 -91
- package/dist/chunk-IYBFZNEH.js +0 -1224
- package/dist/chunk-QM2K42W7.js +0 -91
- package/dist/chunk-RM52T2X5.js +0 -1293
- package/dist/chunk-VOTN5CAZ.js +0 -91
- package/dist/chunk-ZBHU6VX2.js +0 -1291
|
@@ -67,6 +67,12 @@ var levels = (options) => {
|
|
|
67
67
|
url: "/api/v1/map/levels"
|
|
68
68
|
});
|
|
69
69
|
};
|
|
70
|
+
var rentals = (options) => {
|
|
71
|
+
return (options?.client ?? client).get({
|
|
72
|
+
...options,
|
|
73
|
+
url: "/api/v1/rentals"
|
|
74
|
+
});
|
|
75
|
+
};
|
|
70
76
|
var transfers = (options) => {
|
|
71
77
|
return (options?.client ?? client).get({
|
|
72
78
|
...options,
|
|
@@ -87,5 +93,6 @@ export {
|
|
|
87
93
|
initial,
|
|
88
94
|
stops,
|
|
89
95
|
levels,
|
|
96
|
+
rentals,
|
|
90
97
|
transfers
|
|
91
98
|
};
|
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { AlertCauseSchema, AlertEffectSchema, AlertSchema, AlertSeverityLevelSchema, AreaSchema, CyclingSpeedSchema, DirectionSchema, DurationSchema, ElevationCostsSchema, EncodedPolylineSchema, ErrorSchema, FareMediaSchema, FareMediaTypeSchema, FareProductSchema, FareTransferRuleSchema, FareTransferSchema, ItinerarySchema, LegSchema, LocationTypeSchema, MatchSchema, ModeSchema, PedestrianProfileSchema, PedestrianSpeedSchema, 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, CyclingSpeed, Direction, Duration, ElevationCosts, EncodedPolyline, Error, 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, PedestrianSpeed, 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';
|
|
1
|
+
export { AlertCauseSchema, AlertEffectSchema, AlertSchema, AlertSeverityLevelSchema, AreaSchema, CyclingSpeedSchema, DirectionSchema, DurationSchema, ElevationCostsSchema, EncodedPolylineSchema, ErrorSchema, FareMediaSchema, FareMediaTypeSchema, FareProductSchema, FareTransferRuleSchema, FareTransferSchema, ItinerarySchema, LegSchema, LocationTypeSchema, MatchSchema, ModeSchema, MultiPolygonSchema, OneToManyParamsSchema, PedestrianProfileSchema, PedestrianSpeedSchema, PickupDropoffTypeSchema, PlaceSchema, ReachablePlaceSchema, ReachableSchema, RentalFormFactorSchema, RentalPropulsionTypeSchema, RentalProviderGroupSchema, RentalProviderSchema, RentalReturnConstraintSchema, RentalSchema, RentalStationSchema, RentalVehicleSchema, RentalVehicleTypeSchema, RentalZoneRestrictionsSchema, RentalZoneSchema, RiderCategorySchema, StepInstructionSchema, StopTimeSchema, TimeRangeSchema, TokenSchema, TransferSchema, TripInfoSchema, TripSegmentSchema, VertexTypeSchema } from './schemas.gen.js';
|
|
2
|
+
export { client, geocode, initial, levels, oneToAll, oneToMany, plan, rentals, reverseGeocode, stops, stoptimes, transfers, trip, trips } from './services.gen.js';
|
|
3
|
+
export { Alert, AlertCause, AlertEffect, AlertSeverityLevel, Area, 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, OneToManyParams, OneToManyResponse, 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, 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
|
@@ -20,6 +20,8 @@ import {
|
|
|
20
20
|
LocationTypeSchema,
|
|
21
21
|
MatchSchema,
|
|
22
22
|
ModeSchema,
|
|
23
|
+
MultiPolygonSchema,
|
|
24
|
+
OneToManyParamsSchema,
|
|
23
25
|
PedestrianProfileSchema,
|
|
24
26
|
PedestrianSpeedSchema,
|
|
25
27
|
PickupDropoffTypeSchema,
|
|
@@ -28,8 +30,15 @@ import {
|
|
|
28
30
|
ReachableSchema,
|
|
29
31
|
RentalFormFactorSchema,
|
|
30
32
|
RentalPropulsionTypeSchema,
|
|
33
|
+
RentalProviderGroupSchema,
|
|
34
|
+
RentalProviderSchema,
|
|
31
35
|
RentalReturnConstraintSchema,
|
|
32
36
|
RentalSchema,
|
|
37
|
+
RentalStationSchema,
|
|
38
|
+
RentalVehicleSchema,
|
|
39
|
+
RentalVehicleTypeSchema,
|
|
40
|
+
RentalZoneRestrictionsSchema,
|
|
41
|
+
RentalZoneSchema,
|
|
33
42
|
RiderCategorySchema,
|
|
34
43
|
StepInstructionSchema,
|
|
35
44
|
StopTimeSchema,
|
|
@@ -39,7 +48,7 @@ import {
|
|
|
39
48
|
TripInfoSchema,
|
|
40
49
|
TripSegmentSchema,
|
|
41
50
|
VertexTypeSchema
|
|
42
|
-
} from "./chunk-
|
|
51
|
+
} from "./chunk-47ZS6OWZ.js";
|
|
43
52
|
import {
|
|
44
53
|
client,
|
|
45
54
|
geocode,
|
|
@@ -48,13 +57,14 @@ import {
|
|
|
48
57
|
oneToAll,
|
|
49
58
|
oneToMany,
|
|
50
59
|
plan,
|
|
60
|
+
rentals,
|
|
51
61
|
reverseGeocode,
|
|
52
62
|
stops,
|
|
53
63
|
stoptimes,
|
|
54
64
|
transfers,
|
|
55
65
|
trip,
|
|
56
66
|
trips
|
|
57
|
-
} from "./chunk-
|
|
67
|
+
} from "./chunk-FDF4H3WD.js";
|
|
58
68
|
import "./chunk-6DML7NNP.js";
|
|
59
69
|
export {
|
|
60
70
|
AlertCauseSchema,
|
|
@@ -78,6 +88,8 @@ export {
|
|
|
78
88
|
LocationTypeSchema,
|
|
79
89
|
MatchSchema,
|
|
80
90
|
ModeSchema,
|
|
91
|
+
MultiPolygonSchema,
|
|
92
|
+
OneToManyParamsSchema,
|
|
81
93
|
PedestrianProfileSchema,
|
|
82
94
|
PedestrianSpeedSchema,
|
|
83
95
|
PickupDropoffTypeSchema,
|
|
@@ -86,8 +98,15 @@ export {
|
|
|
86
98
|
ReachableSchema,
|
|
87
99
|
RentalFormFactorSchema,
|
|
88
100
|
RentalPropulsionTypeSchema,
|
|
101
|
+
RentalProviderGroupSchema,
|
|
102
|
+
RentalProviderSchema,
|
|
89
103
|
RentalReturnConstraintSchema,
|
|
90
104
|
RentalSchema,
|
|
105
|
+
RentalStationSchema,
|
|
106
|
+
RentalVehicleSchema,
|
|
107
|
+
RentalVehicleTypeSchema,
|
|
108
|
+
RentalZoneRestrictionsSchema,
|
|
109
|
+
RentalZoneSchema,
|
|
91
110
|
RiderCategorySchema,
|
|
92
111
|
StepInstructionSchema,
|
|
93
112
|
StopTimeSchema,
|
|
@@ -104,6 +123,7 @@ export {
|
|
|
104
123
|
oneToAll,
|
|
105
124
|
oneToMany,
|
|
106
125
|
plan,
|
|
126
|
+
rentals,
|
|
107
127
|
reverseGeocode,
|
|
108
128
|
stops,
|
|
109
129
|
stoptimes,
|