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 • 5.01 kB
JavaScript
import {b,a as a$2}from'./chunk-Y7ZPKVJH.mjs';import {a as a$1}from'./chunk-XEHBQAFR.mjs';var g,n=a$1(()=>{b();g=a$2.object({}).describe("Input parameters for retrieving current toll rates for all HOV toll lanes.");});var i,a,o=a$1(()=>{b();i=a$2.object({EndLatitude:a$2.number().describe("Latitude of trip end point in decimal degrees."),EndLocationName:a$2.string().nullable().describe("Display name of trip end location (e.g., 'SR 516', 'SR 18')."),EndLongitude:a$2.number().describe("Longitude of trip end point in decimal degrees."),EndMilepost:a$2.number().describe("Milepost marker for trip end point."),StartLatitude:a$2.number().describe("Latitude of trip start point in decimal degrees."),StartLocationName:a$2.string().nullable().describe("Display name of trip start location (e.g., 'I-405', 'S 180th St')."),StartLongitude:a$2.number().describe("Longitude of trip start point in decimal degrees."),StartMilepost:a$2.number().describe("Milepost marker for trip start point."),TravelDirection:a$2.string().nullable().describe("Direction of travel code (e.g., 'S' for southbound, 'N' for northbound)."),TripName:a$2.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."),a=a$2.object({Message:a$2.string().nullable().describe("Toll rate message or display text (e.g., 'FREE', '$4.95'). Empty string when unavailable."),MessageUpdateTime:a$2.date().describe("UTC datetime when toll rate message was last updated."),Toll:a$2.number().describe("Toll amount for trip in dollars."),TripName:a$2.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 R,l=a$1(()=>{b();o();R=i.extend({CurrentToll:a$2.number().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$2.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$2.string().nullable().describe("State route identifier where toll applies (e.g., '099' for SR-99, '405' for I-405)."),TimeUpdated:a$2.date().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 w,s=a$1(()=>{b();w=a$2.object({}).describe("Input parameters for retrieving trip information for all toll trips.");});var M,p=a$1(()=>{b();o();M=i.extend({Geometry:a$2.string().nullable().describe("Encoded route geometry data for mapping. Empty string or null when geometry is unavailable."),ModifiedDate:a$2.date().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 L,j,E,d=a$1(()=>{b();L=a$2.object({}).describe("Input parameters for retrieving current toll rates for all trips."),j=a$2.object({FromDate:a$2.string().describe("Start date for historical query in YYYY-MM-DD format."),ToDate:a$2.string().describe("End date for historical query in YYYY-MM-DD format.")}).describe("Input parameters for retrieving historical toll rates within a date range."),E=a$2.object({Version:a$2.number().int().describe("Version number for toll trip rates data.")}).describe("Input parameters for retrieving toll rates for a specific version number.");});var m,q,c=a$1(()=>{b();o();m=a.describe("Toll rate information for a single trip including toll amount, message, and update timestamp."),q=a$2.object({LastUpdated:a$2.date().describe("UTC datetime when toll trip rates were last updated."),Trips:a$2.array(m).nullable().describe("Array of trip rate information for all toll trips. Null when trip rates are unavailable."),Version:a$2.number().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 H,u=a$1(()=>{b();H=a$2.object({}).describe("Input parameters for retrieving current version information for toll trip rates data.");});var G,f=a$1(()=>{b();G=a$2.object({TimeStamp:a$2.date().describe("UTC datetime when version was created or last updated."),Version:a$2.number().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{g as a,n as b,R as c,l as d,w as e,s as f,M as g,p as h,L as i,j,E as k,d as l,m,q as n,c as o,H as p,u as q,G as r,f as s};//# sourceMappingURL=chunk-Z2QTVRUV.mjs.map
//# sourceMappingURL=chunk-Z2QTVRUV.mjs.map