UNPKG

ws-dottie

Version:

Your friendly TypeScript companion for Washington State transportation APIs - WSDOT and WSF data with smart caching and React Query integration

27 lines 2 kB
/** * @fileoverview WSF Schedule API Input Schemas for Schedules * * This module provides Zod schemas for validating input parameters for the WSF * Schedule API endpoints related to schedule operations. */ import { z } from "../../../../shared/zod"; /** * Schema for ScheduleByTerminalCombo input parameters * * This operation provides departure times for either a trip date and route or a trip date and terminal combination. The resultset accounts for all contingencies, sailing date ranges and time adjustments. Valid departing and arriving terminals may be found using `/terminalsandmates` while valid routes may be found using `/routes`. Similarly, a valid trip date may be determined using `/validdaterange`. Please format the trip date input as `'YYYY-MM-DD'` (eg. `'2014-04-01'` for a trip date occurring on April 1, 2014). */ export declare const scheduleByTripDateAndTerminals: z.ZodObject<{ TripDate: z.ZodString; DepartingTerminalID: z.ZodNumber; ArrivingTerminalID: z.ZodNumber; }, z.core.$strip>; export type ScheduleByTripDateAndTerminalsInput = z.infer<typeof scheduleByTripDateAndTerminals>; /** * Schema for ScheduleByRoute input parameters * * This operation provides departure times for either a trip date and route or a trip date and terminal combination. The resultset accounts for all contingencies, sailing date ranges and time adjustments. Valid departing and arriving terminals may be found using `/terminalsandmates` while valid routes may be found using `/routes`. Similarly, a valid trip date may be determined using `/validdaterange`. Please format the trip date input as `'YYYY-MM-DD'` (eg. `'2014-04-01'` for a trip date occurring on April 1, 2014). */ export declare const scheduleByTripDateAndRouteIdInputSchema: z.ZodObject<{ TripDate: z.ZodString; RouteID: z.ZodNumber; }, z.core.$strip>; export type ScheduleByTripDateAndRouteIdInput = z.infer<typeof scheduleByTripDateAndRouteIdInputSchema>; //# sourceMappingURL=schedules.input.d.ts.map