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.35 kB
'use strict';var chunkZ6HDFNEQ_js=require('./chunk-Z6HDFNEQ.js'),chunkSDEP44OM_js=require('./chunk-SDEP44OM.js');var n=chunkSDEP44OM_js.a.object({}).describe("Input parameters for retrieving current toll rates for all HOV toll lanes.");var r=chunkSDEP44OM_js.a.object({EndLatitude:chunkSDEP44OM_js.a.number().describe("Latitude of trip end point in decimal degrees."),EndLocationName:chunkSDEP44OM_js.a.string().nullable().describe("Display name of trip end location (e.g., 'SR 516', 'SR 18')."),EndLongitude:chunkSDEP44OM_js.a.number().describe("Longitude of trip end point in decimal degrees."),EndMilepost:chunkSDEP44OM_js.a.number().describe("Milepost marker for trip end point."),StartLatitude:chunkSDEP44OM_js.a.number().describe("Latitude of trip start point in decimal degrees."),StartLocationName:chunkSDEP44OM_js.a.string().nullable().describe("Display name of trip start location (e.g., 'I-405', 'S 180th St')."),StartLongitude:chunkSDEP44OM_js.a.number().describe("Longitude of trip start point in decimal degrees."),StartMilepost:chunkSDEP44OM_js.a.number().describe("Milepost marker for trip start point."),TravelDirection:chunkSDEP44OM_js.a.string().nullable().describe("Direction of travel code (e.g., 'S' for southbound, 'N' for northbound)."),TripName:chunkSDEP44OM_js.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=chunkSDEP44OM_js.a.object({Message:chunkSDEP44OM_js.a.string().nullable().describe("Toll rate message or display text (e.g., 'FREE', '$4.95'). Empty string when unavailable."),MessageUpdateTime:chunkZ6HDFNEQ_js.d().describe("UTC datetime when toll rate message was last updated."),Toll:chunkSDEP44OM_js.a.number().describe("Toll amount for trip in dollars."),TripName:chunkSDEP44OM_js.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:chunkSDEP44OM_js.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:chunkSDEP44OM_js.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:chunkSDEP44OM_js.a.string().nullable().describe("State route identifier where toll applies (e.g., '099' for SR-99, '405' for I-405)."),TimeUpdated:chunkZ6HDFNEQ_js.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=chunkSDEP44OM_js.a.object({}).describe("Input parameters for retrieving trip information for all toll trips.");var R=r.extend({Geometry:chunkSDEP44OM_js.a.string().nullable().describe("Encoded route geometry data for mapping. Empty string or null when geometry is unavailable."),ModifiedDate:chunkZ6HDFNEQ_js.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=chunkSDEP44OM_js.a.object({}).describe("Input parameters for retrieving current toll rates for all trips."),w=chunkSDEP44OM_js.a.object({FromDate:chunkSDEP44OM_js.a.string().describe("Start date for historical query in YYYY-MM-DD format."),ToDate:chunkSDEP44OM_js.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=chunkSDEP44OM_js.a.object({Version:chunkSDEP44OM_js.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=chunkSDEP44OM_js.a.object({LastUpdated:chunkZ6HDFNEQ_js.d().describe("UTC datetime when toll trip rates were last updated."),Trips:chunkSDEP44OM_js.a.array(o).nullable().describe("Array of trip rate information for all toll trips. Null when trip rates are unavailable."),Version:chunkSDEP44OM_js.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=chunkSDEP44OM_js.a.object({}).describe("Input parameters for retrieving current version information for toll trip rates data.");var k=chunkSDEP44OM_js.a.object({TimeStamp:chunkZ6HDFNEQ_js.d().describe("UTC datetime when version was created or last updated."),Version:chunkSDEP44OM_js.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.");exports.a=n;exports.b=u;exports.c=T;exports.d=R;exports.e=D;exports.f=w;exports.g=v;exports.h=o;exports.i=L;exports.j=U;exports.k=k;//# sourceMappingURL=chunk-2JA5IE4Y.js.map //# sourceMappingURL=chunk-2JA5IE4Y.js.map