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 7.53 kB
'use strict';var chunkSDEP44OM_js=require('./chunk-SDEP44OM.js');var o=chunkSDEP44OM_js.a.object({TripDate:chunkSDEP44OM_js.a.string().describe("Trip date in YYYY-MM-DD format. Must be within valid date range."),DepartingTerminalID:chunkSDEP44OM_js.a.number().describe("Numeric ID of the departing terminal."),ArrivingTerminalID:chunkSDEP44OM_js.a.number().describe("Numeric ID of the arriving terminal."),RoundTrip:chunkSDEP44OM_js.a.boolean().describe("True for round trip fares, false for one-way fares.")}).describe("Input parameters for retrieving popular fare line items for a terminal combination."),l=chunkSDEP44OM_js.a.object({TripDate:chunkSDEP44OM_js.a.string().describe("Trip date in YYYY-MM-DD format. Must be within valid date range."),DepartingTerminalID:chunkSDEP44OM_js.a.number().describe("Numeric ID of the departing terminal."),ArrivingTerminalID:chunkSDEP44OM_js.a.number().describe("Numeric ID of the arriving terminal."),RoundTrip:chunkSDEP44OM_js.a.boolean().describe("True for round trip fares, false for one-way fares.")}).describe("Input parameters for retrieving all fare line items for a terminal combination."),m=chunkSDEP44OM_js.a.object({TripDate:chunkSDEP44OM_js.a.string().describe("Trip date in YYYY-MM-DD format. Must be within valid date range.")}).describe("Input parameters for retrieving fare line items for all terminal combinations.");var c=chunkSDEP44OM_js.a.object({DepartingDescription:chunkSDEP44OM_js.a.string().nullable().describe("Display name of the departing terminal, or null if unavailable."),ArrivingDescription:chunkSDEP44OM_js.a.string().nullable().describe("Display name of the arriving terminal, or null if unavailable."),CollectionDescription:chunkSDEP44OM_js.a.string().nullable().describe("Text description of fare collection procedures for this terminal combination, or null if unavailable.")}).describe("Fare collection description for a terminal combination with terminal names and collection procedures."),r=chunkSDEP44OM_js.a.object({DepartingTerminalID:chunkSDEP44OM_js.a.number().describe("Numeric ID of the departing terminal."),DepartingDescription:chunkSDEP44OM_js.a.string().nullable().describe("Display name of the departing terminal, or null if unavailable."),ArrivingTerminalID:chunkSDEP44OM_js.a.number().describe("Numeric ID of the arriving terminal."),ArrivingDescription:chunkSDEP44OM_js.a.string().nullable().describe("Display name of the arriving terminal, or null if unavailable."),CollectionDescription:chunkSDEP44OM_js.a.string().nullable().describe("Text description of fare collection procedures for this terminal combination, or null if unavailable.")}).describe("Fare collection description for a terminal combination with IDs, names, and collection procedures.");var i=chunkSDEP44OM_js.a.object({FareLineItemID:chunkSDEP44OM_js.a.number().describe("Numeric ID of the fare line item."),FareLineItem:chunkSDEP44OM_js.a.string().nullable().describe("Display name of the fare line item, or null if unavailable."),Category:chunkSDEP44OM_js.a.string().nullable().describe("Category grouping for the fare (e.g., 'Passenger', 'Vehicle'), or null if unavailable."),DirectionIndependent:chunkSDEP44OM_js.a.boolean().describe("True if fare amount is the same regardless of departure direction, false if it varies by terminal."),Amount:chunkSDEP44OM_js.a.number().describe("Fare cost in dollars.")}).describe("Fare line item with identifier, description, category, direction independence, and cost."),t=chunkSDEP44OM_js.a.object({TerminalComboIndex:chunkSDEP44OM_js.a.number().describe("Array index of terminal combination in TerminalComboVerbose array."),LineItemIndex:chunkSDEP44OM_js.a.number().describe("Array index of one-way fare line items in LineItems array."),RoundTripLineItemIndex:chunkSDEP44OM_js.a.number().describe("Array index of round trip fare line items in RoundTripLineItems array.")}).describe("Cross-reference mapping between terminal combinations and fare line item arrays."),u=chunkSDEP44OM_js.a.object({TerminalComboVerbose:chunkSDEP44OM_js.a.array(r).optional().describe("Array of terminal combination information for the trip date."),LineItemLookup:chunkSDEP44OM_js.a.array(t).optional().describe("Array of cross-reference mappings between terminal combinations and fare line items."),LineItems:chunkSDEP44OM_js.a.array(chunkSDEP44OM_js.a.array(i)).optional().describe("Array of one-way fare line item arrays, one per terminal combination."),RoundTripLineItems:chunkSDEP44OM_js.a.array(chunkSDEP44OM_js.a.array(i)).optional().describe("Array of round trip fare line item arrays, one per terminal combination.")}).describe("Comprehensive fare line item data for all terminal combinations on a trip date.");var y=chunkSDEP44OM_js.a.object({TripDate:chunkSDEP44OM_js.a.string().describe("Trip date in YYYY-MM-DD format. Must be within valid date range."),DepartingTerminalID:chunkSDEP44OM_js.a.number().describe("Numeric ID of the departing terminal."),ArrivingTerminalID:chunkSDEP44OM_js.a.number().describe("Numeric ID of the arriving terminal."),RoundTrip:chunkSDEP44OM_js.a.boolean().describe("True for round trip totals, false for one-way totals."),FareLineItemID:chunkSDEP44OM_js.a.string().describe("Comma-separated list of fare line item IDs (e.g., '1,2,3')."),Quantity:chunkSDEP44OM_js.a.string().describe("Comma-separated list of quantities matching FareLineItemID order (e.g., '2,1,0'). Values must be >= 0.")}).describe("Input parameters for calculating fare totals with selected line items and quantities.");var a=chunkSDEP44OM_js.a.union([chunkSDEP44OM_js.a.literal(1),chunkSDEP44OM_js.a.literal(2),chunkSDEP44OM_js.a.literal(3),chunkSDEP44OM_js.a.literal(4)]).describe("Code indicating total type: 1 = Departing, 2 = Return, 3 = Either (direction independent), 4 = Grand Total."),T=chunkSDEP44OM_js.a.object({TotalType:a.describe("Code indicating total type: 1 = Departing, 2 = Return, 3 = Either (direction independent), 4 = Grand Total."),Description:chunkSDEP44OM_js.a.string().nullable().describe("Display name of the fare total (e.g., 'Anacortes to Friday Harbor', 'Grand Total'), or null if unavailable."),BriefDescription:chunkSDEP44OM_js.a.string().nullable().describe("Short string representation of total type (e.g., 'Depart', 'Either', 'Total'), or null if unavailable."),Amount:chunkSDEP44OM_js.a.number().describe("Total fare amount in dollars for this total type.")}).describe("Fare total breakdown with type, description, and amount.");var S=chunkSDEP44OM_js.a.object({TripDate:chunkSDEP44OM_js.a.string().describe("Trip date in YYYY-MM-DD format. Must be within valid date range."),DepartingTerminalID:chunkSDEP44OM_js.a.number().describe("Numeric ID of the departing terminal."),ArrivingTerminalID:chunkSDEP44OM_js.a.number().describe("Numeric ID of the arriving terminal.")}).describe("Input parameters for retrieving fare collection description for a terminal combination."),F=chunkSDEP44OM_js.a.object({TripDate:chunkSDEP44OM_js.a.string().describe("Trip date in YYYY-MM-DD format. Must be within valid date range.")}).describe("Input parameters for retrieving fare collection descriptions for all terminal combinations.");var Y=chunkSDEP44OM_js.a.object({}).describe("Input parameters for retrieving the validity date range for fares data.");exports.a=o;exports.b=l;exports.c=m;exports.d=c;exports.e=r;exports.f=i;exports.g=t;exports.h=u;exports.i=y;exports.j=a;exports.k=T;exports.l=S;exports.m=F;exports.n=Y;//# sourceMappingURL=chunk-RTATDXVS.js.map //# sourceMappingURL=chunk-RTATDXVS.js.map