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