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