@tiducto/spider-sdk-typescript 1.0.0 → 1.2.0
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 +2 -2
- package/dist/contract/routing/AccessibilityPreferencesInput.d.ts +1 -0
- package/dist/contract/routing/AccessibilityPreferencesInput.d.ts.map +1 -1
- package/dist/contract/routing/AlightPreferencesInput.d.ts +2 -0
- package/dist/contract/routing/AlightPreferencesInput.d.ts.map +1 -1
- package/dist/contract/routing/BoardPreferencesInput.d.ts +4 -1
- package/dist/contract/routing/BoardPreferencesInput.d.ts.map +1 -1
- package/dist/contract/routing/{StopDeparturesStop2.d.ts → DepartureBoard.d.ts} +4 -2
- package/dist/contract/routing/DepartureBoard.d.ts.map +1 -0
- package/dist/contract/routing/DepartureBoard.js +2 -0
- package/dist/contract/routing/DepartureBoard.js.map +1 -0
- package/dist/contract/routing/DeparturesRequest.d.ts +12 -0
- package/dist/contract/routing/DeparturesRequest.d.ts.map +1 -0
- package/dist/contract/routing/DeparturesRequest.js +2 -0
- package/dist/contract/routing/DeparturesRequest.js.map +1 -0
- package/dist/contract/routing/DeparturesResponse.d.ts +6 -0
- package/dist/contract/routing/DeparturesResponse.d.ts.map +1 -0
- package/dist/contract/routing/DeparturesResponse.js +2 -0
- package/dist/contract/routing/DeparturesResponse.js.map +1 -0
- package/dist/contract/routing/ErrorResponse.d.ts +4 -1
- package/dist/contract/routing/ErrorResponse.d.ts.map +1 -1
- package/dist/contract/routing/Geometry.d.ts +1 -0
- package/dist/contract/routing/Geometry.d.ts.map +1 -1
- package/dist/contract/routing/Itinerary.d.ts +4 -1
- package/dist/contract/routing/Itinerary.d.ts.map +1 -1
- package/dist/contract/routing/Leg.d.ts +11 -1
- package/dist/contract/routing/Leg.d.ts.map +1 -1
- package/dist/contract/routing/LegTime.d.ts +1 -0
- package/dist/contract/routing/LegTime.d.ts.map +1 -1
- package/dist/contract/routing/Place.d.ts +1 -0
- package/dist/contract/routing/Place.d.ts.map +1 -1
- package/dist/contract/routing/PlanCoordinateInput.d.ts +3 -0
- package/dist/contract/routing/PlanCoordinateInput.d.ts.map +1 -1
- package/dist/contract/routing/PlanDateTimeInput.d.ts +3 -0
- package/dist/contract/routing/PlanDateTimeInput.d.ts.map +1 -1
- package/dist/contract/routing/PlanLabeledLocationInput.d.ts +1 -1
- package/dist/contract/routing/PlanLabeledLocationInput.d.ts.map +1 -1
- package/dist/contract/routing/PlanLocationInput.d.ts +3 -0
- package/dist/contract/routing/PlanLocationInput.d.ts.map +1 -1
- package/dist/contract/routing/PlanModesInput.d.ts +4 -3
- package/dist/contract/routing/PlanModesInput.d.ts.map +1 -1
- package/dist/contract/routing/PlanPageInfo.d.ts +3 -0
- package/dist/contract/routing/PlanPageInfo.d.ts.map +1 -1
- package/dist/contract/routing/PlanPassThroughViaLocationInput.d.ts +2 -1
- package/dist/contract/routing/PlanPassThroughViaLocationInput.d.ts.map +1 -1
- package/dist/contract/routing/PlanPreferencesInput.d.ts +2 -1
- package/dist/contract/routing/PlanPreferencesInput.d.ts.map +1 -1
- package/dist/contract/routing/PlanStopLocationInput.d.ts +2 -0
- package/dist/contract/routing/PlanStopLocationInput.d.ts.map +1 -1
- package/dist/contract/routing/PlanStreamChunkEvent.d.ts +13 -0
- package/dist/contract/routing/PlanStreamChunkEvent.d.ts.map +1 -0
- package/dist/contract/routing/PlanStreamChunkEvent.js +2 -0
- package/dist/contract/routing/PlanStreamChunkEvent.js.map +1 -0
- package/dist/contract/routing/PlanStreamDoneEvent.d.ts +12 -0
- package/dist/contract/routing/PlanStreamDoneEvent.d.ts.map +1 -0
- package/dist/contract/routing/PlanStreamDoneEvent.js +2 -0
- package/dist/contract/routing/PlanStreamDoneEvent.js.map +1 -0
- package/dist/contract/routing/PlanStreamPageInfoEvent.d.ts +15 -0
- package/dist/contract/routing/PlanStreamPageInfoEvent.d.ts.map +1 -0
- package/dist/contract/routing/PlanStreamPageInfoEvent.js +2 -0
- package/dist/contract/routing/PlanStreamPageInfoEvent.js.map +1 -0
- package/dist/contract/routing/PlanStreamRequest.d.ts +29 -0
- package/dist/contract/routing/PlanStreamRequest.d.ts.map +1 -0
- package/dist/contract/routing/PlanStreamRequest.js +2 -0
- package/dist/contract/routing/PlanStreamRequest.js.map +1 -0
- package/dist/contract/routing/PlanStreetPreferencesInput.d.ts +1 -6
- package/dist/contract/routing/PlanStreetPreferencesInput.d.ts.map +1 -1
- package/dist/contract/routing/PlanTransitModePreferenceInput.d.ts +2 -1
- package/dist/contract/routing/PlanTransitModePreferenceInput.d.ts.map +1 -1
- package/dist/contract/routing/PlanTransitModesInput.d.ts +2 -6
- package/dist/contract/routing/PlanTransitModesInput.d.ts.map +1 -1
- package/dist/contract/routing/PlanTripRequest.d.ts +31 -0
- package/dist/contract/routing/PlanTripRequest.d.ts.map +1 -0
- package/dist/contract/routing/PlanTripRequest.js +2 -0
- package/dist/contract/routing/PlanTripRequest.js.map +1 -0
- package/dist/contract/routing/PlanTripResponse.d.ts +13 -0
- package/dist/contract/routing/PlanTripResponse.d.ts.map +1 -0
- package/dist/contract/routing/PlanTripResponse.js +2 -0
- package/dist/contract/routing/PlanTripResponse.js.map +1 -0
- package/dist/contract/routing/PlanViaLocationInput.d.ts +3 -0
- package/dist/contract/routing/PlanViaLocationInput.d.ts.map +1 -1
- package/dist/contract/routing/PlanVisitViaLocationInput.d.ts +4 -4
- package/dist/contract/routing/PlanVisitViaLocationInput.d.ts.map +1 -1
- package/dist/contract/routing/RealTimeEstimate.d.ts +1 -0
- package/dist/contract/routing/RealTimeEstimate.d.ts.map +1 -1
- package/dist/contract/routing/Reliability.d.ts +3 -0
- package/dist/contract/routing/Reliability.d.ts.map +1 -0
- package/dist/contract/routing/Reliability.js +2 -0
- package/dist/contract/routing/Reliability.js.map +1 -0
- package/dist/contract/routing/Route.d.ts +2 -0
- package/dist/contract/routing/Route.d.ts.map +1 -1
- package/dist/contract/routing/RoutingError.d.ts +2 -0
- package/dist/contract/routing/RoutingError.d.ts.map +1 -1
- package/dist/contract/routing/Stop.d.ts +2 -0
- package/dist/contract/routing/Stop.d.ts.map +1 -1
- package/dist/contract/routing/StopDeparturesRoute.d.ts +2 -0
- package/dist/contract/routing/StopDeparturesRoute.d.ts.map +1 -1
- package/dist/contract/routing/StopDeparturesStop.d.ts +1 -0
- package/dist/contract/routing/StopDeparturesStop.d.ts.map +1 -1
- package/dist/contract/routing/StopDeparturesStoptime.d.ts +7 -0
- package/dist/contract/routing/StopDeparturesStoptime.d.ts.map +1 -1
- package/dist/contract/routing/Stoptime.d.ts +8 -0
- package/dist/contract/routing/Stoptime.d.ts.map +1 -1
- package/dist/contract/routing/TransferPreferencesInput.d.ts +5 -2
- package/dist/contract/routing/TransferPreferencesInput.d.ts.map +1 -1
- package/dist/contract/routing/TransitFilterInput.d.ts +2 -1
- package/dist/contract/routing/TransitFilterInput.d.ts.map +1 -1
- package/dist/contract/routing/TransitFilterSelectInput.d.ts +4 -1
- package/dist/contract/routing/TransitFilterSelectInput.d.ts.map +1 -1
- package/dist/contract/routing/TransitModePreferenceCostInput.d.ts +2 -0
- package/dist/contract/routing/TransitModePreferenceCostInput.d.ts.map +1 -1
- package/dist/contract/routing/TransitPreferencesInput.d.ts +4 -4
- package/dist/contract/routing/TransitPreferencesInput.d.ts.map +1 -1
- package/dist/contract/routing/TripGeometry.d.ts +2 -0
- package/dist/contract/routing/TripGeometry.d.ts.map +1 -1
- package/dist/contract/routing/TripRequest.d.ts +8 -0
- package/dist/contract/routing/TripRequest.d.ts.map +1 -0
- package/dist/contract/routing/TripRequest.js +2 -0
- package/dist/contract/routing/TripRequest.js.map +1 -0
- package/dist/contract/routing/TripResponse.d.ts +3 -4
- package/dist/contract/routing/TripResponse.d.ts.map +1 -1
- package/dist/contract/routing/TripRoute.d.ts +2 -0
- package/dist/contract/routing/TripRoute.d.ts.map +1 -1
- package/dist/contract/routing/TripStop.d.ts +2 -0
- package/dist/contract/routing/TripStop.d.ts.map +1 -1
- package/dist/contract/routing/{TripTrip.d.ts → TripTimetable.d.ts} +4 -2
- package/dist/contract/routing/TripTimetable.d.ts.map +1 -0
- package/dist/contract/routing/TripTimetable.js +2 -0
- package/dist/contract/routing/TripTimetable.js.map +1 -0
- package/dist/contract/routing/WalkPreferencesInput.d.ts +6 -3
- package/dist/contract/routing/WalkPreferencesInput.d.ts.map +1 -1
- package/dist/contract/routing/WheelchairPreferencesInput.d.ts +2 -0
- package/dist/contract/routing/WheelchairPreferencesInput.d.ts.map +1 -1
- package/dist/contract/routing/index.d.ts +12 -41
- package/dist/contract/routing/index.d.ts.map +1 -1
- package/dist/contractVersion.d.ts +1 -1
- package/dist/contractVersion.js +1 -1
- package/dist/enums.d.ts +2 -0
- package/dist/enums.d.ts.map +1 -1
- package/dist/enums.js.map +1 -1
- package/dist/errors.d.ts +7 -16
- package/dist/errors.d.ts.map +1 -1
- package/dist/errors.js +11 -17
- package/dist/errors.js.map +1 -1
- package/dist/http.d.ts +2 -29
- package/dist/http.d.ts.map +1 -1
- package/dist/http.js +5 -37
- package/dist/http.js.map +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js.map +1 -1
- package/dist/location.d.ts +4 -2
- package/dist/location.d.ts.map +1 -1
- package/dist/location.js +4 -2
- package/dist/location.js.map +1 -1
- package/dist/realtime.js +4 -4
- package/dist/realtime.js.map +1 -1
- package/dist/routing.d.ts +18 -3
- package/dist/routing.d.ts.map +1 -1
- package/dist/routing.js +61 -90
- package/dist/routing.js.map +1 -1
- package/dist/sdk.d.ts +1 -1
- package/dist/sdkVersion.d.ts +1 -1
- package/dist/sdkVersion.js +1 -1
- package/dist/stops.js +2 -2
- package/dist/stops.js.map +1 -1
- package/package.json +1 -1
- package/dist/contract/routing/BicycleParkingPreferencesInput.d.ts +0 -7
- package/dist/contract/routing/BicycleParkingPreferencesInput.d.ts.map +0 -1
- package/dist/contract/routing/BicycleParkingPreferencesInput.js +0 -2
- package/dist/contract/routing/BicycleParkingPreferencesInput.js.map +0 -1
- package/dist/contract/routing/BicyclePreferencesInput.d.ts +0 -14
- package/dist/contract/routing/BicyclePreferencesInput.d.ts.map +0 -1
- package/dist/contract/routing/BicyclePreferencesInput.js +0 -2
- package/dist/contract/routing/BicyclePreferencesInput.js.map +0 -1
- package/dist/contract/routing/BicycleRentalPreferencesInput.d.ts +0 -7
- package/dist/contract/routing/BicycleRentalPreferencesInput.d.ts.map +0 -1
- package/dist/contract/routing/BicycleRentalPreferencesInput.js +0 -2
- package/dist/contract/routing/BicycleRentalPreferencesInput.js.map +0 -1
- package/dist/contract/routing/BicycleWalkPreferencesCostInput.d.ts +0 -5
- package/dist/contract/routing/BicycleWalkPreferencesCostInput.d.ts.map +0 -1
- package/dist/contract/routing/BicycleWalkPreferencesCostInput.js +0 -2
- package/dist/contract/routing/BicycleWalkPreferencesCostInput.js.map +0 -1
- package/dist/contract/routing/BicycleWalkPreferencesInput.d.ts +0 -7
- package/dist/contract/routing/BicycleWalkPreferencesInput.d.ts.map +0 -1
- package/dist/contract/routing/BicycleWalkPreferencesInput.js +0 -2
- package/dist/contract/routing/BicycleWalkPreferencesInput.js.map +0 -1
- package/dist/contract/routing/CarParkingPreferencesInput.d.ts +0 -7
- package/dist/contract/routing/CarParkingPreferencesInput.d.ts.map +0 -1
- package/dist/contract/routing/CarParkingPreferencesInput.js +0 -2
- package/dist/contract/routing/CarParkingPreferencesInput.js.map +0 -1
- package/dist/contract/routing/CarPreferencesInput.d.ts +0 -9
- package/dist/contract/routing/CarPreferencesInput.d.ts.map +0 -1
- package/dist/contract/routing/CarPreferencesInput.js +0 -2
- package/dist/contract/routing/CarPreferencesInput.js.map +0 -1
- package/dist/contract/routing/CarRentalPreferencesInput.d.ts +0 -6
- package/dist/contract/routing/CarRentalPreferencesInput.d.ts.map +0 -1
- package/dist/contract/routing/CarRentalPreferencesInput.js +0 -2
- package/dist/contract/routing/CarRentalPreferencesInput.js.map +0 -1
- package/dist/contract/routing/CyclingOptimizationInput.d.ts +0 -7
- package/dist/contract/routing/CyclingOptimizationInput.d.ts.map +0 -1
- package/dist/contract/routing/CyclingOptimizationInput.js +0 -2
- package/dist/contract/routing/CyclingOptimizationInput.js.map +0 -1
- package/dist/contract/routing/CyclingOptimizationType.d.ts +0 -2
- package/dist/contract/routing/CyclingOptimizationType.d.ts.map +0 -1
- package/dist/contract/routing/CyclingOptimizationType.js +0 -2
- package/dist/contract/routing/CyclingOptimizationType.js.map +0 -1
- package/dist/contract/routing/DestinationBicyclePolicyInput.d.ts +0 -5
- package/dist/contract/routing/DestinationBicyclePolicyInput.d.ts.map +0 -1
- package/dist/contract/routing/DestinationBicyclePolicyInput.js +0 -2
- package/dist/contract/routing/DestinationBicyclePolicyInput.js.map +0 -1
- package/dist/contract/routing/DestinationScooterPolicyInput.d.ts +0 -5
- package/dist/contract/routing/DestinationScooterPolicyInput.d.ts.map +0 -1
- package/dist/contract/routing/DestinationScooterPolicyInput.js +0 -2
- package/dist/contract/routing/DestinationScooterPolicyInput.js.map +0 -1
- package/dist/contract/routing/GraphQLError.d.ts +0 -5
- package/dist/contract/routing/GraphQLError.d.ts.map +0 -1
- package/dist/contract/routing/GraphQLError.js +0 -2
- package/dist/contract/routing/GraphQLError.js.map +0 -1
- package/dist/contract/routing/ParkingFilter.d.ts +0 -6
- package/dist/contract/routing/ParkingFilter.d.ts.map +0 -1
- package/dist/contract/routing/ParkingFilter.js +0 -2
- package/dist/contract/routing/ParkingFilter.js.map +0 -1
- package/dist/contract/routing/ParkingFilterOperation.d.ts +0 -4
- package/dist/contract/routing/ParkingFilterOperation.d.ts.map +0 -1
- package/dist/contract/routing/ParkingFilterOperation.js +0 -2
- package/dist/contract/routing/ParkingFilterOperation.js.map +0 -1
- package/dist/contract/routing/PlanAccessMode.d.ts +0 -2
- package/dist/contract/routing/PlanAccessMode.d.ts.map +0 -1
- package/dist/contract/routing/PlanAccessMode.js +0 -2
- package/dist/contract/routing/PlanAccessMode.js.map +0 -1
- package/dist/contract/routing/PlanConnection.d.ts +0 -10
- package/dist/contract/routing/PlanConnection.d.ts.map +0 -1
- package/dist/contract/routing/PlanConnection.js +0 -2
- package/dist/contract/routing/PlanConnection.js.map +0 -1
- package/dist/contract/routing/PlanConnectionData.d.ts +0 -5
- package/dist/contract/routing/PlanConnectionData.d.ts.map +0 -1
- package/dist/contract/routing/PlanConnectionData.js +0 -2
- package/dist/contract/routing/PlanConnectionData.js.map +0 -1
- package/dist/contract/routing/PlanConnectionResponse.d.ts +0 -7
- package/dist/contract/routing/PlanConnectionResponse.d.ts.map +0 -1
- package/dist/contract/routing/PlanConnectionResponse.js +0 -2
- package/dist/contract/routing/PlanConnectionResponse.js.map +0 -1
- package/dist/contract/routing/PlanConnectionStreamData.d.ts +0 -5
- package/dist/contract/routing/PlanConnectionStreamData.d.ts.map +0 -1
- package/dist/contract/routing/PlanConnectionStreamData.js +0 -2
- package/dist/contract/routing/PlanConnectionStreamData.js.map +0 -1
- package/dist/contract/routing/PlanConnectionStreamResponse.d.ts +0 -7
- package/dist/contract/routing/PlanConnectionStreamResponse.d.ts.map +0 -1
- package/dist/contract/routing/PlanConnectionStreamResponse.js +0 -2
- package/dist/contract/routing/PlanConnectionStreamResponse.js.map +0 -1
- package/dist/contract/routing/PlanConnectionStreamVariables.d.ts +0 -18
- package/dist/contract/routing/PlanConnectionStreamVariables.d.ts.map +0 -1
- package/dist/contract/routing/PlanConnectionStreamVariables.js +0 -2
- package/dist/contract/routing/PlanConnectionStreamVariables.js.map +0 -1
- package/dist/contract/routing/PlanConnectionVariables.d.ts +0 -17
- package/dist/contract/routing/PlanConnectionVariables.d.ts.map +0 -1
- package/dist/contract/routing/PlanConnectionVariables.js +0 -2
- package/dist/contract/routing/PlanConnectionVariables.js.map +0 -1
- package/dist/contract/routing/PlanDirectMode.d.ts +0 -2
- package/dist/contract/routing/PlanDirectMode.d.ts.map +0 -1
- package/dist/contract/routing/PlanDirectMode.js +0 -2
- package/dist/contract/routing/PlanDirectMode.js.map +0 -1
- package/dist/contract/routing/PlanEdge.d.ts +0 -6
- package/dist/contract/routing/PlanEdge.d.ts.map +0 -1
- package/dist/contract/routing/PlanEdge.js +0 -2
- package/dist/contract/routing/PlanEdge.js.map +0 -1
- package/dist/contract/routing/PlanEgressMode.d.ts +0 -2
- package/dist/contract/routing/PlanEgressMode.d.ts.map +0 -1
- package/dist/contract/routing/PlanEgressMode.js +0 -2
- package/dist/contract/routing/PlanEgressMode.js.map +0 -1
- package/dist/contract/routing/PlanTransferMode.d.ts +0 -2
- package/dist/contract/routing/PlanTransferMode.d.ts.map +0 -1
- package/dist/contract/routing/PlanTransferMode.js +0 -2
- package/dist/contract/routing/PlanTransferMode.js.map +0 -1
- package/dist/contract/routing/ScooterOptimizationInput.d.ts +0 -7
- package/dist/contract/routing/ScooterOptimizationInput.d.ts.map +0 -1
- package/dist/contract/routing/ScooterOptimizationInput.js +0 -2
- package/dist/contract/routing/ScooterOptimizationInput.js.map +0 -1
- package/dist/contract/routing/ScooterOptimizationType.d.ts +0 -2
- package/dist/contract/routing/ScooterOptimizationType.d.ts.map +0 -1
- package/dist/contract/routing/ScooterOptimizationType.js +0 -2
- package/dist/contract/routing/ScooterOptimizationType.js.map +0 -1
- package/dist/contract/routing/ScooterPreferencesInput.d.ts +0 -9
- package/dist/contract/routing/ScooterPreferencesInput.d.ts.map +0 -1
- package/dist/contract/routing/ScooterPreferencesInput.js +0 -2
- package/dist/contract/routing/ScooterPreferencesInput.js.map +0 -1
- package/dist/contract/routing/ScooterRentalPreferencesInput.d.ts +0 -7
- package/dist/contract/routing/ScooterRentalPreferencesInput.d.ts.map +0 -1
- package/dist/contract/routing/ScooterRentalPreferencesInput.js +0 -2
- package/dist/contract/routing/ScooterRentalPreferencesInput.js.map +0 -1
- package/dist/contract/routing/StopDeparturesData.d.ts +0 -6
- package/dist/contract/routing/StopDeparturesData.d.ts.map +0 -1
- package/dist/contract/routing/StopDeparturesData.js +0 -2
- package/dist/contract/routing/StopDeparturesData.js.map +0 -1
- package/dist/contract/routing/StopDeparturesResponse.d.ts +0 -7
- package/dist/contract/routing/StopDeparturesResponse.d.ts.map +0 -1
- package/dist/contract/routing/StopDeparturesResponse.js +0 -2
- package/dist/contract/routing/StopDeparturesResponse.js.map +0 -1
- package/dist/contract/routing/StopDeparturesStop2.d.ts.map +0 -1
- package/dist/contract/routing/StopDeparturesStop2.js +0 -2
- package/dist/contract/routing/StopDeparturesStop2.js.map +0 -1
- package/dist/contract/routing/StopDeparturesVariables.d.ts +0 -7
- package/dist/contract/routing/StopDeparturesVariables.d.ts.map +0 -1
- package/dist/contract/routing/StopDeparturesVariables.js +0 -2
- package/dist/contract/routing/StopDeparturesVariables.js.map +0 -1
- package/dist/contract/routing/TimetablePreferencesInput.d.ts +0 -6
- package/dist/contract/routing/TimetablePreferencesInput.d.ts.map +0 -1
- package/dist/contract/routing/TimetablePreferencesInput.js +0 -2
- package/dist/contract/routing/TimetablePreferencesInput.js.map +0 -1
- package/dist/contract/routing/TriangleCyclingFactorsInput.d.ts +0 -6
- package/dist/contract/routing/TriangleCyclingFactorsInput.d.ts.map +0 -1
- package/dist/contract/routing/TriangleCyclingFactorsInput.js +0 -2
- package/dist/contract/routing/TriangleCyclingFactorsInput.js.map +0 -1
- package/dist/contract/routing/TriangleScooterFactorsInput.d.ts +0 -6
- package/dist/contract/routing/TriangleScooterFactorsInput.d.ts.map +0 -1
- package/dist/contract/routing/TriangleScooterFactorsInput.js +0 -2
- package/dist/contract/routing/TriangleScooterFactorsInput.js.map +0 -1
- package/dist/contract/routing/TripData.d.ts +0 -5
- package/dist/contract/routing/TripData.d.ts.map +0 -1
- package/dist/contract/routing/TripData.js +0 -2
- package/dist/contract/routing/TripData.js.map +0 -1
- package/dist/contract/routing/TripTrip.d.ts.map +0 -1
- package/dist/contract/routing/TripTrip.js +0 -2
- package/dist/contract/routing/TripTrip.js.map +0 -1
- package/dist/contract/routing/TripVariables.d.ts +0 -5
- package/dist/contract/routing/TripVariables.d.ts.map +0 -1
- package/dist/contract/routing/TripVariables.js +0 -2
- package/dist/contract/routing/TripVariables.js.map +0 -1
- package/dist/persistedQueries.d.ts +0 -9
- package/dist/persistedQueries.d.ts.map +0 -1
- package/dist/persistedQueries.js +0 -5
- package/dist/persistedQueries.js.map +0 -1
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# @tiducto/spider-sdk-typescript
|
|
2
2
|
|
|
3
|
-
The TypeScript SDK for **Spider** — the managed transit API by Tiducto. Trip planning, stop search, and live realtime data behind one typed client that
|
|
3
|
+
The TypeScript SDK for **Spider** — the managed transit API by Tiducto. Trip planning, stop search, and live realtime data behind one typed client that speaks the published API contract and attaches auth for you.
|
|
4
4
|
|
|
5
5
|
Native TypeScript, zero runtime dependencies (uses the platform `fetch`). Sibling of the Kotlin, Swift, and Dart SDKs — same domain model, TypeScript idioms.
|
|
6
6
|
|
|
@@ -50,7 +50,7 @@ Every call returns a `SpiderResult<T>` you branch on before reading `data`. The
|
|
|
50
50
|
|
|
51
51
|
## Contributing
|
|
52
52
|
|
|
53
|
-
`src/contract/routing` is generated from [`tiducto/spider-contract`](https://github.com/tiducto/spider-contract) — don't hand-edit it. `npm run build` / `npm run typecheck` / `npm test`.
|
|
53
|
+
`src/contract/routing` is generated from [`tiducto/spider-contract`](https://github.com/tiducto/spider-contract) — don't hand-edit it. Every operation sits on a versioned path on the environment's host, `/<surface>/v1/<operation>` (such as `/routing/v1/plan`, `/stops/v1/search`, `/realtime/v1/vehicles`), which the client calls for you. `npm run build` / `npm run typecheck` / `npm test`.
|
|
54
54
|
|
|
55
55
|
## License
|
|
56
56
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AccessibilityPreferencesInput.d.ts","sourceRoot":"","sources":["../../../src/contract/routing/AccessibilityPreferencesInput.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,iCAAiC,CAAC;AAElF,MAAM,WAAW,6BAA6B;IAC5C,UAAU,CAAC,EAAE,0BAA0B,CAAC;CACzC"}
|
|
1
|
+
{"version":3,"file":"AccessibilityPreferencesInput.d.ts","sourceRoot":"","sources":["../../../src/contract/routing/AccessibilityPreferencesInput.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,iCAAiC,CAAC;AAElF,iCAAiC;AACjC,MAAM,WAAW,6BAA6B;IAC5C,UAAU,CAAC,EAAE,0BAA0B,CAAC;CACzC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AlightPreferencesInput.d.ts","sourceRoot":"","sources":["../../../src/contract/routing/AlightPreferencesInput.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,sBAAsB;IACrC,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB"}
|
|
1
|
+
{"version":3,"file":"AlightPreferencesInput.d.ts","sourceRoot":"","sources":["../../../src/contract/routing/AlightPreferencesInput.ts"],"names":[],"mappings":"AAAA,6BAA6B;AAC7B,MAAM,WAAW,sBAAsB;IACrC,uGAAuG;IACvG,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB"}
|
|
@@ -1,5 +1,8 @@
|
|
|
1
|
+
/** Boarding preferences. */
|
|
1
2
|
export interface BoardPreferencesInput {
|
|
2
|
-
|
|
3
|
+
/** How much worse waiting at a stop is than riding for the same time, a multiplier from 0.1 to 100000; rejected, never clamped. */
|
|
3
4
|
waitReluctance?: number;
|
|
5
|
+
/** Least time at the stop before boarding, as an ISO-8601 duration: `PT0S` to `PT1H`; rejected, never clamped. */
|
|
6
|
+
slack?: string;
|
|
4
7
|
}
|
|
5
8
|
//# sourceMappingURL=BoardPreferencesInput.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BoardPreferencesInput.d.ts","sourceRoot":"","sources":["../../../src/contract/routing/BoardPreferencesInput.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,qBAAqB;IACpC,
|
|
1
|
+
{"version":3,"file":"BoardPreferencesInput.d.ts","sourceRoot":"","sources":["../../../src/contract/routing/BoardPreferencesInput.ts"],"names":[],"mappings":"AAAA,4BAA4B;AAC5B,MAAM,WAAW,qBAAqB;IACpC,mIAAmI;IACnI,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,kHAAkH;IAClH,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB"}
|
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
import type { StopDeparturesStoptime } from './StopDeparturesStoptime.ts';
|
|
2
2
|
import type { WheelchairBoarding } from './WheelchairBoarding.ts';
|
|
3
|
-
|
|
3
|
+
/** Departures board for one platform (a stop id) or a whole station (a station id), realtime merged in. A trip's final stop gives no row, since nobody boards there. */
|
|
4
|
+
export interface DepartureBoard {
|
|
4
5
|
gtfsId: string;
|
|
5
6
|
name: string;
|
|
7
|
+
/** Null on a station board. */
|
|
6
8
|
wheelchairBoarding?: WheelchairBoarding;
|
|
7
9
|
stoptimesWithoutPatterns?: StopDeparturesStoptime[];
|
|
8
10
|
}
|
|
9
|
-
//# sourceMappingURL=
|
|
11
|
+
//# sourceMappingURL=DepartureBoard.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DepartureBoard.d.ts","sourceRoot":"","sources":["../../../src/contract/routing/DepartureBoard.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,6BAA6B,CAAC;AAC1E,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;AAElE,wKAAwK;AACxK,MAAM,WAAW,cAAc;IAC7B,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,MAAM,CAAC;IACb,+BAA+B;IAC/B,kBAAkB,CAAC,EAAE,kBAAkB,CAAC;IACxC,wBAAwB,CAAC,EAAE,sBAAsB,EAAE,CAAC;CACrD"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DepartureBoard.js","sourceRoot":"","sources":["../../../src/contract/routing/DepartureBoard.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/** POST body for `/routing/v1/departures`. A key not listed here is a 400 `<key> is not allowed`. Every bound is rejected, never clamped. */
|
|
2
|
+
export interface DeparturesRequest {
|
|
3
|
+
/** Feed-prefixed id (`<feedId>:<id>`) of a stop, for that platform's board, or of a station, for all its platforms. */
|
|
4
|
+
id: string;
|
|
5
|
+
/** Most rows on the board: 1 up to the environment's limit; rejected, never clamped. */
|
|
6
|
+
numberOfDepartures: number;
|
|
7
|
+
/** Unix seconds the board starts at. Absent or 0 means now. */
|
|
8
|
+
startTime?: number;
|
|
9
|
+
/** Seconds after `startTime` the board covers: 1 to 86400 (24 hours); rejected, never clamped. */
|
|
10
|
+
timeRange: number;
|
|
11
|
+
}
|
|
12
|
+
//# sourceMappingURL=DeparturesRequest.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DeparturesRequest.d.ts","sourceRoot":"","sources":["../../../src/contract/routing/DeparturesRequest.ts"],"names":[],"mappings":"AAAA,6IAA6I;AAC7I,MAAM,WAAW,iBAAiB;IAChC,uHAAuH;IACvH,EAAE,EAAE,MAAM,CAAC;IACX,wFAAwF;IACxF,kBAAkB,EAAE,MAAM,CAAC;IAC3B,+DAA+D;IAC/D,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,kGAAkG;IAClG,SAAS,EAAE,MAAM,CAAC;CACnB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DeparturesRequest.js","sourceRoot":"","sources":["../../../src/contract/routing/DeparturesRequest.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DeparturesResponse.d.ts","sourceRoot":"","sources":["../../../src/contract/routing/DeparturesResponse.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAE1D,mFAAmF;AACnF,MAAM,WAAW,kBAAkB;IACjC,IAAI,CAAC,EAAE,cAAc,CAAC;CACvB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DeparturesResponse.js","sourceRoot":"","sources":["../../../src/contract/routing/DeparturesResponse.ts"],"names":[],"mappings":""}
|
|
@@ -1,6 +1,9 @@
|
|
|
1
|
-
/**
|
|
1
|
+
/** Error body: a stable machine-readable `code` (a state name) and a human-readable `message`. */
|
|
2
2
|
export interface ErrorResponse {
|
|
3
3
|
code?: string;
|
|
4
|
+
/** For bad_request: `<field> is required|invalid|out of range|not allowed`. */
|
|
4
5
|
message: string;
|
|
6
|
+
/** The request member a 400 names, as a dot path from the body root (array positions omitted). */
|
|
7
|
+
field?: string;
|
|
5
8
|
}
|
|
6
9
|
//# sourceMappingURL=ErrorResponse.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ErrorResponse.d.ts","sourceRoot":"","sources":["../../../src/contract/routing/ErrorResponse.ts"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"ErrorResponse.d.ts","sourceRoot":"","sources":["../../../src/contract/routing/ErrorResponse.ts"],"names":[],"mappings":"AAAA,kGAAkG;AAClG,MAAM,WAAW,aAAa;IAC5B,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,+EAA+E;IAC/E,OAAO,EAAE,MAAM,CAAC;IAChB,kGAAkG;IAClG,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Geometry.d.ts","sourceRoot":"","sources":["../../../src/contract/routing/Geometry.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,QAAQ;IACvB,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB"}
|
|
1
|
+
{"version":3,"file":"Geometry.d.ts","sourceRoot":"","sources":["../../../src/contract/routing/Geometry.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,QAAQ;IACvB,wCAAwC;IACxC,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB"}
|
|
@@ -1,11 +1,14 @@
|
|
|
1
1
|
import type { Leg } from './Leg.ts';
|
|
2
|
+
/** One journey, leg by leg. Times are in the feed's time zone. */
|
|
2
3
|
export interface Itinerary {
|
|
3
4
|
start?: string;
|
|
4
5
|
end?: string;
|
|
6
|
+
/** Seconds from `start` to `end`. */
|
|
5
7
|
duration?: number;
|
|
8
|
+
/** Seconds spent waiting at stops. */
|
|
6
9
|
waitingTime?: number;
|
|
10
|
+
/** Changes between vehicles. Staying on board as the vehicle carries on as another trip (`interlineWithPreviousLeg`) is not counted. */
|
|
7
11
|
numberOfTransfers: number;
|
|
8
|
-
accessibilityScore?: number;
|
|
9
12
|
legs: Leg[];
|
|
10
13
|
}
|
|
11
14
|
//# sourceMappingURL=Itinerary.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Itinerary.d.ts","sourceRoot":"","sources":["../../../src/contract/routing/Itinerary.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,UAAU,CAAC;AAEpC,MAAM,WAAW,SAAS;IACxB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,iBAAiB,EAAE,MAAM,CAAC;IAC1B,
|
|
1
|
+
{"version":3,"file":"Itinerary.d.ts","sourceRoot":"","sources":["../../../src/contract/routing/Itinerary.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,UAAU,CAAC;AAEpC,kEAAkE;AAClE,MAAM,WAAW,SAAS;IACxB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,qCAAqC;IACrC,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,sCAAsC;IACtC,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,wIAAwI;IACxI,iBAAiB,EAAE,MAAM,CAAC;IAC1B,IAAI,EAAE,GAAG,EAAE,CAAC;CACb"}
|
|
@@ -5,21 +5,31 @@ import type { Place } from './Place.ts';
|
|
|
5
5
|
import type { RealtimeState } from './RealtimeState.ts';
|
|
6
6
|
import type { Route } from './Route.ts';
|
|
7
7
|
import type { Trip } from './Trip.ts';
|
|
8
|
+
/** One walk or ride. */
|
|
8
9
|
export interface Leg {
|
|
9
10
|
mode?: Mode;
|
|
10
11
|
start: LegTime;
|
|
11
12
|
end: LegTime;
|
|
13
|
+
/** Seconds of delay applied to this leg's arrival at the requested `reliability`: that trip's typical delay at the stop on the service date's day type, from the environment's realtime history. Null when `reliability` is omitted or there is no history. */
|
|
14
|
+
typicalArrivalDelay?: number;
|
|
12
15
|
realtimeState?: RealtimeState;
|
|
16
|
+
/** True when the leg's times include realtime. */
|
|
13
17
|
realTime?: boolean;
|
|
18
|
+
/** The GTFS service date of the leg's trip, `YYYY-MM-DD`; null on a walk leg. */
|
|
14
19
|
serviceDate?: string;
|
|
15
20
|
from: Place;
|
|
16
21
|
to: Place;
|
|
22
|
+
/** Null on a walk leg. */
|
|
17
23
|
route?: Route;
|
|
18
24
|
headsign?: string;
|
|
25
|
+
/** Metres. */
|
|
19
26
|
distance?: number;
|
|
27
|
+
/** Seconds. */
|
|
20
28
|
duration?: number;
|
|
21
|
-
|
|
29
|
+
/** Null on a walk leg. */
|
|
22
30
|
trip?: Trip;
|
|
31
|
+
/** True on a transit leg ridden in the same vehicle as the previous leg: the vehicle carries on as another trip, often under another line number, and the rider stays on board. That change is not counted in `numberOfTransfers`. False on every other leg. */
|
|
32
|
+
interlineWithPreviousLeg?: boolean;
|
|
23
33
|
legGeometry?: Geometry;
|
|
24
34
|
}
|
|
25
35
|
//# sourceMappingURL=Leg.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Leg.d.ts","sourceRoot":"","sources":["../../../src/contract/routing/Leg.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AAC9C,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AAC5C,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,WAAW,CAAC;AACtC,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,YAAY,CAAC;AACxC,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AACxD,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,YAAY,CAAC;AACxC,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,WAAW,CAAC;AAEtC,MAAM,WAAW,GAAG;IAClB,IAAI,CAAC,EAAE,IAAI,CAAC;IACZ,KAAK,EAAE,OAAO,CAAC;IACf,GAAG,EAAE,OAAO,CAAC;IACb,aAAa,CAAC,EAAE,aAAa,CAAC;IAC9B,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,IAAI,EAAE,KAAK,CAAC;IACZ,EAAE,EAAE,KAAK,CAAC;IACV,KAAK,CAAC,EAAE,KAAK,CAAC;IACd,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,
|
|
1
|
+
{"version":3,"file":"Leg.d.ts","sourceRoot":"","sources":["../../../src/contract/routing/Leg.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AAC9C,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AAC5C,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,WAAW,CAAC;AACtC,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,YAAY,CAAC;AACxC,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AACxD,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,YAAY,CAAC;AACxC,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,WAAW,CAAC;AAEtC,wBAAwB;AACxB,MAAM,WAAW,GAAG;IAClB,IAAI,CAAC,EAAE,IAAI,CAAC;IACZ,KAAK,EAAE,OAAO,CAAC;IACf,GAAG,EAAE,OAAO,CAAC;IACb,+PAA+P;IAC/P,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B,aAAa,CAAC,EAAE,aAAa,CAAC;IAC9B,kDAAkD;IAClD,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,iFAAiF;IACjF,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,IAAI,EAAE,KAAK,CAAC;IACZ,EAAE,EAAE,KAAK,CAAC;IACV,0BAA0B;IAC1B,KAAK,CAAC,EAAE,KAAK,CAAC;IACd,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,cAAc;IACd,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,eAAe;IACf,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,0BAA0B;IAC1B,IAAI,CAAC,EAAE,IAAI,CAAC;IACZ,gQAAgQ;IAChQ,wBAAwB,CAAC,EAAE,OAAO,CAAC;IACnC,WAAW,CAAC,EAAE,QAAQ,CAAC;CACxB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LegTime.d.ts","sourceRoot":"","sources":["../../../src/contract/routing/LegTime.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AAE9D,MAAM,WAAW,OAAO;IACtB,aAAa,EAAE,MAAM,CAAC;IACtB,SAAS,CAAC,EAAE,gBAAgB,CAAC;CAC9B"}
|
|
1
|
+
{"version":3,"file":"LegTime.d.ts","sourceRoot":"","sources":["../../../src/contract/routing/LegTime.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AAE9D,MAAM,WAAW,OAAO;IACtB,aAAa,EAAE,MAAM,CAAC;IACtB,6BAA6B;IAC7B,SAAS,CAAC,EAAE,gBAAgB,CAAC;CAC9B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Place.d.ts","sourceRoot":"","sources":["../../../src/contract/routing/Place.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,WAAW,CAAC;AAEtC,MAAM,WAAW,KAAK;IACpB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,IAAI,CAAC;CACb"}
|
|
1
|
+
{"version":3,"file":"Place.d.ts","sourceRoot":"","sources":["../../../src/contract/routing/Place.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,WAAW,CAAC;AAEtC,MAAM,WAAW,KAAK;IACpB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,qFAAqF;IACrF,IAAI,CAAC,EAAE,IAAI,CAAC;CACb"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PlanCoordinateInput.d.ts","sourceRoot":"","sources":["../../../src/contract/routing/PlanCoordinateInput.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,mBAAmB;IAClC,QAAQ,EAAE,MAAM,CAAC;IACjB,SAAS,EAAE,MAAM,CAAC;CACnB"}
|
|
1
|
+
{"version":3,"file":"PlanCoordinateInput.d.ts","sourceRoot":"","sources":["../../../src/contract/routing/PlanCoordinateInput.ts"],"names":[],"mappings":"AAAA,qBAAqB;AACrB,MAAM,WAAW,mBAAmB;IAClC,2BAA2B;IAC3B,QAAQ,EAAE,MAAM,CAAC;IACjB,4BAA4B;IAC5B,SAAS,EAAE,MAAM,CAAC;CACnB"}
|
|
@@ -1,5 +1,8 @@
|
|
|
1
|
+
/** Exactly one of `earliestDeparture`, `latestArrival`. Both are RFC 3339 date-times with an offset, e.g. `2026-10-07T08:00:00+02:00`. */
|
|
1
2
|
export interface PlanDateTimeInput {
|
|
3
|
+
/** Depart at or after this time. */
|
|
2
4
|
earliestDeparture?: string;
|
|
5
|
+
/** Arrive at or before this time. */
|
|
3
6
|
latestArrival?: string;
|
|
4
7
|
}
|
|
5
8
|
//# sourceMappingURL=PlanDateTimeInput.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PlanDateTimeInput.d.ts","sourceRoot":"","sources":["../../../src/contract/routing/PlanDateTimeInput.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,iBAAiB;IAChC,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB"}
|
|
1
|
+
{"version":3,"file":"PlanDateTimeInput.d.ts","sourceRoot":"","sources":["../../../src/contract/routing/PlanDateTimeInput.ts"],"names":[],"mappings":"AAAA,0IAA0I;AAC1I,MAAM,WAAW,iBAAiB;IAChC,oCAAoC;IACpC,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,qCAAqC;IACrC,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PlanLabeledLocationInput.d.ts","sourceRoot":"","sources":["../../../src/contract/routing/PlanLabeledLocationInput.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAC;AAEhE,MAAM,WAAW,wBAAwB;IACvC,
|
|
1
|
+
{"version":3,"file":"PlanLabeledLocationInput.d.ts","sourceRoot":"","sources":["../../../src/contract/routing/PlanLabeledLocationInput.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAC;AAEhE,gCAAgC;AAChC,MAAM,WAAW,wBAAwB;IACvC,QAAQ,EAAE,iBAAiB,CAAC;CAC7B"}
|
|
@@ -1,7 +1,10 @@
|
|
|
1
1
|
import type { PlanCoordinateInput } from './PlanCoordinateInput.ts';
|
|
2
2
|
import type { PlanStopLocationInput } from './PlanStopLocationInput.ts';
|
|
3
|
+
/** Exactly one of `coordinate`, `stopLocation`. */
|
|
3
4
|
export interface PlanLocationInput {
|
|
5
|
+
/** A point; the journey walks between it and the stops. */
|
|
4
6
|
coordinate?: PlanCoordinateInput;
|
|
7
|
+
/** A stop or a station. */
|
|
5
8
|
stopLocation?: PlanStopLocationInput;
|
|
6
9
|
}
|
|
7
10
|
//# sourceMappingURL=PlanLocationInput.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PlanLocationInput.d.ts","sourceRoot":"","sources":["../../../src/contract/routing/PlanLocationInput.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,0BAA0B,CAAC;AACpE,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,4BAA4B,CAAC;AAExE,MAAM,WAAW,iBAAiB;IAChC,UAAU,CAAC,EAAE,mBAAmB,CAAC;IACjC,YAAY,CAAC,EAAE,qBAAqB,CAAC;CACtC"}
|
|
1
|
+
{"version":3,"file":"PlanLocationInput.d.ts","sourceRoot":"","sources":["../../../src/contract/routing/PlanLocationInput.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,0BAA0B,CAAC;AACpE,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,4BAA4B,CAAC;AAExE,mDAAmD;AACnD,MAAM,WAAW,iBAAiB;IAChC,2DAA2D;IAC3D,UAAU,CAAC,EAAE,mBAAmB,CAAC;IACjC,2BAA2B;IAC3B,YAAY,CAAC,EAAE,qBAAqB,CAAC;CACtC"}
|
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
import type { PlanDirectMode } from './PlanDirectMode.ts';
|
|
2
1
|
import type { PlanTransitModesInput } from './PlanTransitModesInput.ts';
|
|
2
|
+
/** Which modes the search may use. */
|
|
3
3
|
export interface PlanModesInput {
|
|
4
|
-
direct
|
|
4
|
+
/** Only a direct walk, without transit. */
|
|
5
5
|
directOnly?: boolean;
|
|
6
|
-
transit
|
|
6
|
+
/** Never a journey without a transit leg. */
|
|
7
7
|
transitOnly?: boolean;
|
|
8
|
+
transit?: PlanTransitModesInput;
|
|
8
9
|
}
|
|
9
10
|
//# sourceMappingURL=PlanModesInput.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PlanModesInput.d.ts","sourceRoot":"","sources":["../../../src/contract/routing/PlanModesInput.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"PlanModesInput.d.ts","sourceRoot":"","sources":["../../../src/contract/routing/PlanModesInput.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,4BAA4B,CAAC;AAExE,sCAAsC;AACtC,MAAM,WAAW,cAAc;IAC7B,2CAA2C;IAC3C,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,6CAA6C;IAC7C,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,OAAO,CAAC,EAAE,qBAAqB,CAAC;CACjC"}
|
|
@@ -1,8 +1,11 @@
|
|
|
1
1
|
export interface PlanPageInfo {
|
|
2
|
+
/** Send as `before` for the previous page; null when there is none. */
|
|
2
3
|
startCursor?: string;
|
|
4
|
+
/** Send as `after` for the next page; null when there is none. */
|
|
3
5
|
endCursor?: string;
|
|
4
6
|
hasNextPage: boolean;
|
|
5
7
|
hasPreviousPage: boolean;
|
|
8
|
+
/** The window the search covered, as an ISO-8601 duration; null for a declined plan. */
|
|
6
9
|
searchWindowUsed?: string;
|
|
7
10
|
}
|
|
8
11
|
//# sourceMappingURL=PlanPageInfo.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PlanPageInfo.d.ts","sourceRoot":"","sources":["../../../src/contract/routing/PlanPageInfo.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,YAAY;IAC3B,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,WAAW,EAAE,OAAO,CAAC;IACrB,eAAe,EAAE,OAAO,CAAC;IACzB,gBAAgB,CAAC,EAAE,MAAM,CAAC;CAC3B"}
|
|
1
|
+
{"version":3,"file":"PlanPageInfo.d.ts","sourceRoot":"","sources":["../../../src/contract/routing/PlanPageInfo.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,YAAY;IAC3B,uEAAuE;IACvE,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,kEAAkE;IAClE,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,WAAW,EAAE,OAAO,CAAC;IACrB,eAAe,EAAE,OAAO,CAAC;IACzB,wFAAwF;IACxF,gBAAgB,CAAC,EAAE,MAAM,CAAC;CAC3B"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
+
/** A location the journey passes. */
|
|
1
2
|
export interface PlanPassThroughViaLocationInput {
|
|
2
|
-
|
|
3
|
+
/** 1 to 10 feed-prefixed stop or station ids; passing any one of them is enough. More, or none, is a 400 naming `via`. */
|
|
3
4
|
stopLocationIds: string[];
|
|
4
5
|
}
|
|
5
6
|
//# sourceMappingURL=PlanPassThroughViaLocationInput.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PlanPassThroughViaLocationInput.d.ts","sourceRoot":"","sources":["../../../src/contract/routing/PlanPassThroughViaLocationInput.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,+BAA+B;IAC9C,
|
|
1
|
+
{"version":3,"file":"PlanPassThroughViaLocationInput.d.ts","sourceRoot":"","sources":["../../../src/contract/routing/PlanPassThroughViaLocationInput.ts"],"names":[],"mappings":"AAAA,qCAAqC;AACrC,MAAM,WAAW,+BAA+B;IAC9C,0HAA0H;IAC1H,eAAe,EAAE,MAAM,EAAE,CAAC;CAC3B"}
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import type { AccessibilityPreferencesInput } from './AccessibilityPreferencesInput.ts';
|
|
2
2
|
import type { PlanStreetPreferencesInput } from './PlanStreetPreferencesInput.ts';
|
|
3
3
|
import type { TransitPreferencesInput } from './TransitPreferencesInput.ts';
|
|
4
|
+
/** Routing preferences. An absent member keeps the environment's default. */
|
|
4
5
|
export interface PlanPreferencesInput {
|
|
5
|
-
accessibility?: AccessibilityPreferencesInput;
|
|
6
6
|
street?: PlanStreetPreferencesInput;
|
|
7
7
|
transit?: TransitPreferencesInput;
|
|
8
|
+
accessibility?: AccessibilityPreferencesInput;
|
|
8
9
|
}
|
|
9
10
|
//# sourceMappingURL=PlanPreferencesInput.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PlanPreferencesInput.d.ts","sourceRoot":"","sources":["../../../src/contract/routing/PlanPreferencesInput.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,6BAA6B,EAAE,MAAM,oCAAoC,CAAC;AACxF,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,iCAAiC,CAAC;AAClF,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,8BAA8B,CAAC;AAE5E,MAAM,WAAW,oBAAoB;IACnC,
|
|
1
|
+
{"version":3,"file":"PlanPreferencesInput.d.ts","sourceRoot":"","sources":["../../../src/contract/routing/PlanPreferencesInput.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,6BAA6B,EAAE,MAAM,oCAAoC,CAAC;AACxF,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,iCAAiC,CAAC;AAClF,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,8BAA8B,CAAC;AAE5E,6EAA6E;AAC7E,MAAM,WAAW,oBAAoB;IACnC,MAAM,CAAC,EAAE,0BAA0B,CAAC;IACpC,OAAO,CAAC,EAAE,uBAAuB,CAAC;IAClC,aAAa,CAAC,EAAE,6BAA6B,CAAC;CAC/C"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PlanStopLocationInput.d.ts","sourceRoot":"","sources":["../../../src/contract/routing/PlanStopLocationInput.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,qBAAqB;IACpC,cAAc,EAAE,MAAM,CAAC;CACxB"}
|
|
1
|
+
{"version":3,"file":"PlanStopLocationInput.d.ts","sourceRoot":"","sources":["../../../src/contract/routing/PlanStopLocationInput.ts"],"names":[],"mappings":"AAAA,2BAA2B;AAC3B,MAAM,WAAW,qBAAqB;IACpC,+DAA+D;IAC/D,cAAc,EAAE,MAAM,CAAC;CACxB"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type { Itinerary } from './Itinerary.ts';
|
|
2
|
+
/** Progress, with the itineraries that became final since the previous `chunk`. */
|
|
3
|
+
export interface PlanStreamChunkEvent {
|
|
4
|
+
/** Seconds of the window searched so far. */
|
|
5
|
+
frontier: number;
|
|
6
|
+
/** Itineraries found so far. */
|
|
7
|
+
found: number;
|
|
8
|
+
/** Itineraries sent so far, this chunk's included. */
|
|
9
|
+
finalized: number;
|
|
10
|
+
/** Itineraries that became final with this chunk. */
|
|
11
|
+
results: Itinerary[];
|
|
12
|
+
}
|
|
13
|
+
//# sourceMappingURL=PlanStreamChunkEvent.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PlanStreamChunkEvent.d.ts","sourceRoot":"","sources":["../../../src/contract/routing/PlanStreamChunkEvent.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAEhD,mFAAmF;AACnF,MAAM,WAAW,oBAAoB;IACnC,6CAA6C;IAC7C,QAAQ,EAAE,MAAM,CAAC;IACjB,gCAAgC;IAChC,KAAK,EAAE,MAAM,CAAC;IACd,sDAAsD;IACtD,SAAS,EAAE,MAAM,CAAC;IAClB,qDAAqD;IACrD,OAAO,EAAE,SAAS,EAAE,CAAC;CACtB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PlanStreamChunkEvent.js","sourceRoot":"","sources":["../../../src/contract/routing/PlanStreamChunkEvent.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/** The search work this stream used; ends the stream. `stoppedBy` is `targetResults` (enough itineraries sent), `maxWindow` (the whole window searched) or `rejected` (a declined plan); new values may be added. */
|
|
2
|
+
export interface PlanStreamDoneEvent {
|
|
3
|
+
/** Search iterations used. */
|
|
4
|
+
iterations: number;
|
|
5
|
+
/** Seconds of the window searched. */
|
|
6
|
+
windowSeconds: number;
|
|
7
|
+
/** Itineraries sent. */
|
|
8
|
+
resultCount: number;
|
|
9
|
+
/** Why the stream stopped. */
|
|
10
|
+
stoppedBy: string;
|
|
11
|
+
}
|
|
12
|
+
//# sourceMappingURL=PlanStreamDoneEvent.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PlanStreamDoneEvent.d.ts","sourceRoot":"","sources":["../../../src/contract/routing/PlanStreamDoneEvent.ts"],"names":[],"mappings":"AAAA,qNAAqN;AACrN,MAAM,WAAW,mBAAmB;IAClC,8BAA8B;IAC9B,UAAU,EAAE,MAAM,CAAC;IACnB,sCAAsC;IACtC,aAAa,EAAE,MAAM,CAAC;IACtB,wBAAwB;IACxB,WAAW,EAAE,MAAM,CAAC;IACpB,8BAA8B;IAC9B,SAAS,EAAE,MAAM,CAAC;CACnB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PlanStreamDoneEvent.js","sourceRoot":"","sources":["../../../src/contract/routing/PlanStreamDoneEvent.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import type { RoutingError } from './RoutingError.ts';
|
|
2
|
+
/** Sent once, after the last `chunk`. To continue, send `endCursor` as `after` or `startCursor` as `before` in a new request. */
|
|
3
|
+
export interface PlanStreamPageInfoEvent {
|
|
4
|
+
/** Send as `before` for earlier itineraries; null when there is none. */
|
|
5
|
+
startCursor?: string;
|
|
6
|
+
/** Send as `after` for later itineraries; null when there is none. */
|
|
7
|
+
endCursor?: string;
|
|
8
|
+
hasNextPage: boolean;
|
|
9
|
+
hasPreviousPage: boolean;
|
|
10
|
+
/** The window the stream searched, as an ISO-8601 duration; null for a declined plan. */
|
|
11
|
+
searchWindowUsed?: string;
|
|
12
|
+
/** Why the plan was declined; empty when it was not. */
|
|
13
|
+
routingErrors: RoutingError[];
|
|
14
|
+
}
|
|
15
|
+
//# sourceMappingURL=PlanStreamPageInfoEvent.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PlanStreamPageInfoEvent.d.ts","sourceRoot":"","sources":["../../../src/contract/routing/PlanStreamPageInfoEvent.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAEtD,iIAAiI;AACjI,MAAM,WAAW,uBAAuB;IACtC,yEAAyE;IACzE,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,sEAAsE;IACtE,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,WAAW,EAAE,OAAO,CAAC;IACrB,eAAe,EAAE,OAAO,CAAC;IACzB,yFAAyF;IACzF,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,wDAAwD;IACxD,aAAa,EAAE,YAAY,EAAE,CAAC;CAC/B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PlanStreamPageInfoEvent.js","sourceRoot":"","sources":["../../../src/contract/routing/PlanStreamPageInfoEvent.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import type { PlanDateTimeInput } from './PlanDateTimeInput.ts';
|
|
2
|
+
import type { PlanLabeledLocationInput } from './PlanLabeledLocationInput.ts';
|
|
3
|
+
import type { PlanModesInput } from './PlanModesInput.ts';
|
|
4
|
+
import type { PlanPreferencesInput } from './PlanPreferencesInput.ts';
|
|
5
|
+
import type { PlanViaLocationInput } from './PlanViaLocationInput.ts';
|
|
6
|
+
import type { Reliability } from './Reliability.ts';
|
|
7
|
+
/** POST body for `/routing/v1/plan-stream`: the Plan Trip search, streamed. Instead of a fixed window, the stream widens its search until it has sent `targetResults` itineraries or has searched `maxWindow`. To continue, send the `pageInfo` event's `endCursor` as `after` (later) or its `startCursor` as `before` (earlier); `before` and `after` are exclusive. A key not listed here, at any depth, is a 400 `<path> is not allowed`. Every bound is rejected, never clamped. `null` on an optional member means absent. */
|
|
8
|
+
export interface PlanStreamRequest {
|
|
9
|
+
dateTime: PlanDateTimeInput;
|
|
10
|
+
/** Where the journey starts. An unknown stop id is a 200 with the `routingErrors` code `LOCATION_NOT_FOUND` on `FROM`. */
|
|
11
|
+
origin: PlanLabeledLocationInput;
|
|
12
|
+
/** Where the journey ends. An unknown stop id is a 200 with the `routingErrors` code `LOCATION_NOT_FOUND` on `TO`. */
|
|
13
|
+
destination: PlanLabeledLocationInput;
|
|
14
|
+
/** Locations the journey must visit or pass through, in the order given. How many a request takes is an environment setting, and an environment set to 0 has via turned off; more is a 400 naming `via`. An unknown via stop id is a 200 with the `routingErrors` code `LOCATION_NOT_FOUND` on `VIA`. */
|
|
15
|
+
via?: PlanViaLocationInput[];
|
|
16
|
+
modes?: PlanModesInput;
|
|
17
|
+
preferences?: PlanPreferencesInput;
|
|
18
|
+
/** The stream stops once it has sent this many itineraries: 1 up to the environment's itinerary limit; rejected, never clamped. */
|
|
19
|
+
targetResults: number;
|
|
20
|
+
/** The stream stops once it has searched this far past `dateTime` (before it, for `latestArrival`), as an ISO-8601 duration: at least `PT2H` and at most the environment's search-window limit; rejected, never clamped. */
|
|
21
|
+
maxWindow: string;
|
|
22
|
+
/** `pageInfo.startCursor` of a page, to fetch the page before it. Never with `after`. */
|
|
23
|
+
before?: string;
|
|
24
|
+
/** `pageInfo.endCursor` of a page, to fetch the page after it. Never with `before`. */
|
|
25
|
+
after?: string;
|
|
26
|
+
/** Delay-aware planning level; omitted or null plans on the timetable alone. */
|
|
27
|
+
reliability?: Reliability;
|
|
28
|
+
}
|
|
29
|
+
//# sourceMappingURL=PlanStreamRequest.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PlanStreamRequest.d.ts","sourceRoot":"","sources":["../../../src/contract/routing/PlanStreamRequest.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAC;AAChE,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,+BAA+B,CAAC;AAC9E,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAC1D,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,2BAA2B,CAAC;AACtE,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,2BAA2B,CAAC;AACtE,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAEpD,ogBAAogB;AACpgB,MAAM,WAAW,iBAAiB;IAChC,QAAQ,EAAE,iBAAiB,CAAC;IAC5B,0HAA0H;IAC1H,MAAM,EAAE,wBAAwB,CAAC;IACjC,sHAAsH;IACtH,WAAW,EAAE,wBAAwB,CAAC;IACtC,ySAAyS;IACzS,GAAG,CAAC,EAAE,oBAAoB,EAAE,CAAC;IAC7B,KAAK,CAAC,EAAE,cAAc,CAAC;IACvB,WAAW,CAAC,EAAE,oBAAoB,CAAC;IACnC,mIAAmI;IACnI,aAAa,EAAE,MAAM,CAAC;IACtB,4NAA4N;IAC5N,SAAS,EAAE,MAAM,CAAC;IAClB,yFAAyF;IACzF,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,uFAAuF;IACvF,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,gFAAgF;IAChF,WAAW,CAAC,EAAE,WAAW,CAAC;CAC3B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PlanStreamRequest.js","sourceRoot":"","sources":["../../../src/contract/routing/PlanStreamRequest.ts"],"names":[],"mappings":""}
|
|
@@ -1,11 +1,6 @@
|
|
|
1
|
-
import type { BicyclePreferencesInput } from './BicyclePreferencesInput.ts';
|
|
2
|
-
import type { CarPreferencesInput } from './CarPreferencesInput.ts';
|
|
3
|
-
import type { ScooterPreferencesInput } from './ScooterPreferencesInput.ts';
|
|
4
1
|
import type { WalkPreferencesInput } from './WalkPreferencesInput.ts';
|
|
2
|
+
/** Street preferences, for walking to, from and between stops. */
|
|
5
3
|
export interface PlanStreetPreferencesInput {
|
|
6
|
-
bicycle?: BicyclePreferencesInput;
|
|
7
|
-
car?: CarPreferencesInput;
|
|
8
|
-
scooter?: ScooterPreferencesInput;
|
|
9
4
|
walk?: WalkPreferencesInput;
|
|
10
5
|
}
|
|
11
6
|
//# sourceMappingURL=PlanStreetPreferencesInput.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PlanStreetPreferencesInput.d.ts","sourceRoot":"","sources":["../../../src/contract/routing/PlanStreetPreferencesInput.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"PlanStreetPreferencesInput.d.ts","sourceRoot":"","sources":["../../../src/contract/routing/PlanStreetPreferencesInput.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,2BAA2B,CAAC;AAEtE,kEAAkE;AAClE,MAAM,WAAW,0BAA0B;IACzC,IAAI,CAAC,EAAE,oBAAoB,CAAC;CAC7B"}
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import type { TransitMode } from './TransitMode.ts';
|
|
2
2
|
import type { TransitModePreferenceCostInput } from './TransitModePreferenceCostInput.ts';
|
|
3
|
+
/** A transit mode the search may use. */
|
|
3
4
|
export interface PlanTransitModePreferenceInput {
|
|
4
|
-
cost?: TransitModePreferenceCostInput;
|
|
5
5
|
mode: TransitMode;
|
|
6
|
+
cost?: TransitModePreferenceCostInput;
|
|
6
7
|
}
|
|
7
8
|
//# sourceMappingURL=PlanTransitModePreferenceInput.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PlanTransitModePreferenceInput.d.ts","sourceRoot":"","sources":["../../../src/contract/routing/PlanTransitModePreferenceInput.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AACpD,OAAO,KAAK,EAAE,8BAA8B,EAAE,MAAM,qCAAqC,CAAC;AAE1F,MAAM,WAAW,8BAA8B;IAC7C,IAAI,
|
|
1
|
+
{"version":3,"file":"PlanTransitModePreferenceInput.d.ts","sourceRoot":"","sources":["../../../src/contract/routing/PlanTransitModePreferenceInput.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AACpD,OAAO,KAAK,EAAE,8BAA8B,EAAE,MAAM,qCAAqC,CAAC;AAE1F,yCAAyC;AACzC,MAAM,WAAW,8BAA8B;IAC7C,IAAI,EAAE,WAAW,CAAC;IAClB,IAAI,CAAC,EAAE,8BAA8B,CAAC;CACvC"}
|
|
@@ -1,11 +1,7 @@
|
|
|
1
|
-
import type { PlanAccessMode } from './PlanAccessMode.ts';
|
|
2
|
-
import type { PlanEgressMode } from './PlanEgressMode.ts';
|
|
3
|
-
import type { PlanTransferMode } from './PlanTransferMode.ts';
|
|
4
1
|
import type { PlanTransitModePreferenceInput } from './PlanTransitModePreferenceInput.ts';
|
|
2
|
+
/** Transit modes the search may use. */
|
|
5
3
|
export interface PlanTransitModesInput {
|
|
6
|
-
|
|
7
|
-
egress?: PlanEgressMode[];
|
|
8
|
-
transfer?: PlanTransferMode[];
|
|
4
|
+
/** The modes an itinerary may ride, each with an optional reluctance. Absent means every mode. */
|
|
9
5
|
transit?: PlanTransitModePreferenceInput[];
|
|
10
6
|
}
|
|
11
7
|
//# sourceMappingURL=PlanTransitModesInput.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PlanTransitModesInput.d.ts","sourceRoot":"","sources":["../../../src/contract/routing/PlanTransitModesInput.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"PlanTransitModesInput.d.ts","sourceRoot":"","sources":["../../../src/contract/routing/PlanTransitModesInput.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,8BAA8B,EAAE,MAAM,qCAAqC,CAAC;AAE1F,wCAAwC;AACxC,MAAM,WAAW,qBAAqB;IACpC,kGAAkG;IAClG,OAAO,CAAC,EAAE,8BAA8B,EAAE,CAAC;CAC5C"}
|