ws-dottie
Version:
Your friendly TypeScript companion for Washington State transportation APIs - WSDOT and WSF data with smart caching and React Query integration
43 lines • 2.7 kB
TypeScript
/**
* @fileoverview WSF Schedule API Input Schemas for Terminals
*
* This module provides Zod schemas for validating input parameters for the WSF
* Schedule API endpoints related to terminal operations.
*/
import type { TerminalMatesInput as SharedTerminalMatesInput, TerminalsInput as SharedTerminalsInput } from "../../../shared/terminals.input";
import { z } from "../../../../shared/zod";
/**
* Schema for Terminals input parameters
*
* This operation retrieves valid departing terminals for a given trip date. 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 terminalsInputSchema: z.ZodObject<{
TripDate: z.ZodString;
}, z.core.$strip>;
export type TerminalsInput = SharedTerminalsInput;
/**
* Schema for TerminalsAndMates input parameters
*
* This operation retrieves all valid departing and arriving terminal combinations for a given trip date. 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 terminalsAndMatesInputSchema: z.ZodObject<{
TripDate: z.ZodString;
}, z.core.$strip>;
export type TerminalsAndMatesInput = z.infer<typeof terminalsAndMatesInputSchema>;
/**
* Schema for TerminalsAndMatesByRoute input parameters
*
* This operation provides valid departing and arriving terminal combinations for a given trip date and route. Valid routes may be found by 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 terminalsAndMatesByRouteInputSchema: z.ZodObject<{
TripDate: z.ZodString;
RouteID: z.ZodNumber;
}, z.core.$strip>;
export type TerminalsAndMatesByRouteInput = z.infer<typeof terminalsAndMatesByRouteInputSchema>;
/**
* Schema for TerminalMates input parameters
*
* This operation provides arriving terminals for a given departing terminal and trip date. A valid departing terminal may be found by using `/terminals`. 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 terminalMatesScheduleInputSchema: z.ZodObject<{
TripDate: z.ZodString;
TerminalID: z.ZodNumber;
}, z.core.$strip>;
export type TerminalMatesScheduleInput = SharedTerminalMatesInput;
//# sourceMappingURL=terminals.input.d.ts.map