UNPKG

ws-dottie

Version:

Your friendly TypeScript companion for Washington State transportation APIs - WSDOT and WSF data with smart caching and React Query integration

2 lines 11.2 kB
import {d}from'./chunk-BOH3LKTH.mjs';import {a as a$1}from'./chunk-6REGGRVO.mjs';var o=a$1.object({}).strict().describe("Input parameters for retrieving vessel accommodations for all vessels."),c=a$1.object({VesselID:a$1.number().int().describe("Numeric ID of the vessel.")}).describe("Input parameters for retrieving vessel accommodations for a specific vessel.");var n=a$1.object({ClassID:a$1.number().int().describe("Numeric ID of the vessel class."),ClassSubjectID:a$1.number().int().describe("Numeric ID of the WSF subject for this vessel class."),ClassName:a$1.string().nullable().describe("Display name of the vessel class."),SortSeq:a$1.number().int().nullable().describe("Display sort order; lower values appear first in lists."),DrawingImg:a$1.string().nullable().describe("URL to detailed vessel class drawing image."),SilhouetteImg:a$1.string().nullable().describe("URL to small silhouette image of vessel class."),PublicDisplayName:a$1.string().nullable().describe("Public-facing display name of the vessel class.")}).describe("Vessel class information grouping similar vessels in the fleet."),i=a$1.object({VesselID:a$1.number().int().describe("Numeric ID of the vessel."),VesselSubjectID:a$1.number().int().describe("Numeric ID of the WSF subject for this vessel."),VesselName:a$1.string().nullable().describe("Display name of the vessel."),VesselAbbrev:a$1.string().nullable().describe("Abbreviation code of the vessel."),Class:n.nullable()}).describe("Base vessel information containing common identification fields shared across all vessel endpoints.");var t=i.extend({CarDeckRestroom:a$1.boolean().describe("True if ADA-accessible restroom is available on car deck; otherwise false."),CarDeckShelter:a$1.boolean().describe("True if ADA-accessible shelter is available on car deck; otherwise false."),Elevator:a$1.boolean().describe("True if elevator is available for passenger deck access; otherwise false."),ADAAccessible:a$1.boolean().describe("True if vessel meets ADA accessibility standards; otherwise false."),MainCabinGalley:a$1.boolean().describe("True if food service galley is available in main passenger cabin; otherwise false."),MainCabinRestroom:a$1.boolean().describe("True if restroom is available in main passenger cabin; otherwise false."),PublicWifi:a$1.boolean().describe("True if public WiFi is available on vessel; otherwise false."),ADAInfo:a$1.string().nullable().describe("Detailed ADA accessibility information for passengers with disabilities."),AdditionalInfo:a$1.string().nullable().describe("Additional accommodation notes not covered by standard boolean flags.")}).describe("Vessel accommodation information including amenities, accessibility features, and passenger facilities.");var h=a$1.object({}).strict().describe("Input parameters for retrieving basic vessel information for all vessels."),g=a$1.object({VesselID:a$1.number().int().describe("Numeric ID of the vessel.")}).describe("Input parameters for retrieving basic vessel information for a specific vessel.");var r=i.extend({Status:a$1.union([a$1.literal(1),a$1.literal(2),a$1.literal(3)]).nullable().describe("Code indicating operational status: 1 = In Service, 2 = Maintenance, 3 = Out of Service."),OwnedByWSF:a$1.boolean().describe("True if vessel is owned by WSF; otherwise false.")}).describe("Basic vessel information including identification, operational status, and ownership.");var x=a$1.object({VesselName:a$1.string().describe("Display name of the vessel."),DateStart:a$1.string().describe("Start date for history query in YYYY-MM-DD format."),DateEnd:a$1.string().describe("End date for history query in YYYY-MM-DD format.")}).describe("Input parameters for retrieving vessel history by vessel name and date range."),A=a$1.object({}).describe("Input parameters for retrieving vessel history for all vessels.");var z=a$1.object({VesselId:a$1.number().int().describe("Numeric ID of the vessel."),Vessel:a$1.string().nullable().describe("Display name of the vessel."),Departing:a$1.string().nullable().describe("Display name of the departing terminal."),Arriving:a$1.string().nullable().describe("Display name of the arriving terminal."),ScheduledDepart:d().nullable().describe("UTC datetime of scheduled departure from origin terminal."),ActualDepart:d().nullable().describe("UTC datetime of actual departure from origin terminal."),EstArrival:d().nullable().describe("UTC datetime of estimated arrival at destination terminal."),Date:d().nullable().describe("UTC datetime indicating the calendar date when this voyage occurred.")}).describe("Historical vessel voyage record including departure and arrival terminals, scheduled and actual departure times, and estimated arrival times.");var j=a$1.object({}).strict().describe("Input parameters for retrieving real-time vessel locations for all vessels."),k=a$1.object({VesselID:a$1.number().int().describe("Numeric ID of the vessel.")}).describe("Input parameters for retrieving real-time vessel location for a specific vessel.");var H=a$1.object({VesselID:a$1.number().int().describe("Numeric ID of the vessel."),VesselName:a$1.string().nullable().describe("Display name of the vessel."),Mmsi:a$1.number().int().nullable().describe("Maritime Mobile Service Identity number for AIS tracking."),DepartingTerminalID:a$1.number().int().describe("Numeric ID of the departing terminal."),DepartingTerminalName:a$1.string().nullable().describe("Display name of the departing terminal."),DepartingTerminalAbbrev:a$1.string().nullable().describe("Abbreviation code of the departing terminal."),ArrivingTerminalID:a$1.number().int().nullable().describe("Numeric ID of the arriving terminal."),ArrivingTerminalName:a$1.string().nullable().describe("Display name of the arriving terminal."),ArrivingTerminalAbbrev:a$1.string().nullable().describe("Abbreviation code of the arriving terminal."),Latitude:a$1.number().describe("Vessel GPS latitude coordinate in decimal degrees."),Longitude:a$1.number().describe("Vessel GPS longitude coordinate in decimal degrees."),Speed:a$1.number().describe("Vessel speed over ground in knots."),Heading:a$1.number().describe("Vessel heading direction in degrees clockwise from north (0-359)."),InService:a$1.boolean().describe("True if vessel is available for passenger operations; otherwise false."),AtDock:a$1.boolean().describe("True if vessel is currently docked at terminal; otherwise false."),LeftDock:d().nullable().describe("UTC datetime when vessel last departed from dock."),Eta:d().nullable().describe("UTC datetime of estimated arrival at destination terminal."),EtaBasis:a$1.string().nullable().describe("Description of ETA calculation method."),ScheduledDeparture:d().nullable().describe("UTC datetime of scheduled departure from origin terminal."),OpRouteAbbrev:a$1.array(a$1.string()).nullable().describe("Array of abbreviated route names currently serviced by vessel."),VesselPositionNum:a$1.number().int().nullable().describe("Vessel position number for route scheduling."),SortSeq:a$1.number().int().describe("Display sort order; lower values appear first in lists."),ManagedBy:a$1.union([a$1.literal(1),a$1.literal(2)]).describe("Code indicating management owner: 1 = WSF, 2 = KCM."),TimeStamp:d().describe("UTC datetime when vessel location data was last updated."),VesselWatchShutID:a$1.number().int().describe("Numeric ID indicating VesselWatch shutdown status condition."),VesselWatchShutMsg:a$1.string().nullable().describe("User-facing message for VesselWatch shutdown status."),VesselWatchShutFlag:a$1.string().nullable().describe("Code indicating whether VesselWatch shutdown conditions are active."),VesselWatchStatus:a$1.string().nullable().describe("Code indicating current operational state of VesselWatch tracking system."),VesselWatchMsg:a$1.string().nullable().describe("User-facing message about VesselWatch system status.")}).describe("Real-time vessel location data including GPS coordinates, terminal assignments, speed, heading, and ETA information.");var P=a$1.object({}).strict().describe("Input parameters for retrieving vessel technical specifications for all vessels."),E=a$1.object({VesselID:a$1.number().int().describe("Numeric ID of the vessel.")}).describe("Input parameters for retrieving vessel technical specifications for a specific vessel.");var a=i.extend({VesselNameDesc:a$1.string().describe("Cultural and historical context for vessel name origin."),VesselHistory:a$1.string().nullable().describe("Operational history and milestones for the vessel."),Beam:a$1.string().describe("Vessel beam width in feet and inches."),CityBuilt:a$1.string().describe("City where vessel was constructed."),SpeedInKnots:a$1.number().int().nullable().describe("Maximum operational speed in knots."),Draft:a$1.string().describe("Vessel draft depth in feet and inches."),EngineCount:a$1.number().int().nullable().describe("Total number of propulsion engines aboard vessel."),Horsepower:a$1.number().int().nullable().describe("Total engine horsepower output."),Length:a$1.string().describe("Vessel overall length in feet and inches."),MaxPassengerCount:a$1.number().int().nullable().describe("Maximum passenger capacity."),PassengerOnly:a$1.boolean().describe("True if vessel carries only passengers; otherwise false."),FastFerry:a$1.boolean().describe("True if vessel is classified as a fast ferry; otherwise false."),PropulsionInfo:a$1.string().describe("Engine propulsion type and fuel technology."),TallDeckClearance:a$1.number().int().nullable().describe("Tall deck vertical clearance height in inches."),RegDeckSpace:a$1.number().int().nullable().describe("Maximum regular deck vehicle capacity including tall deck spaces."),TallDeckSpace:a$1.number().int().nullable().describe("Tall deck vehicle capacity."),Tonnage:a$1.number().int().nullable().describe("Vessel gross tonnage."),Displacement:a$1.number().int().nullable().describe("Vessel displacement weight in long tons."),YearBuilt:a$1.number().int().nullable().describe("Vessel construction year."),YearRebuilt:a$1.number().int().nullable().describe("Vessel major rebuild year."),VesselDrawingImg:a$1.string().nullable().describe("URL to detailed vessel drawing image."),SolasCertified:a$1.boolean().describe("True if vessel meets SOLAS international safety standards; otherwise false."),MaxPassengerCountForInternational:a$1.number().int().nullable().describe("Maximum passenger capacity for international routes.")}).describe("Vessel technical specifications including dimensions, capacity, speed, propulsion, and build details.");var K=a$1.object({}).strict().describe("Input parameters for retrieving complete vessel information for all vessels."),J=a$1.object({VesselID:a$1.number().int().describe("Numeric ID of the vessel.")}).describe("Input parameters for retrieving complete vessel information for a specific vessel.");var $=r.and(t).and(a).describe("Complete vessel information combining identification, operational status, accommodations, and technical specifications in a single schema.");export{o as a,c as b,t as c,h as d,g as e,r as f,x as g,A as h,z as i,j,k,H as l,P as m,E as n,a as o,K as p,J as q,$ as r};//# sourceMappingURL=chunk-M5ISAR5D.mjs.map //# sourceMappingURL=chunk-M5ISAR5D.mjs.map