UNPKG

ws-dottie

Version:

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

251 lines (241 loc) 7.99 kB
import { z } from 'zod'; /** * Input schema for GetTollRates endpoint (void input - only AccessCode) * * Provides current toll rates for high occupancy lanes. Coverage Area: Statewide. */ declare const tollRatesInputSchema: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>; type TollRatesInput = z.infer<typeof tollRatesInputSchema>; /** * Schema for toll rate information for HOV toll lanes * * Provides current toll rates for high occupancy lanes. Coverage Area: Statewide. */ declare const tollRateSchema: z.ZodObject<{ EndLatitude: z.ZodNumber; EndLocationName: z.ZodNullable<z.ZodString>; EndLongitude: z.ZodNumber; EndMilepost: z.ZodNumber; StartLatitude: z.ZodNumber; StartLocationName: z.ZodNullable<z.ZodString>; StartLongitude: z.ZodNumber; StartMilepost: z.ZodNumber; TravelDirection: z.ZodNullable<z.ZodString>; TripName: z.ZodNullable<z.ZodString>; } & { CurrentToll: z.ZodNumber; CurrentMessage: z.ZodNullable<z.ZodString>; StateRoute: z.ZodNullable<z.ZodString>; TimeUpdated: z.ZodDate; }, "strip", z.ZodTypeAny, { StateRoute: string | null; TravelDirection: string | null; EndLatitude: number; EndLocationName: string | null; EndLongitude: number; EndMilepost: number; StartLatitude: number; StartLocationName: string | null; StartLongitude: number; StartMilepost: number; TripName: string | null; CurrentToll: number; CurrentMessage: string | null; TimeUpdated: Date; }, { StateRoute: string | null; TravelDirection: string | null; EndLatitude: number; EndLocationName: string | null; EndLongitude: number; EndMilepost: number; StartLatitude: number; StartLocationName: string | null; StartLongitude: number; StartMilepost: number; TripName: string | null; CurrentToll: number; CurrentMessage: string | null; TimeUpdated: Date; }>; type TollRate = z.infer<typeof tollRateSchema>; /** * Input schema for GetTollTripInfo endpoint (void input - only AccessCode) * * Provides current toll rates for high occupancy lanes. Coverage Area: Statewide. */ declare const tollTripInfoInputSchema: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>; type TollTripInfoInput = z.infer<typeof tollTripInfoInputSchema>; /** * Schema for toll trip information * * Provides current toll rates for high occupancy lanes. Coverage Area: Statewide. */ declare const tollTripInfoSchema: z.ZodObject<{ EndLatitude: z.ZodNumber; EndLocationName: z.ZodNullable<z.ZodString>; EndLongitude: z.ZodNumber; EndMilepost: z.ZodNumber; StartLatitude: z.ZodNumber; StartLocationName: z.ZodNullable<z.ZodString>; StartLongitude: z.ZodNumber; StartMilepost: z.ZodNumber; TravelDirection: z.ZodNullable<z.ZodString>; TripName: z.ZodNullable<z.ZodString>; } & { Geometry: z.ZodNullable<z.ZodString>; ModifiedDate: z.ZodDate; }, "strip", z.ZodTypeAny, { TravelDirection: string | null; EndLatitude: number; EndLocationName: string | null; EndLongitude: number; EndMilepost: number; StartLatitude: number; StartLocationName: string | null; StartLongitude: number; StartMilepost: number; TripName: string | null; Geometry: string | null; ModifiedDate: Date; }, { TravelDirection: string | null; EndLatitude: number; EndLocationName: string | null; EndLongitude: number; EndMilepost: number; StartLatitude: number; StartLocationName: string | null; StartLongitude: number; StartMilepost: number; TripName: string | null; Geometry: string | null; ModifiedDate: Date; }>; type TollTripInfo = z.infer<typeof tollTripInfoSchema>; /** * Input schema for GetTollTripRates endpoint (void input - only AccessCode) * * Provides current toll rates for high occupancy lanes. Coverage Area: Statewide. */ declare const tollTripRatesInputSchema: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>; type TollTripRatesInput = z.infer<typeof tollTripRatesInputSchema>; /** * Input schema for GetTripRatesByDate endpoint * * Provides current toll rates for high occupancy lanes. Coverage Area: Statewide. */ declare const tripRatesByDateInputSchema: z.ZodObject<{ FromDate: z.ZodString; ToDate: z.ZodString; }, "strip", z.ZodTypeAny, { FromDate: string; ToDate: string; }, { FromDate: string; ToDate: string; }>; type TripRatesByDateInput = z.infer<typeof tripRatesByDateInputSchema>; /** * Input schema for GetTripRatesByVersion endpoint * * Provides current toll rates for high occupancy lanes. Coverage Area: Statewide. */ declare const tripRatesByVersionInputSchema: z.ZodObject<{ Version: z.ZodNumber; }, "strip", z.ZodTypeAny, { Version: number; }, { Version: number; }>; type TripRatesByVersionInput = z.infer<typeof tripRatesByVersionInputSchema>; /** * Schema for trip rate information * * Provides current toll rates for high occupancy lanes. Coverage Area: Statewide. */ declare const tripRateSchema: z.ZodObject<{ Message: z.ZodNullable<z.ZodString>; MessageUpdateTime: z.ZodDate; Toll: z.ZodNumber; TripName: z.ZodNullable<z.ZodString>; }, "strip", z.ZodTypeAny, { TripName: string | null; Message: string | null; MessageUpdateTime: Date; Toll: number; }, { TripName: string | null; Message: string | null; MessageUpdateTime: Date; Toll: number; }>; type TripRate = z.infer<typeof tripRateSchema>; /** * Schema for toll trips container * * Provides current toll rates for high occupancy lanes. Coverage Area: Statewide. */ declare const tollTripsRatesSchema: z.ZodObject<{ LastUpdated: z.ZodDate; Trips: z.ZodNullable<z.ZodArray<z.ZodObject<{ Message: z.ZodNullable<z.ZodString>; MessageUpdateTime: z.ZodDate; Toll: z.ZodNumber; TripName: z.ZodNullable<z.ZodString>; }, "strip", z.ZodTypeAny, { TripName: string | null; Message: string | null; MessageUpdateTime: Date; Toll: number; }, { TripName: string | null; Message: string | null; MessageUpdateTime: Date; Toll: number; }>, "many">>; Version: z.ZodNumber; }, "strip", z.ZodTypeAny, { Version: number; LastUpdated: Date; Trips: { TripName: string | null; Message: string | null; MessageUpdateTime: Date; Toll: number; }[] | null; }, { Version: number; LastUpdated: Date; Trips: { TripName: string | null; Message: string | null; MessageUpdateTime: Date; Toll: number; }[] | null; }>; type TollTripsRates = z.infer<typeof tollTripsRatesSchema>; /** * Input schema for GetTollTripVersion endpoint (void input - only AccessCode) * * Provides current toll rates for high occupancy lanes. Coverage Area: Statewide. */ declare const tollTripVersionInputSchema: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>; type TollTripVersionInput = z.infer<typeof tollTripVersionInputSchema>; /** * Schema for toll trip version information * * Provides current toll rates for high occupancy lanes. Coverage Area: Statewide. */ declare const tollTripVersionSchema: z.ZodObject<{ TimeStamp: z.ZodDate; Version: z.ZodNumber; }, "strip", z.ZodTypeAny, { Version: number; TimeStamp: Date; }, { Version: number; TimeStamp: Date; }>; type TollTripVersion = z.infer<typeof tollTripVersionSchema>; export { type TollRate, type TollRatesInput, type TollTripInfo, type TollTripInfoInput, type TollTripRatesInput, type TollTripVersion, type TollTripVersionInput, type TollTripsRates, type TripRate, type TripRatesByDateInput, type TripRatesByVersionInput, tollRateSchema, tollRatesInputSchema, tollTripInfoInputSchema, tollTripInfoSchema, tollTripRatesInputSchema, tollTripVersionInputSchema, tollTripVersionSchema, tollTripsRatesSchema, tripRateSchema, tripRatesByDateInputSchema, tripRatesByVersionInputSchema };