UNPKG

ws-dottie

Version:

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

106 lines 4.07 kB
/** * @fileoverview WSF Terminals API Output Schemas * * This module provides Zod schemas for validating output data from the WSF * Terminals API endpoints. */ import { z } from "../../../../shared/zod"; /** * DispGISZoomLoc schema * * Contains GIS zoom level location information. */ export declare const dispGISZoomLocSchema: z.ZodObject<{ ZoomLevel: z.ZodNumber; Latitude: z.ZodNullable<z.ZodNumber>; Longitude: z.ZodNullable<z.ZodNumber>; }, z.core.$strip>; export type DispGISZoomLoc = z.infer<typeof dispGISZoomLocSchema>; /** * TerminalLocation schema * * This operation retrieves detailed location information pertaining to terminals. A TerminalID, or unique terminal identifier, may be optionally passed to retrieve a specific terminal. */ export declare const terminalLocationSchema: z.ZodObject<{ TerminalID: z.ZodNumber; TerminalSubjectID: z.ZodNumber; RegionID: z.ZodNumber; TerminalName: z.ZodNullable<z.ZodString>; TerminalAbbrev: z.ZodNullable<z.ZodString>; SortSeq: z.ZodNumber; Latitude: z.ZodNullable<z.ZodNumber>; Longitude: z.ZodNullable<z.ZodNumber>; AddressLineOne: z.ZodNullable<z.ZodString>; AddressLineTwo: z.ZodNullable<z.ZodString>; City: z.ZodNullable<z.ZodString>; State: z.ZodNullable<z.ZodString>; ZipCode: z.ZodNullable<z.ZodString>; Country: z.ZodNullable<z.ZodString>; MapLink: z.ZodNullable<z.ZodString>; Directions: z.ZodNullable<z.ZodString>; DispGISZoomLoc: z.ZodNullable<z.ZodArray<z.ZodObject<{ ZoomLevel: z.ZodNumber; Latitude: z.ZodNullable<z.ZodNumber>; Longitude: z.ZodNullable<z.ZodNumber>; }, z.core.$strip>>>; }, z.core.$strip>; export type TerminalLocation = z.infer<typeof terminalLocationSchema>; /** * GetAllTerminalLocations schema * * Returns all terminal locations. */ export declare const getAllTerminalLocationsSchema: z.ZodArray<z.ZodObject<{ TerminalID: z.ZodNumber; TerminalSubjectID: z.ZodNumber; RegionID: z.ZodNumber; TerminalName: z.ZodNullable<z.ZodString>; TerminalAbbrev: z.ZodNullable<z.ZodString>; SortSeq: z.ZodNumber; Latitude: z.ZodNullable<z.ZodNumber>; Longitude: z.ZodNullable<z.ZodNumber>; AddressLineOne: z.ZodNullable<z.ZodString>; AddressLineTwo: z.ZodNullable<z.ZodString>; City: z.ZodNullable<z.ZodString>; State: z.ZodNullable<z.ZodString>; ZipCode: z.ZodNullable<z.ZodString>; Country: z.ZodNullable<z.ZodString>; MapLink: z.ZodNullable<z.ZodString>; Directions: z.ZodNullable<z.ZodString>; DispGISZoomLoc: z.ZodNullable<z.ZodArray<z.ZodObject<{ ZoomLevel: z.ZodNumber; Latitude: z.ZodNullable<z.ZodNumber>; Longitude: z.ZodNullable<z.ZodNumber>; }, z.core.$strip>>>; }, z.core.$strip>>; export type GetAllTerminalLocations = z.infer<typeof getAllTerminalLocationsSchema>; /** * GetSpecificTerminalLocation schema * * Returns location information for a specific terminal. */ export declare const getSpecificTerminalLocationSchema: z.ZodObject<{ TerminalID: z.ZodNumber; TerminalSubjectID: z.ZodNumber; RegionID: z.ZodNumber; TerminalName: z.ZodNullable<z.ZodString>; TerminalAbbrev: z.ZodNullable<z.ZodString>; SortSeq: z.ZodNumber; Latitude: z.ZodNullable<z.ZodNumber>; Longitude: z.ZodNullable<z.ZodNumber>; AddressLineOne: z.ZodNullable<z.ZodString>; AddressLineTwo: z.ZodNullable<z.ZodString>; City: z.ZodNullable<z.ZodString>; State: z.ZodNullable<z.ZodString>; ZipCode: z.ZodNullable<z.ZodString>; Country: z.ZodNullable<z.ZodString>; MapLink: z.ZodNullable<z.ZodString>; Directions: z.ZodNullable<z.ZodString>; DispGISZoomLoc: z.ZodNullable<z.ZodArray<z.ZodObject<{ ZoomLevel: z.ZodNumber; Latitude: z.ZodNullable<z.ZodNumber>; Longitude: z.ZodNullable<z.ZodNumber>; }, z.core.$strip>>>; }, z.core.$strip>; export type GetSpecificTerminalLocation = z.infer<typeof getSpecificTerminalLocationSchema>; //# sourceMappingURL=terminalLocations.output.d.ts.map