UNPKG

ws-dottie

Version:

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

50 lines 1.72 kB
import { z } from "../../../../shared/zod"; /** * Input schema for HighwayAlerts endpoint * * Retrieves an array of currently active incidents */ export declare const alertsInputSchema: z.ZodObject<{}, z.core.$strip>; export type AlertsInput = z.infer<typeof alertsInputSchema>; /** * Input schema for HighwayAlert endpoint * * Retrieves a specific incident */ export declare const alertByIdInputSchema: z.ZodObject<{ AlertID: z.ZodNumber; }, z.core.$strip>; export type AlertByIdInput = z.infer<typeof alertByIdInputSchema>; /** * Input schema for HighwayAlertsSearch endpoint * * Retrieves an array of incidents that match certain criteria */ export declare const searchAlertsInputSchema: z.ZodObject<{ StateRoute: z.ZodOptional<z.ZodString>; Region: z.ZodOptional<z.ZodInt>; SearchTimeStart: z.ZodOptional<z.ZodString>; SearchTimeEnd: z.ZodOptional<z.ZodString>; StartingMilepost: z.ZodOptional<z.ZodNumber>; EndingMilepost: z.ZodOptional<z.ZodNumber>; }, z.core.$strip>; export type SearchAlertsInput = z.infer<typeof searchAlertsInputSchema>; /** * Input schema for HighwayAlertsByMapArea endpoint * * Return alerts for a specific area */ export declare const alertsByMapAreaInputSchema: z.ZodObject<{ MapArea: z.ZodString; }, z.core.$strip>; export type AlertsByMapAreaInput = z.infer<typeof alertsByMapAreaInputSchema>; /** * Input schema for HighwayAlertsByRegionID endpoint * * Return alerts for a specific region */ export declare const alertsByRegionIDInputSchema: z.ZodObject<{ RegionID: z.ZodNumber; }, z.core.$strip>; export type AlertsByRegionIDInput = z.infer<typeof alertsByRegionIDInputSchema>; //# sourceMappingURL=highwayAlerts.input.d.ts.map