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 • 4.62 kB
JavaScript
import {d}from'./chunk-BOH3LKTH.mjs';import {a}from'./chunk-6REGGRVO.mjs';var n=a.object({}).describe("Input parameters for retrieving current toll rates for all HOV toll lanes.");var r=a.object({EndLatitude:a.number().describe("Latitude of trip end point in decimal degrees."),EndLocationName:a.string().nullable().describe("Display name of trip end location (e.g., 'SR 516', 'SR 18')."),EndLongitude:a.number().describe("Longitude of trip end point in decimal degrees."),EndMilepost:a.number().describe("Milepost marker for trip end point."),StartLatitude:a.number().describe("Latitude of trip start point in decimal degrees."),StartLocationName:a.string().nullable().describe("Display name of trip start location (e.g., 'I-405', 'S 180th St')."),StartLongitude:a.number().describe("Longitude of trip start point in decimal degrees."),StartMilepost:a.number().describe("Milepost marker for trip start point."),TravelDirection:a.string().nullable().describe("Direction of travel code (e.g., 'S' for southbound, 'N' for northbound)."),TripName:a.string().nullable().describe("Unique identifier for toll trip route (e.g., 'Tmptp02565', '099tp03268').")}).describe("Common toll trip information including start and end locations, coordinates, and trip identification."),i=a.object({Message:a.string().nullable().describe("Toll rate message or display text (e.g., 'FREE', '$4.95'). Empty string when unavailable."),MessageUpdateTime:d().describe("UTC datetime when toll rate message was last updated."),Toll:a.number().describe("Toll amount for trip in dollars."),TripName:a.string().nullable().describe("Unique identifier for toll trip route (e.g., '405tp02752', '520tp00422', '099tp03060').")}).describe("Common toll trip rate information including toll amount, message, and update timestamp.");var u=r.extend({CurrentToll:a.int().describe("Current toll amount in cents. May be negative when toll is unavailable. May not match sign display due to timing differences."),CurrentMessage:a.string().nullable().describe("Message displayed on toll sign instead of toll amount. Null when toll amount is displayed, empty string when no message is shown."),StateRoute:a.string().nullable().describe("State route identifier where toll applies (e.g., '099' for SR-99, '405' for I-405)."),TimeUpdated:d().describe("UTC datetime when toll rate was last updated.")}).describe("Current toll rate information for a single HOV toll lane trip, including pricing and location data.");var T=a.object({}).describe("Input parameters for retrieving trip information for all toll trips.");var R=r.extend({Geometry:a.string().nullable().describe("Encoded route geometry data for mapping. Empty string or null when geometry is unavailable."),ModifiedDate:d().describe("UTC datetime when trip route information was last modified.")}).describe("Trip route information for a single toll trip, including locations, coordinates, and optional geometry.");var D=a.object({}).describe("Input parameters for retrieving current toll rates for all trips."),w=a.object({FromDate:a.string().describe("Start date for historical query in YYYY-MM-DD format."),ToDate:a.string().describe("End date for historical query in YYYY-MM-DD format.")}).describe("Input parameters for retrieving historical toll rates within a date range."),v=a.object({Version:a.number().int().describe("Version number for toll trip rates data.")}).describe("Input parameters for retrieving toll rates for a specific version number.");var o=i.describe("Toll rate information for a single trip including toll amount, message, and update timestamp."),L=a.object({LastUpdated:d().describe("UTC datetime when toll trip rates were last updated."),Trips:a.array(o).nullable().describe("Array of trip rate information for all toll trips. Null when trip rates are unavailable."),Version:a.int().describe("Version number of toll trips data. Increments when trip rates data is updated.")}).describe("Container for toll trip rates including update timestamp, array of trip rates, and version number.");var U=a.object({}).describe("Input parameters for retrieving current version information for toll trip rates data.");var k=a.object({TimeStamp:d().describe("UTC datetime when version was created or last updated."),Version:a.int().describe("Version number for toll trip rates data. Increments when trip rates data is updated.")}).describe("Version information for toll trip rates data including version number and timestamp.");export{n as a,u as b,T as c,R as d,D as e,w as f,v as g,o as h,L as i,U as j,k};//# sourceMappingURL=chunk-3HQZZWCW.mjs.map
//# sourceMappingURL=chunk-3HQZZWCW.mjs.map