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 5.07 kB
import {g as g$1,a as a$3}from'./chunk-IZZORSYV.mjs';import {b as b$1,a as a$2}from'./chunk-2S6SB7GP.mjs';import {a as a$1}from'./chunk-XEHBQAFR.mjs';var h,p=a$1(()=>{b$1();h=a$2.object({}).describe("Input parameters for retrieving current toll rates for all HOV toll lanes.");});var a,l,n=a$1(()=>{g$1();b$1();a=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."),l=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$3().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 w,s=a$1(()=>{g$1();b$1();n();w=a.extend({CurrentToll:a$2.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$3().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 B,m=a$1(()=>{b$1();B=a$2.object({}).describe("Input parameters for retrieving trip information for all toll trips.");});var E,d=a$1(()=>{g$1();b$1();n();E=a.extend({Geometry:a$2.string().nullable().describe("Encoded route geometry data for mapping. Empty string or null when geometry is unavailable."),ModifiedDate:a$3().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 N,q,k,c=a$1(()=>{b$1();N=a$2.object({}).describe("Input parameters for retrieving current toll rates for all trips."),q=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."),k=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 f,G,u=a$1(()=>{g$1();b$1();n();f=l.describe("Toll rate information for a single trip including toll amount, message, and update timestamp."),G=a$2.object({LastUpdated:a$3().describe("UTC datetime when toll trip rates were last updated."),Trips:a$2.array(f).nullable().describe("Array of trip rate information for all toll trips. Null when trip rates are unavailable."),Version:a$2.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 K,b=a$1(()=>{b$1();K=a$2.object({}).describe("Input parameters for retrieving current version information for toll trip rates data.");});var X,g=a$1(()=>{g$1();b$1();X=a$2.object({TimeStamp:a$3().describe("UTC datetime when version was created or last updated."),Version:a$2.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{h as a,p as b,w as c,s as d,B as e,m as f,E as g,d as h,N as i,q as j,k,c as l,f as m,G as n,u as o,K as p,b as q,X as r,g as s};//# sourceMappingURL=chunk-HH2BAY36.mjs.map //# sourceMappingURL=chunk-HH2BAY36.mjs.map