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 1.8 kB
/** * @fileoverview WSF Schedule API Input Schemas for Schedule Today * * This module provides Zod schemas for validating input parameters for the WSF * Schedule API endpoints related to today's schedule operations. */ import { z } from "../../../../shared/zod"; /** * Schema for TodaysScheduleByTerminalCombo input parameters * * This operation provides today's departure times for either a terminal combination or a route. Valid departing and arriving terminals may be found using `/terminalsandmates` while valid routes may be found using `/routes`. For the OnlyRemainingTimes value, please indicate 'true' if departure times prior to now should not be included in the resultset and 'false' if they should be included in the resultset. */ export declare const scheduleTodayByTerminalsInputSchema: z.ZodObject<{ DepartingTerminalID: z.ZodNumber; ArrivingTerminalID: z.ZodNumber; OnlyRemainingTimes: z.ZodBoolean; }, z.core.$strip>; export type ScheduleTodayByTerminalsInput = z.infer<typeof scheduleTodayByTerminalsInputSchema>; /** * Schema for TodaysScheduleByRoute input parameters * * This operation provides today's departure times for either a terminal combination or a route. Valid departing and arriving terminals may be found using `/terminalsandmates` while valid routes may be found using `/routes`. For the OnlyRemainingTimes value, please indicate 'true' if departure times prior to now should not be included in the resultset and 'false' if they should be included in the resultset. */ export declare const scheduleTodayByRouteSchema: z.ZodObject<{ RouteID: z.ZodNumber; OnlyRemainingTimes: z.ZodBoolean; }, z.core.$strip>; export type ScheduleTodayByRouteInput = z.infer<typeof scheduleTodayByRouteSchema>; //# sourceMappingURL=scheduleToday.input.d.ts.map