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