UNPKG

ws-dottie

Version:

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

1,395 lines (1,383 loc) 109 kB
export { C as CacheFlushDateScheduleInput, a as CacheFlushDateSchedules } from '../../cacheFlushDate-BK9e1T2n.js'; import { T as TerminalMatesInput, d as TerminalList } from '../../validDateRange.output-BosEyUNp.js'; export { c as Terminal, a as TerminalsInput, V as ValidDateRange, e as terminalListSchema, t as terminalMatesInputSchema, f as terminalSchema, b as terminalsInputSchema, v as validDateRangeSchema } from '../../validDateRange.output-BosEyUNp.js'; import { z } from 'zod'; /** * @fileoverview WSF Schedule API Input Schemas for Active Seasons * * This module provides Zod schemas for validating input parameters for the WSF * Schedule API endpoints related to active seasons operations. */ /** * Schema for ActiveScheduledSeasons input parameters * * This operation retrieves a summary of active seasons. */ declare const activeSeasonsInputSchema: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>; type ActiveSeasonsInput = z.infer<typeof activeSeasonsInputSchema>; /** * @fileoverview WSF Schedule API Output Schemas for Active Seasons * * This module provides Zod schemas for validating responses from the WSF * Schedule API active seasons operations. */ /** * Base schedule schema containing common schedule fields * * This operation retrieves a summary of active seasons. */ declare const scheduleBaseSchema: z.ZodObject<{ ScheduleID: z.ZodNumber; ScheduleName: z.ZodString; ScheduleSeason: z.ZodUnion<[z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>; SchedulePDFUrl: z.ZodString; ScheduleStart: z.ZodDate; ScheduleEnd: z.ZodDate; }, "strip", z.ZodTypeAny, { ScheduleID: number; ScheduleName: string; ScheduleSeason: 0 | 2 | 1 | 3; SchedulePDFUrl: string; ScheduleStart: Date; ScheduleEnd: Date; }, { ScheduleID: number; ScheduleName: string; ScheduleSeason: 0 | 2 | 1 | 3; SchedulePDFUrl: string; ScheduleStart: Date; ScheduleEnd: Date; }>; type ScheduleBase = z.infer<typeof scheduleBaseSchema>; /** * Schema for ActiveSeason - represents active season information */ declare const activeSeasonSchema: z.ZodObject<{ ScheduleID: z.ZodNumber; ScheduleName: z.ZodString; ScheduleSeason: z.ZodUnion<[z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>]>; SchedulePDFUrl: z.ZodString; ScheduleStart: z.ZodDate; ScheduleEnd: z.ZodDate; }, "strip", z.ZodTypeAny, { ScheduleID: number; ScheduleName: string; ScheduleSeason: 0 | 2 | 1 | 3; SchedulePDFUrl: string; ScheduleStart: Date; ScheduleEnd: Date; }, { ScheduleID: number; ScheduleName: string; ScheduleSeason: 0 | 2 | 1 | 3; SchedulePDFUrl: string; ScheduleStart: Date; ScheduleEnd: Date; }>; type ActiveSeason = z.infer<typeof activeSeasonSchema>; /** * @fileoverview WSF Schedule API Input Schemas for Routes * * This module provides Zod schemas for validating input parameters for the WSF * Schedule API endpoints related to route operations. */ /** * Schema for Routes input parameters * * This operation retrieves the most basic / brief information pertaining to routes. If only a trip date is included in the URL string, all routes available for that date of travel are returned. If a trip date, departing terminal and arriving terminal are included then routes in the resultset are filtered to match accordingly. Valid departing and arriving terminals may be found using `/terminalsandmates`. 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). */ declare const routesByTripDateInputSchema: z.ZodObject<{ TripDate: z.ZodString; DepartingTerminalID: z.ZodOptional<z.ZodNumber>; ArrivingTerminalID: z.ZodOptional<z.ZodNumber>; }, "strip", z.ZodTypeAny, { TripDate: string; DepartingTerminalID?: number | undefined; ArrivingTerminalID?: number | undefined; }, { TripDate: string; DepartingTerminalID?: number | undefined; ArrivingTerminalID?: number | undefined; }>; type RoutesByTripDateInput = z.infer<typeof routesByTripDateInputSchema>; /** * Schema for RoutesHavingServiceDisruptions input parameters * * This operation retrieves the most basic / brief information for routes currently associated with service disruptions. 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). */ declare const routesHavingServiceDisruptionsByTripDateInputSchema: z.ZodObject<{ TripDate: z.ZodString; }, "strip", z.ZodTypeAny, { TripDate: string; }, { TripDate: string; }>; type RoutesHavingServiceDisruptionsByTripDateInput = z.infer<typeof routesHavingServiceDisruptionsByTripDateInputSchema>; /** * Schema for RouteDetails input parameters * * This operation retrieves highly detailed information pertaining to routes. If only a trip date is included in the URL string, all routes available for that date of travel are returned. If a trip date, departing terminal and arriving terminal are included then routes in the resultset are filtered to match accordingly. Along the same lines, including only a trip date and route will filter the resultset to a single route. Valid departing and arriving terminals may be found using `/terminalsandmates` while valid routes may be found 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). */ declare const routeDetailsSchema: z.ZodObject<{ /** The trip date in 'YYYY-MM-DD' format (e.g., '2014-04-01'). */ TripDate: z.ZodString; /** Unique identifier for the departing terminal. */ DepartingTerminalID: z.ZodOptional<z.ZodNumber>; /** Unique identifier for the arriving terminal. */ ArrivingTerminalID: z.ZodOptional<z.ZodNumber>; /** Unique identifier for a route. */ RouteID: z.ZodOptional<z.ZodNumber>; }, "strip", z.ZodTypeAny, { TripDate: string; DepartingTerminalID?: number | undefined; ArrivingTerminalID?: number | undefined; RouteID?: number | undefined; }, { TripDate: string; DepartingTerminalID?: number | undefined; ArrivingTerminalID?: number | undefined; RouteID?: number | undefined; }>; type RouteDetailsInput = z.infer<typeof routeDetailsSchema>; /** * Schema for RouteDetailsByTripDate input parameters * * This operation retrieves highly detailed information pertaining to routes for a specific trip date. */ declare const routeDetailsByTripDateInputSchema: z.ZodObject<{ TripDate: z.ZodString; }, "strip", z.ZodTypeAny, { TripDate: string; }, { TripDate: string; }>; type RouteDetailsByTripDateInput = z.infer<typeof routeDetailsByTripDateInputSchema>; /** * Schema for RouteDetailsByTripDateAndRouteId input parameters * * This operation retrieves highly detailed information pertaining to a specific route for a specific trip date. */ declare const routeDetailsByTripDateAndRouteIdInputSchema: z.ZodObject<{ TripDate: z.ZodString; RouteID: z.ZodNumber; }, "strip", z.ZodTypeAny, { TripDate: string; RouteID: number; }, { TripDate: string; RouteID: number; }>; type RouteDetailsByTripDateAndRouteIdInput = z.infer<typeof routeDetailsByTripDateAndRouteIdInputSchema>; /** * Schema for RouteDetailsByTripDateAndTerminals input parameters * * This operation retrieves highly detailed information pertaining to routes for a specific trip date and terminal combination. */ declare const routeDetailsByTripDateAndTerminalsInputSchema: z.ZodObject<{ TripDate: z.ZodString; DepartingTerminalID: z.ZodNumber; ArrivingTerminalID: z.ZodNumber; }, "strip", z.ZodTypeAny, { TripDate: string; DepartingTerminalID: number; ArrivingTerminalID: number; }, { TripDate: string; DepartingTerminalID: number; ArrivingTerminalID: number; }>; type RouteDetailsByTripDateAndTerminalsInput = z.infer<typeof routeDetailsByTripDateAndTerminalsInputSchema>; /** * Schema for RoutesByTerminals input parameters * * This operation retrieves routes for a specific trip date and terminal combination. */ declare const routesByTripDateAndTerminalsInputSchema: z.ZodObject<{ TripDate: z.ZodString; DepartingTerminalID: z.ZodNumber; ArrivingTerminalID: z.ZodNumber; }, "strip", z.ZodTypeAny, { TripDate: string; DepartingTerminalID: number; ArrivingTerminalID: number; }, { TripDate: string; DepartingTerminalID: number; ArrivingTerminalID: number; }>; type RoutesByTripDateAndTerminalsInput = z.infer<typeof routesByTripDateAndTerminalsInputSchema>; /** * @fileoverview WSF Schedule API Output Schemas for Routes * * This module provides Zod schemas for validating responses from the WSF * Schedule API route operations. */ /** * Base route schema containing common route fields */ declare const routeBaseSchema: z.ZodObject<{ RouteID: z.ZodNumber; RouteAbbrev: z.ZodNullable<z.ZodString>; Description: z.ZodNullable<z.ZodString>; RegionID: z.ZodNumber; }, "strip", z.ZodTypeAny, { Description: string | null; RegionID: number; RouteID: number; RouteAbbrev: string | null; }, { Description: string | null; RegionID: number; RouteID: number; RouteAbbrev: string | null; }>; type RouteBase = z.infer<typeof routeBaseSchema>; /** * Schema for ServiceDisruption - represents service disruption information */ declare const serviceDisruptionSchema: z.ZodObject<{ BulletinID: z.ZodNumber; BulletinFlag: z.ZodBoolean; PublishDate: z.ZodNullable<z.ZodDate>; DisruptionDescription: z.ZodString; }, "strip", z.ZodTypeAny, { BulletinID: number; BulletinFlag: boolean; PublishDate: Date | null; DisruptionDescription: string; }, { BulletinID: number; BulletinFlag: boolean; PublishDate: Date | null; DisruptionDescription: string; }>; type ServiceDisruption = z.infer<typeof serviceDisruptionSchema>; /** * Service Disruptions List Schema - represents an list of service disruptions */ declare const serviceDisruptionsListSchema: z.ZodArray<z.ZodObject<{ BulletinID: z.ZodNumber; BulletinFlag: z.ZodBoolean; PublishDate: z.ZodNullable<z.ZodDate>; DisruptionDescription: z.ZodString; }, "strip", z.ZodTypeAny, { BulletinID: number; BulletinFlag: boolean; PublishDate: Date | null; DisruptionDescription: string; }, { BulletinID: number; BulletinFlag: boolean; PublishDate: Date | null; DisruptionDescription: string; }>, "many">; type ServiceDisruptionList = z.infer<typeof serviceDisruptionsListSchema>; /** * Schema for Route - represents basic route information */ declare const routeSchema: z.ZodObject<{ RouteID: z.ZodNumber; RouteAbbrev: z.ZodNullable<z.ZodString>; Description: z.ZodNullable<z.ZodString>; RegionID: z.ZodNumber; } & { ServiceDisruptions: z.ZodNullable<z.ZodArray<z.ZodObject<{ BulletinID: z.ZodNumber; BulletinFlag: z.ZodBoolean; PublishDate: z.ZodNullable<z.ZodDate>; DisruptionDescription: z.ZodString; }, "strip", z.ZodTypeAny, { BulletinID: number; BulletinFlag: boolean; PublishDate: Date | null; DisruptionDescription: string; }, { BulletinID: number; BulletinFlag: boolean; PublishDate: Date | null; DisruptionDescription: string; }>, "many">>; }, "strip", z.ZodTypeAny, { Description: string | null; RegionID: number; RouteID: number; RouteAbbrev: string | null; ServiceDisruptions: { BulletinID: number; BulletinFlag: boolean; PublishDate: Date | null; DisruptionDescription: string; }[] | null; }, { Description: string | null; RegionID: number; RouteID: number; RouteAbbrev: string | null; ServiceDisruptions: { BulletinID: number; BulletinFlag: boolean; PublishDate: Date | null; DisruptionDescription: string; }[] | null; }>; type Route = z.infer<typeof routeSchema>; /** * Schema for Alert - represents alert information * * A Highway Alert. */ declare const routeAlertSchema: z.ZodObject<{ BulletinID: z.ZodNumber; BulletinFlag: z.ZodBoolean; CommunicationFlag: z.ZodBoolean; PublishDate: z.ZodNullable<z.ZodDate>; AlertDescription: z.ZodNullable<z.ZodString>; DisruptionDescription: z.ZodNullable<z.ZodString>; AlertFullTitle: z.ZodString; AlertFullText: z.ZodNullable<z.ZodString>; IVRText: z.ZodNullable<z.ZodString>; }, "strip", z.ZodTypeAny, { BulletinID: number; BulletinFlag: boolean; PublishDate: Date | null; DisruptionDescription: string | null; CommunicationFlag: boolean; AlertDescription: string | null; AlertFullTitle: string; AlertFullText: string | null; IVRText: string | null; }, { BulletinID: number; BulletinFlag: boolean; PublishDate: Date | null; DisruptionDescription: string | null; CommunicationFlag: boolean; AlertDescription: string | null; AlertFullTitle: string; AlertFullText: string | null; IVRText: string | null; }>; type RouteAlert = z.infer<typeof routeAlertSchema>; /** * Alerts List Schema - represents an list of alerts */ declare const alertsListSchema: z.ZodArray<z.ZodObject<{ BulletinID: z.ZodNumber; BulletinFlag: z.ZodBoolean; CommunicationFlag: z.ZodBoolean; PublishDate: z.ZodNullable<z.ZodDate>; AlertDescription: z.ZodNullable<z.ZodString>; DisruptionDescription: z.ZodNullable<z.ZodString>; AlertFullTitle: z.ZodString; AlertFullText: z.ZodNullable<z.ZodString>; IVRText: z.ZodNullable<z.ZodString>; }, "strip", z.ZodTypeAny, { BulletinID: number; BulletinFlag: boolean; PublishDate: Date | null; DisruptionDescription: string | null; CommunicationFlag: boolean; AlertDescription: string | null; AlertFullTitle: string; AlertFullText: string | null; IVRText: string | null; }, { BulletinID: number; BulletinFlag: boolean; PublishDate: Date | null; DisruptionDescription: string | null; CommunicationFlag: boolean; AlertDescription: string | null; AlertFullTitle: string; AlertFullText: string | null; IVRText: string | null; }>, "many">; type AlertList = z.infer<typeof alertsListSchema>; /** * Schema for RouteDetail - represents detailed route information */ declare const routeDetailSchema: z.ZodObject<{ RouteID: z.ZodNumber; RouteAbbrev: z.ZodNullable<z.ZodString>; Description: z.ZodNullable<z.ZodString>; RegionID: z.ZodNumber; } & { VesselWatchID: z.ZodNumber; ReservationFlag: z.ZodBoolean; InternationalFlag: z.ZodBoolean; PassengerOnlyFlag: z.ZodBoolean; CrossingTime: z.ZodNullable<z.ZodString>; AdaNotes: z.ZodNullable<z.ZodString>; GeneralRouteNotes: z.ZodNullable<z.ZodString>; SeasonalRouteNotes: z.ZodNullable<z.ZodString>; Alerts: z.ZodArray<z.ZodObject<{ BulletinID: z.ZodNumber; BulletinFlag: z.ZodBoolean; CommunicationFlag: z.ZodBoolean; PublishDate: z.ZodNullable<z.ZodDate>; AlertDescription: z.ZodNullable<z.ZodString>; DisruptionDescription: z.ZodNullable<z.ZodString>; AlertFullTitle: z.ZodString; AlertFullText: z.ZodNullable<z.ZodString>; IVRText: z.ZodNullable<z.ZodString>; }, "strip", z.ZodTypeAny, { BulletinID: number; BulletinFlag: boolean; PublishDate: Date | null; DisruptionDescription: string | null; CommunicationFlag: boolean; AlertDescription: string | null; AlertFullTitle: string; AlertFullText: string | null; IVRText: string | null; }, { BulletinID: number; BulletinFlag: boolean; PublishDate: Date | null; DisruptionDescription: string | null; CommunicationFlag: boolean; AlertDescription: string | null; AlertFullTitle: string; AlertFullText: string | null; IVRText: string | null; }>, "many">; }, "strip", z.ZodTypeAny, { Description: string | null; RegionID: number; RouteID: number; RouteAbbrev: string | null; VesselWatchID: number; ReservationFlag: boolean; InternationalFlag: boolean; PassengerOnlyFlag: boolean; CrossingTime: string | null; AdaNotes: string | null; GeneralRouteNotes: string | null; SeasonalRouteNotes: string | null; Alerts: { BulletinID: number; BulletinFlag: boolean; PublishDate: Date | null; DisruptionDescription: string | null; CommunicationFlag: boolean; AlertDescription: string | null; AlertFullTitle: string; AlertFullText: string | null; IVRText: string | null; }[]; }, { Description: string | null; RegionID: number; RouteID: number; RouteAbbrev: string | null; VesselWatchID: number; ReservationFlag: boolean; InternationalFlag: boolean; PassengerOnlyFlag: boolean; CrossingTime: string | null; AdaNotes: string | null; GeneralRouteNotes: string | null; SeasonalRouteNotes: string | null; Alerts: { BulletinID: number; BulletinFlag: boolean; PublishDate: Date | null; DisruptionDescription: string | null; CommunicationFlag: boolean; AlertDescription: string | null; AlertFullTitle: string; AlertFullText: string | null; IVRText: string | null; }[]; }>; type RouteDetail = z.infer<typeof routeDetailSchema>; /** * Schema for RouteDetailsList - represents a list of route details */ declare const routeDetailsListSchema: z.ZodArray<z.ZodObject<{ RouteID: z.ZodNumber; RouteAbbrev: z.ZodNullable<z.ZodString>; Description: z.ZodNullable<z.ZodString>; RegionID: z.ZodNumber; } & { VesselWatchID: z.ZodNumber; ReservationFlag: z.ZodBoolean; InternationalFlag: z.ZodBoolean; PassengerOnlyFlag: z.ZodBoolean; CrossingTime: z.ZodNullable<z.ZodString>; AdaNotes: z.ZodNullable<z.ZodString>; GeneralRouteNotes: z.ZodNullable<z.ZodString>; SeasonalRouteNotes: z.ZodNullable<z.ZodString>; Alerts: z.ZodArray<z.ZodObject<{ BulletinID: z.ZodNumber; BulletinFlag: z.ZodBoolean; CommunicationFlag: z.ZodBoolean; PublishDate: z.ZodNullable<z.ZodDate>; AlertDescription: z.ZodNullable<z.ZodString>; DisruptionDescription: z.ZodNullable<z.ZodString>; AlertFullTitle: z.ZodString; AlertFullText: z.ZodNullable<z.ZodString>; IVRText: z.ZodNullable<z.ZodString>; }, "strip", z.ZodTypeAny, { BulletinID: number; BulletinFlag: boolean; PublishDate: Date | null; DisruptionDescription: string | null; CommunicationFlag: boolean; AlertDescription: string | null; AlertFullTitle: string; AlertFullText: string | null; IVRText: string | null; }, { BulletinID: number; BulletinFlag: boolean; PublishDate: Date | null; DisruptionDescription: string | null; CommunicationFlag: boolean; AlertDescription: string | null; AlertFullTitle: string; AlertFullText: string | null; IVRText: string | null; }>, "many">; }, "strip", z.ZodTypeAny, { Description: string | null; RegionID: number; RouteID: number; RouteAbbrev: string | null; VesselWatchID: number; ReservationFlag: boolean; InternationalFlag: boolean; PassengerOnlyFlag: boolean; CrossingTime: string | null; AdaNotes: string | null; GeneralRouteNotes: string | null; SeasonalRouteNotes: string | null; Alerts: { BulletinID: number; BulletinFlag: boolean; PublishDate: Date | null; DisruptionDescription: string | null; CommunicationFlag: boolean; AlertDescription: string | null; AlertFullTitle: string; AlertFullText: string | null; IVRText: string | null; }[]; }, { Description: string | null; RegionID: number; RouteID: number; RouteAbbrev: string | null; VesselWatchID: number; ReservationFlag: boolean; InternationalFlag: boolean; PassengerOnlyFlag: boolean; CrossingTime: string | null; AdaNotes: string | null; GeneralRouteNotes: string | null; SeasonalRouteNotes: string | null; Alerts: { BulletinID: number; BulletinFlag: boolean; PublishDate: Date | null; DisruptionDescription: string | null; CommunicationFlag: boolean; AlertDescription: string | null; AlertFullTitle: string; AlertFullText: string | null; IVRText: string | null; }[]; }>, "many">; type RouteDetailsList = z.infer<typeof routeDetailsListSchema>; /** * @fileoverview WSF Schedule API Input Schemas for Sailings * * This module provides Zod schemas for validating input parameters for the WSF * Schedule API endpoints related to sailing operations. */ /** * Schema for SchedSailingsBySchedRoute input parameters * * This operation provides sailings for a particular scheduled route. Sailings are departure times organized by direction of travel (eastbound / westbound), days of operation groups (daily, weekday, weekend, etc) and, in some cases, date ranges (eg. Early Fall / Late Fall). Sailings largely mimic the groupings of departures found on the printed PDF version of the schedule. Scheduled routes may be determined using `/schedroutes`. */ declare const sailingsByRouteIDInputSchema: z.ZodObject<{ SchedRouteID: z.ZodNumber; }, "strip", z.ZodTypeAny, { SchedRouteID: number; }, { SchedRouteID: number; }>; type SailingsByRouteIDInput = z.infer<typeof sailingsByRouteIDInputSchema>; /** * Schema for AllSchedSailingsBySchedRoute input parameters * * This operation provides all sailings for a particular scheduled route. Sailings are departure times organized by direction of travel (eastbound / westbound), days of operation groups (daily, weekday, weekend, etc) and, in some cases, date ranges (eg. Early Fall / Late Fall). Sailings largely mimic the groupings of departures found on the printed PDF version of the schedule. Scheduled routes may be determined using `/schedroutes`. */ declare const allSailingsBySchedRouteIDInputSchema: z.ZodObject<{ SchedRouteID: z.ZodNumber; }, "strip", z.ZodTypeAny, { SchedRouteID: number; }, { SchedRouteID: number; }>; type AllSailingsBySchedRouteIDInput = z.infer<typeof allSailingsBySchedRouteIDInputSchema>; /** * @fileoverview WSF Schedule API Output Schemas for Sailings * * This module provides Zod schemas for validating responses from the WSF * Schedule API sailing operations. */ /** * Schema for ActiveDateRange - represents active date range information */ declare const activeDateRangeSchema: z.ZodObject<{ DateFrom: z.ZodDate; DateThru: z.ZodDate; EventID: z.ZodNullable<z.ZodNumber>; EventDescription: z.ZodNullable<z.ZodString>; }, "strip", z.ZodTypeAny, { DateFrom: Date; DateThru: Date; EventID: number | null; EventDescription: string | null; }, { DateFrom: Date; DateThru: Date; EventID: number | null; EventDescription: string | null; }>; type ActiveDateRange = z.infer<typeof activeDateRangeSchema>; /** * Active Date Ranges List Schema - represents an list of active date ranges */ declare const activeDateRangesListSchema: z.ZodArray<z.ZodObject<{ DateFrom: z.ZodDate; DateThru: z.ZodDate; EventID: z.ZodNullable<z.ZodNumber>; EventDescription: z.ZodNullable<z.ZodString>; }, "strip", z.ZodTypeAny, { DateFrom: Date; DateThru: Date; EventID: number | null; EventDescription: string | null; }, { DateFrom: Date; DateThru: Date; EventID: number | null; EventDescription: string | null; }>, "many">; type ActiveDateRangeList = z.infer<typeof activeDateRangesListSchema>; /** * Schema for Annotation - represents annotation information */ declare const annotationSchema: z.ZodObject<{ AnnotationID: z.ZodNumber; AnnotationText: z.ZodNullable<z.ZodString>; AnnotationIVRText: z.ZodNullable<z.ZodString>; AdjustedCrossingTime: z.ZodNullable<z.ZodNumber>; AnnotationImg: z.ZodNullable<z.ZodString>; TypeDescription: z.ZodNullable<z.ZodString>; SortSeq: z.ZodNumber; }, "strip", z.ZodTypeAny, { AnnotationID: number; AnnotationText: string | null; AnnotationIVRText: string | null; AdjustedCrossingTime: number | null; AnnotationImg: string | null; TypeDescription: string | null; SortSeq: number; }, { AnnotationID: number; AnnotationText: string | null; AnnotationIVRText: string | null; AdjustedCrossingTime: number | null; AnnotationImg: string | null; TypeDescription: string | null; SortSeq: number; }>; type Annotation = z.infer<typeof annotationSchema>; /** * Annotations List Schema - represents an list of annotations */ declare const annotationsListSchema: z.ZodArray<z.ZodObject<{ AnnotationID: z.ZodNumber; AnnotationText: z.ZodNullable<z.ZodString>; AnnotationIVRText: z.ZodNullable<z.ZodString>; AdjustedCrossingTime: z.ZodNullable<z.ZodNumber>; AnnotationImg: z.ZodNullable<z.ZodString>; TypeDescription: z.ZodNullable<z.ZodString>; SortSeq: z.ZodNumber; }, "strip", z.ZodTypeAny, { AnnotationID: number; AnnotationText: string | null; AnnotationIVRText: string | null; AdjustedCrossingTime: number | null; AnnotationImg: string | null; TypeDescription: string | null; SortSeq: number; }, { AnnotationID: number; AnnotationText: string | null; AnnotationIVRText: string | null; AdjustedCrossingTime: number | null; AnnotationImg: string | null; TypeDescription: string | null; SortSeq: number; }>, "many">; type AnnotationList = z.infer<typeof annotationsListSchema>; /** * Schema for TerminalTime - represents terminal time information */ declare const terminalTimeSchema: z.ZodObject<{ JourneyTerminalID: z.ZodNumber; TerminalID: z.ZodNumber; TerminalDescription: z.ZodNullable<z.ZodString>; TerminalBriefDescription: z.ZodNullable<z.ZodString>; Time: z.ZodNullable<z.ZodDate>; DepArrIndicator: z.ZodNullable<z.ZodUnion<[z.ZodLiteral<1>, z.ZodLiteral<2>]>>; IsNA: z.ZodBoolean; Annotations: z.ZodNullable<z.ZodArray<z.ZodObject<{ AnnotationID: z.ZodNumber; AnnotationText: z.ZodNullable<z.ZodString>; AnnotationIVRText: z.ZodNullable<z.ZodString>; AdjustedCrossingTime: z.ZodNullable<z.ZodNumber>; AnnotationImg: z.ZodNullable<z.ZodString>; TypeDescription: z.ZodNullable<z.ZodString>; SortSeq: z.ZodNumber; }, "strip", z.ZodTypeAny, { AnnotationID: number; AnnotationText: string | null; AnnotationIVRText: string | null; AdjustedCrossingTime: number | null; AnnotationImg: string | null; TypeDescription: string | null; SortSeq: number; }, { AnnotationID: number; AnnotationText: string | null; AnnotationIVRText: string | null; AdjustedCrossingTime: number | null; AnnotationImg: string | null; TypeDescription: string | null; SortSeq: number; }>, "many">>; }, "strip", z.ZodTypeAny, { Time: Date | null; TerminalID: number; JourneyTerminalID: number; TerminalDescription: string | null; TerminalBriefDescription: string | null; DepArrIndicator: 2 | 1 | null; IsNA: boolean; Annotations: { AnnotationID: number; AnnotationText: string | null; AnnotationIVRText: string | null; AdjustedCrossingTime: number | null; AnnotationImg: string | null; TypeDescription: string | null; SortSeq: number; }[] | null; }, { Time: Date | null; TerminalID: number; JourneyTerminalID: number; TerminalDescription: string | null; TerminalBriefDescription: string | null; DepArrIndicator: 2 | 1 | null; IsNA: boolean; Annotations: { AnnotationID: number; AnnotationText: string | null; AnnotationIVRText: string | null; AdjustedCrossingTime: number | null; AnnotationImg: string | null; TypeDescription: string | null; SortSeq: number; }[] | null; }>; type TerminalTime = z.infer<typeof terminalTimeSchema>; /** * Terminal Times List Schema - represents an list of terminal times */ declare const terminalTimesListSchema: z.ZodArray<z.ZodObject<{ JourneyTerminalID: z.ZodNumber; TerminalID: z.ZodNumber; TerminalDescription: z.ZodNullable<z.ZodString>; TerminalBriefDescription: z.ZodNullable<z.ZodString>; Time: z.ZodNullable<z.ZodDate>; DepArrIndicator: z.ZodNullable<z.ZodUnion<[z.ZodLiteral<1>, z.ZodLiteral<2>]>>; IsNA: z.ZodBoolean; Annotations: z.ZodNullable<z.ZodArray<z.ZodObject<{ AnnotationID: z.ZodNumber; AnnotationText: z.ZodNullable<z.ZodString>; AnnotationIVRText: z.ZodNullable<z.ZodString>; AdjustedCrossingTime: z.ZodNullable<z.ZodNumber>; AnnotationImg: z.ZodNullable<z.ZodString>; TypeDescription: z.ZodNullable<z.ZodString>; SortSeq: z.ZodNumber; }, "strip", z.ZodTypeAny, { AnnotationID: number; AnnotationText: string | null; AnnotationIVRText: string | null; AdjustedCrossingTime: number | null; AnnotationImg: string | null; TypeDescription: string | null; SortSeq: number; }, { AnnotationID: number; AnnotationText: string | null; AnnotationIVRText: string | null; AdjustedCrossingTime: number | null; AnnotationImg: string | null; TypeDescription: string | null; SortSeq: number; }>, "many">>; }, "strip", z.ZodTypeAny, { Time: Date | null; TerminalID: number; JourneyTerminalID: number; TerminalDescription: string | null; TerminalBriefDescription: string | null; DepArrIndicator: 2 | 1 | null; IsNA: boolean; Annotations: { AnnotationID: number; AnnotationText: string | null; AnnotationIVRText: string | null; AdjustedCrossingTime: number | null; AnnotationImg: string | null; TypeDescription: string | null; SortSeq: number; }[] | null; }, { Time: Date | null; TerminalID: number; JourneyTerminalID: number; TerminalDescription: string | null; TerminalBriefDescription: string | null; DepArrIndicator: 2 | 1 | null; IsNA: boolean; Annotations: { AnnotationID: number; AnnotationText: string | null; AnnotationIVRText: string | null; AdjustedCrossingTime: number | null; AnnotationImg: string | null; TypeDescription: string | null; SortSeq: number; }[] | null; }>, "many">; type TerminalTimeList = z.infer<typeof terminalTimesListSchema>; /** * Schema for Journey - represents journey information */ declare const journeySchema: z.ZodObject<{ JourneyID: z.ZodNumber; ReservationInd: z.ZodBoolean; InternationalInd: z.ZodBoolean; InterislandInd: z.ZodBoolean; VesselID: z.ZodNumber; VesselName: z.ZodNullable<z.ZodString>; VesselHandicapAccessible: z.ZodBoolean; VesselPositionNum: z.ZodNumber; TerminalTimes: z.ZodNullable<z.ZodArray<z.ZodObject<{ JourneyTerminalID: z.ZodNumber; TerminalID: z.ZodNumber; TerminalDescription: z.ZodNullable<z.ZodString>; TerminalBriefDescription: z.ZodNullable<z.ZodString>; Time: z.ZodNullable<z.ZodDate>; DepArrIndicator: z.ZodNullable<z.ZodUnion<[z.ZodLiteral<1>, z.ZodLiteral<2>]>>; IsNA: z.ZodBoolean; Annotations: z.ZodNullable<z.ZodArray<z.ZodObject<{ AnnotationID: z.ZodNumber; AnnotationText: z.ZodNullable<z.ZodString>; AnnotationIVRText: z.ZodNullable<z.ZodString>; AdjustedCrossingTime: z.ZodNullable<z.ZodNumber>; AnnotationImg: z.ZodNullable<z.ZodString>; TypeDescription: z.ZodNullable<z.ZodString>; SortSeq: z.ZodNumber; }, "strip", z.ZodTypeAny, { AnnotationID: number; AnnotationText: string | null; AnnotationIVRText: string | null; AdjustedCrossingTime: number | null; AnnotationImg: string | null; TypeDescription: string | null; SortSeq: number; }, { AnnotationID: number; AnnotationText: string | null; AnnotationIVRText: string | null; AdjustedCrossingTime: number | null; AnnotationImg: string | null; TypeDescription: string | null; SortSeq: number; }>, "many">>; }, "strip", z.ZodTypeAny, { Time: Date | null; TerminalID: number; JourneyTerminalID: number; TerminalDescription: string | null; TerminalBriefDescription: string | null; DepArrIndicator: 2 | 1 | null; IsNA: boolean; Annotations: { AnnotationID: number; AnnotationText: string | null; AnnotationIVRText: string | null; AdjustedCrossingTime: number | null; AnnotationImg: string | null; TypeDescription: string | null; SortSeq: number; }[] | null; }, { Time: Date | null; TerminalID: number; JourneyTerminalID: number; TerminalDescription: string | null; TerminalBriefDescription: string | null; DepArrIndicator: 2 | 1 | null; IsNA: boolean; Annotations: { AnnotationID: number; AnnotationText: string | null; AnnotationIVRText: string | null; AdjustedCrossingTime: number | null; AnnotationImg: string | null; TypeDescription: string | null; SortSeq: number; }[] | null; }>, "many">>; }, "strip", z.ZodTypeAny, { JourneyID: number; ReservationInd: boolean; InternationalInd: boolean; InterislandInd: boolean; VesselID: number; VesselName: string | null; VesselHandicapAccessible: boolean; VesselPositionNum: number; TerminalTimes: { Time: Date | null; TerminalID: number; JourneyTerminalID: number; TerminalDescription: string | null; TerminalBriefDescription: string | null; DepArrIndicator: 2 | 1 | null; IsNA: boolean; Annotations: { AnnotationID: number; AnnotationText: string | null; AnnotationIVRText: string | null; AdjustedCrossingTime: number | null; AnnotationImg: string | null; TypeDescription: string | null; SortSeq: number; }[] | null; }[] | null; }, { JourneyID: number; ReservationInd: boolean; InternationalInd: boolean; InterislandInd: boolean; VesselID: number; VesselName: string | null; VesselHandicapAccessible: boolean; VesselPositionNum: number; TerminalTimes: { Time: Date | null; TerminalID: number; JourneyTerminalID: number; TerminalDescription: string | null; TerminalBriefDescription: string | null; DepArrIndicator: 2 | 1 | null; IsNA: boolean; Annotations: { AnnotationID: number; AnnotationText: string | null; AnnotationIVRText: string | null; AdjustedCrossingTime: number | null; AnnotationImg: string | null; TypeDescription: string | null; SortSeq: number; }[] | null; }[] | null; }>; type Journey = z.infer<typeof journeySchema>; /** * Journeys List Schema - represents an list of journeys */ declare const journeysListSchema: z.ZodArray<z.ZodObject<{ JourneyID: z.ZodNumber; ReservationInd: z.ZodBoolean; InternationalInd: z.ZodBoolean; InterislandInd: z.ZodBoolean; VesselID: z.ZodNumber; VesselName: z.ZodNullable<z.ZodString>; VesselHandicapAccessible: z.ZodBoolean; VesselPositionNum: z.ZodNumber; TerminalTimes: z.ZodNullable<z.ZodArray<z.ZodObject<{ JourneyTerminalID: z.ZodNumber; TerminalID: z.ZodNumber; TerminalDescription: z.ZodNullable<z.ZodString>; TerminalBriefDescription: z.ZodNullable<z.ZodString>; Time: z.ZodNullable<z.ZodDate>; DepArrIndicator: z.ZodNullable<z.ZodUnion<[z.ZodLiteral<1>, z.ZodLiteral<2>]>>; IsNA: z.ZodBoolean; Annotations: z.ZodNullable<z.ZodArray<z.ZodObject<{ AnnotationID: z.ZodNumber; AnnotationText: z.ZodNullable<z.ZodString>; AnnotationIVRText: z.ZodNullable<z.ZodString>; AdjustedCrossingTime: z.ZodNullable<z.ZodNumber>; AnnotationImg: z.ZodNullable<z.ZodString>; TypeDescription: z.ZodNullable<z.ZodString>; SortSeq: z.ZodNumber; }, "strip", z.ZodTypeAny, { AnnotationID: number; AnnotationText: string | null; AnnotationIVRText: string | null; AdjustedCrossingTime: number | null; AnnotationImg: string | null; TypeDescription: string | null; SortSeq: number; }, { AnnotationID: number; AnnotationText: string | null; AnnotationIVRText: string | null; AdjustedCrossingTime: number | null; AnnotationImg: string | null; TypeDescription: string | null; SortSeq: number; }>, "many">>; }, "strip", z.ZodTypeAny, { Time: Date | null; TerminalID: number; JourneyTerminalID: number; TerminalDescription: string | null; TerminalBriefDescription: string | null; DepArrIndicator: 2 | 1 | null; IsNA: boolean; Annotations: { AnnotationID: number; AnnotationText: string | null; AnnotationIVRText: string | null; AdjustedCrossingTime: number | null; AnnotationImg: string | null; TypeDescription: string | null; SortSeq: number; }[] | null; }, { Time: Date | null; TerminalID: number; JourneyTerminalID: number; TerminalDescription: string | null; TerminalBriefDescription: string | null; DepArrIndicator: 2 | 1 | null; IsNA: boolean; Annotations: { AnnotationID: number; AnnotationText: string | null; AnnotationIVRText: string | null; AdjustedCrossingTime: number | null; AnnotationImg: string | null; TypeDescription: string | null; SortSeq: number; }[] | null; }>, "many">>; }, "strip", z.ZodTypeAny, { JourneyID: number; ReservationInd: boolean; InternationalInd: boolean; InterislandInd: boolean; VesselID: number; VesselName: string | null; VesselHandicapAccessible: boolean; VesselPositionNum: number; TerminalTimes: { Time: Date | null; TerminalID: number; JourneyTerminalID: number; TerminalDescription: string | null; TerminalBriefDescription: string | null; DepArrIndicator: 2 | 1 | null; IsNA: boolean; Annotations: { AnnotationID: number; AnnotationText: string | null; AnnotationIVRText: string | null; AdjustedCrossingTime: number | null; AnnotationImg: string | null; TypeDescription: string | null; SortSeq: number; }[] | null; }[] | null; }, { JourneyID: number; ReservationInd: boolean; InternationalInd: boolean; InterislandInd: boolean; VesselID: number; VesselName: string | null; VesselHandicapAccessible: boolean; VesselPositionNum: number; TerminalTimes: { Time: Date | null; TerminalID: number; JourneyTerminalID: number; TerminalDescription: string | null; TerminalBriefDescription: string | null; DepArrIndicator: 2 | 1 | null; IsNA: boolean; Annotations: { AnnotationID: number; AnnotationText: string | null; AnnotationIVRText: string | null; AdjustedCrossingTime: number | null; AnnotationImg: string | null; TypeDescription: string | null; SortSeq: number; }[] | null; }[] | null; }>, "many">; type JourneyList = z.infer<typeof journeysListSchema>; /** * Schema for Sailing - represents sailing information */ declare const sailingSchema: z.ZodObject<{ ScheduleID: z.ZodNumber; SchedRouteID: z.ZodNumber; RouteID: z.ZodNumber; SailingID: z.ZodNumber; SailingDescription: z.ZodNullable<z.ZodString>; SailingNotes: z.ZodNullable<z.ZodString>; DisplayColNum: z.ZodNumber; SailingDir: z.ZodUnion<[z.ZodLiteral<1>, z.ZodLiteral<2>]>; DayOpDescription: z.ZodNullable<z.ZodString>; DayOpUseForHoliday: z.ZodBoolean; ActiveDateRanges: z.ZodNullable<z.ZodArray<z.ZodObject<{ DateFrom: z.ZodDate; DateThru: z.ZodDate; EventID: z.ZodNullable<z.ZodNumber>; EventDescription: z.ZodNullable<z.ZodString>; }, "strip", z.ZodTypeAny, { DateFrom: Date; DateThru: Date; EventID: number | null; EventDescription: string | null; }, { DateFrom: Date; DateThru: Date; EventID: number | null; EventDescription: string | null; }>, "many">>; Journs: z.ZodNullable<z.ZodArray<z.ZodObject<{ JourneyID: z.ZodNumber; ReservationInd: z.ZodBoolean; InternationalInd: z.ZodBoolean; InterislandInd: z.ZodBoolean; VesselID: z.ZodNumber; VesselName: z.ZodNullable<z.ZodString>; VesselHandicapAccessible: z.ZodBoolean; VesselPositionNum: z.ZodNumber; TerminalTimes: z.ZodNullable<z.ZodArray<z.ZodObject<{ JourneyTerminalID: z.ZodNumber; TerminalID: z.ZodNumber; TerminalDescription: z.ZodNullable<z.ZodString>; TerminalBriefDescription: z.ZodNullable<z.ZodString>; Time: z.ZodNullable<z.ZodDate>; DepArrIndicator: z.ZodNullable<z.ZodUnion<[z.ZodLiteral<1>, z.ZodLiteral<2>]>>; IsNA: z.ZodBoolean; Annotations: z.ZodNullable<z.ZodArray<z.ZodObject<{ AnnotationID: z.ZodNumber; AnnotationText: z.ZodNullable<z.ZodString>; AnnotationIVRText: z.ZodNullable<z.ZodString>; AdjustedCrossingTime: z.ZodNullable<z.ZodNumber>; AnnotationImg: z.ZodNullable<z.ZodString>; TypeDescription: z.ZodNullable<z.ZodString>; SortSeq: z.ZodNumber; }, "strip", z.ZodTypeAny, { AnnotationID: number; AnnotationText: string | null; AnnotationIVRText: string | null; AdjustedCrossingTime: number | null; AnnotationImg: string | null; TypeDescription: string | null; SortSeq: number; }, { AnnotationID: number; AnnotationText: string | null; AnnotationIVRText: string | null; AdjustedCrossingTime: number | null; AnnotationImg: string | null; TypeDescription: string | null; SortSeq: number; }>, "many">>; }, "strip", z.ZodTypeAny, { Time: Date | null; TerminalID: number; JourneyTerminalID: number; TerminalDescription: string | null; TerminalBriefDescription: string | null; DepArrIndicator: 2 | 1 | null; IsNA: boolean; Annotations: { AnnotationID: number; AnnotationText: string | null; AnnotationIVRText: string | null; AdjustedCrossingTime: number | null; AnnotationImg: string | null; TypeDescription: string | null; SortSeq: number; }[] | null; }, { Time: Date | null; TerminalID: number; JourneyTerminalID: number; TerminalDescription: string | null; TerminalBriefDescription: string | null; DepArrIndicator: 2 | 1 | null; IsNA: boolean; Annotations: { AnnotationID: number; AnnotationText: string | null; AnnotationIVRText: string | null; AdjustedCrossingTime: number | null; AnnotationImg: string | null; TypeDescription: string | null; SortSeq: number; }[] | null; }>, "many">>; }, "strip", z.ZodTypeAny, { JourneyID: number; ReservationInd: boolean; InternationalInd: boolean; InterislandInd: boolean; VesselID: number; VesselName: string | null; VesselHandicapAccessible: boolean; VesselPositionNum: number; TerminalTimes: { Time: Date | null; TerminalID: number; JourneyTerminalID: number; TerminalDescription: string | null; TerminalBriefDescription: string | null; DepArrIndicator: 2 | 1 | null; IsNA: boolean; Annotations: { AnnotationID: number; AnnotationText: string | null; AnnotationIVRText: string | null; AdjustedCrossingTime: number | null; AnnotationImg: string | null; TypeDescription: string | null; SortSeq: number; }[] | null; }[] | null; }, { JourneyID: number; ReservationInd: boolean; InternationalInd: boolean; InterislandInd: boolean; VesselID: number; VesselName: string | null; VesselHandicapAccessible: boolean; VesselPositionNum: number; TerminalTimes: { Time: Date | null; TerminalID: number; JourneyTerminalID: number; TerminalDescription: string | null; TerminalBriefDescription: string | null; DepArrIndicator: 2 | 1 | null; IsNA: boolean; Annotations: { AnnotationID: number; AnnotationText: string | null; AnnotationIVRText: string | null; AdjustedCrossingTime: number | null; AnnotationImg: string | null; TypeDescription: string | null; SortSeq: number; }[] | null; }[] | null; }>, "many">>; }, "strip", z.ZodTypeAny, { ScheduleID: number; RouteID: number; SchedRouteID: number; SailingID: number; SailingDescription: string | null; SailingNotes: string | null; DisplayColNum: number; SailingDir: 2 | 1; DayOpDescription: string | null; DayOpUseForHoliday: boolean; ActiveDateRanges: { DateFrom: Date; DateThru: Date; EventID: number | null; EventDescription: string | null; }[] | null; Journs: { JourneyID: number; ReservationInd: boolean; InternationalInd: boolean; InterislandInd: boolean; VesselID: number; VesselName: string | null; VesselHandicapAccessible: boolean; VesselPositionNum: number; TerminalTimes: { Time: Date | null; TerminalID: number; JourneyTerminalID: number; TerminalDescription: string | null; TerminalBriefDescription: string | null; DepArrIndicator: 2 | 1 | null; IsNA: boolean; Annotations: { AnnotationID: number; AnnotationText: string | null; AnnotationIVRText: string | null; AdjustedCrossingTime: number | null; AnnotationImg: string | null; TypeDescription: string | null; SortSeq: number; }[] | null; }[] | null; }[] | null; }, { ScheduleID: number; RouteID: number; SchedRouteID: number; SailingID: number; SailingDescription: string | null; SailingNotes: string | null; DisplayColNum: number; SailingDir: 2 | 1; DayOpDescription: string | null; DayOpUseForHoliday: boolean; ActiveDateRanges: { DateFrom: Date; DateThru: Date; EventID: number | null; EventDescription: string | null; }[] | null; Journs: { JourneyID: number; ReservationInd: boolean; InternationalInd: boolean; InterislandInd: boolean; VesselID: number; VesselName: string | null; VesselHandicapAccessible: boolean; VesselPositionNum: number; TerminalTimes: { Time: Date | null; TerminalID: number; JourneyTerminalID: number; TerminalDescription: string | null; TerminalBriefDescription: string | null; DepArrIndicator: 2 | 1 | null; IsNA: boolean; Annotations: { AnnotationID: number; AnnotationText: string | null; AnnotationIVRText: string | null; AdjustedCrossingTime: number