@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.
@@ -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-5QEG6DOF.js";
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-ZSHHWD3H.js";
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,