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,422 lines (1,403 loc) 108 kB
export { C as CacheFlushDateInput, a as CacheFlushDateOutput, c as cacheFlushDateInputSchema, b as cacheFlushDateOutputSchema } from '../../cacheFlushDate-BK9e1T2n.js'; import { z } from 'zod'; /** * @fileoverview WSF Terminals API Input Schemas * * This module provides Zod schemas for validating input parameters for the WSF * Terminals API endpoints. */ /** * Schema for TerminalBasics input parameters * * This operation retrieves the most basic / brief information pertaining to terminals. A TerminalID, or unique terminal identifier, may be optionally passed to retrieve a specific terminal. */ declare const terminalBasicsInputSchema: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>; type TerminalBasicsInput = z.infer<typeof terminalBasicsInputSchema>; /** * Schema for TerminalBasicsById input parameters * * This operation retrieves the most basic / brief information pertaining to terminals. A TerminalID, or unique terminal identifier, may be optionally passed to retrieve a specific terminal. */ declare const terminalBasicsByIdInputSchema: z.ZodObject<{ TerminalID: z.ZodNumber; }, "strip", z.ZodTypeAny, { TerminalID: number; }, { TerminalID: number; }>; type TerminalBasicsByIdInput = z.infer<typeof terminalBasicsByIdInputSchema>; /** * @fileoverview WSF Terminals API Output Schemas * * This module provides Zod schemas for validating output data from the WSF * Terminals API endpoints. */ /** * TerminalBasicDetail schema * * This operation retrieves the most basic / brief information pertaining to terminals. A TerminalID, or unique terminal identifier, may be optionally passed to retrieve a specific terminal. */ declare const terminalBasicSchema: z.ZodObject<{ TerminalID: z.ZodNumber; TerminalSubjectID: z.ZodNumber; RegionID: z.ZodNumber; TerminalName: z.ZodNullable<z.ZodString>; TerminalAbbrev: z.ZodNullable<z.ZodString>; SortSeq: z.ZodNumber; } & { OverheadPassengerLoading: z.ZodBoolean; Elevator: z.ZodBoolean; WaitingRoom: z.ZodBoolean; FoodService: z.ZodBoolean; Restroom: z.ZodBoolean; }, "strip", z.ZodTypeAny, { RegionID: number; TerminalID: number; SortSeq: number; TerminalSubjectID: number; TerminalName: string | null; TerminalAbbrev: string | null; OverheadPassengerLoading: boolean; Elevator: boolean; WaitingRoom: boolean; FoodService: boolean; Restroom: boolean; }, { RegionID: number; TerminalID: number; SortSeq: number; TerminalSubjectID: number; TerminalName: string | null; TerminalAbbrev: string | null; OverheadPassengerLoading: boolean; Elevator: boolean; WaitingRoom: boolean; FoodService: boolean; Restroom: boolean; }>; type TerminalBasic = z.infer<typeof terminalBasicSchema>; /** * GetAllTerminalBasicDetails schema * * Returns all terminal basic details. */ declare const getAllTerminalBasicSchema: 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; } & { OverheadPassengerLoading: z.ZodBoolean; Elevator: z.ZodBoolean; WaitingRoom: z.ZodBoolean; FoodService: z.ZodBoolean; Restroom: z.ZodBoolean; }, "strip", z.ZodTypeAny, { RegionID: number; TerminalID: number; SortSeq: number; TerminalSubjectID: number; TerminalName: string | null; TerminalAbbrev: string | null; OverheadPassengerLoading: boolean; Elevator: boolean; WaitingRoom: boolean; FoodService: boolean; Restroom: boolean; }, { RegionID: number; TerminalID: number; SortSeq: number; TerminalSubjectID: number; TerminalName: string | null; TerminalAbbrev: string | null; OverheadPassengerLoading: boolean; Elevator: boolean; WaitingRoom: boolean; FoodService: boolean; Restroom: boolean; }>, "many">; type GetAllTerminalBasic = z.infer<typeof getAllTerminalBasicSchema>; /** * GetSpecificTerminalBasicDetail schema * * Returns basic details for a specific terminal. */ declare const getSpecificTerminalBasicSchema: z.ZodObject<{ TerminalID: z.ZodNumber; TerminalSubjectID: z.ZodNumber; RegionID: z.ZodNumber; TerminalName: z.ZodNullable<z.ZodString>; TerminalAbbrev: z.ZodNullable<z.ZodString>; SortSeq: z.ZodNumber; } & { OverheadPassengerLoading: z.ZodBoolean; Elevator: z.ZodBoolean; WaitingRoom: z.ZodBoolean; FoodService: z.ZodBoolean; Restroom: z.ZodBoolean; }, "strip", z.ZodTypeAny, { RegionID: number; TerminalID: number; SortSeq: number; TerminalSubjectID: number; TerminalName: string | null; TerminalAbbrev: string | null; OverheadPassengerLoading: boolean; Elevator: boolean; WaitingRoom: boolean; FoodService: boolean; Restroom: boolean; }, { RegionID: number; TerminalID: number; SortSeq: number; TerminalSubjectID: number; TerminalName: string | null; TerminalAbbrev: string | null; OverheadPassengerLoading: boolean; Elevator: boolean; WaitingRoom: boolean; FoodService: boolean; Restroom: boolean; }>; type GetSpecificTerminalBasic = z.infer<typeof getSpecificTerminalBasicSchema>; /** * @fileoverview WSF Terminals API Input Schemas * * This module provides Zod schemas for validating input parameters for the WSF * Terminals API endpoints. */ /** * Schema for TerminalBulletins input parameters * * This operation retrieves alerts and bulletins associated with terminals. Each terminal may have zero or more bulletins assigned to it. A TerminalID, or unique terminal identifier, may be optionally passed to retrieve a specific terminal. */ declare const terminalBulletinsInputSchema: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>; type TerminalBulletinsInput = z.infer<typeof terminalBulletinsInputSchema>; /** * Schema for TerminalBulletinsById input parameters * * This operation retrieves alerts and bulletins associated with terminals. Each terminal may have zero or more bulletins assigned to it. A TerminalID, or unique terminal identifier, may be optionally passed to retrieve a specific terminal. */ declare const terminalBulletinsByIdInputSchema: z.ZodObject<{ TerminalID: z.ZodNumber; }, "strip", z.ZodTypeAny, { TerminalID: number; }, { TerminalID: number; }>; type TerminalBulletinsByIdInput = z.infer<typeof terminalBulletinsByIdInputSchema>; /** * @fileoverview WSF Terminals API Output Schemas * * This module provides Zod schemas for validating output data from the WSF * Terminals API endpoints. */ /** * Bulletin schema * * This operation retrieves alerts and bulletins associated with terminals. Each terminal may have zero or more bulletins assigned to it. A TerminalID, or unique terminal identifier, may be optionally passed to retrieve a specific terminal. */ declare const bulletinSchema: z.ZodObject<{ BulletinTitle: z.ZodNullable<z.ZodString>; BulletinText: z.ZodNullable<z.ZodString>; BulletinSortSeq: z.ZodNumber; BulletinLastUpdated: z.ZodNullable<z.ZodDate>; BulletinLastUpdatedSortable: z.ZodNullable<z.ZodString>; }, "strip", z.ZodTypeAny, { BulletinText: string | null; BulletinTitle: string | null; BulletinSortSeq: number; BulletinLastUpdated: Date | null; BulletinLastUpdatedSortable: string | null; }, { BulletinText: string | null; BulletinTitle: string | null; BulletinSortSeq: number; BulletinLastUpdated: Date | null; BulletinLastUpdatedSortable: string | null; }>; type Bulletin = z.infer<typeof bulletinSchema>; /** * TerminalBulletin schema * * Contains terminal information with associated bulletins. */ declare const terminalBulletinSchema: z.ZodObject<{ TerminalID: z.ZodNumber; TerminalSubjectID: z.ZodNumber; RegionID: z.ZodNumber; TerminalName: z.ZodNullable<z.ZodString>; TerminalAbbrev: z.ZodNullable<z.ZodString>; SortSeq: z.ZodNumber; } & { Bulletins: z.ZodArray<z.ZodObject<{ BulletinTitle: z.ZodNullable<z.ZodString>; BulletinText: z.ZodNullable<z.ZodString>; BulletinSortSeq: z.ZodNumber; BulletinLastUpdated: z.ZodNullable<z.ZodDate>; BulletinLastUpdatedSortable: z.ZodNullable<z.ZodString>; }, "strip", z.ZodTypeAny, { BulletinText: string | null; BulletinTitle: string | null; BulletinSortSeq: number; BulletinLastUpdated: Date | null; BulletinLastUpdatedSortable: string | null; }, { BulletinText: string | null; BulletinTitle: string | null; BulletinSortSeq: number; BulletinLastUpdated: Date | null; BulletinLastUpdatedSortable: string | null; }>, "many">; }, "strip", z.ZodTypeAny, { RegionID: number; TerminalID: number; SortSeq: number; TerminalSubjectID: number; TerminalName: string | null; TerminalAbbrev: string | null; Bulletins: { BulletinText: string | null; BulletinTitle: string | null; BulletinSortSeq: number; BulletinLastUpdated: Date | null; BulletinLastUpdatedSortable: string | null; }[]; }, { RegionID: number; TerminalID: number; SortSeq: number; TerminalSubjectID: number; TerminalName: string | null; TerminalAbbrev: string | null; Bulletins: { BulletinText: string | null; BulletinTitle: string | null; BulletinSortSeq: number; BulletinLastUpdated: Date | null; BulletinLastUpdatedSortable: string | null; }[]; }>; type TerminalBulletin = z.infer<typeof terminalBulletinSchema>; /** * GetAllTerminalBulletins schema * * Returns all terminal bulletins. */ declare const getAllTerminalBulletinsSchema: 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; } & { Bulletins: z.ZodArray<z.ZodObject<{ BulletinTitle: z.ZodNullable<z.ZodString>; BulletinText: z.ZodNullable<z.ZodString>; BulletinSortSeq: z.ZodNumber; BulletinLastUpdated: z.ZodNullable<z.ZodDate>; BulletinLastUpdatedSortable: z.ZodNullable<z.ZodString>; }, "strip", z.ZodTypeAny, { BulletinText: string | null; BulletinTitle: string | null; BulletinSortSeq: number; BulletinLastUpdated: Date | null; BulletinLastUpdatedSortable: string | null; }, { BulletinText: string | null; BulletinTitle: string | null; BulletinSortSeq: number; BulletinLastUpdated: Date | null; BulletinLastUpdatedSortable: string | null; }>, "many">; }, "strip", z.ZodTypeAny, { RegionID: number; TerminalID: number; SortSeq: number; TerminalSubjectID: number; TerminalName: string | null; TerminalAbbrev: string | null; Bulletins: { BulletinText: string | null; BulletinTitle: string | null; BulletinSortSeq: number; BulletinLastUpdated: Date | null; BulletinLastUpdatedSortable: string | null; }[]; }, { RegionID: number; TerminalID: number; SortSeq: number; TerminalSubjectID: number; TerminalName: string | null; TerminalAbbrev: string | null; Bulletins: { BulletinText: string | null; BulletinTitle: string | null; BulletinSortSeq: number; BulletinLastUpdated: Date | null; BulletinLastUpdatedSortable: string | null; }[]; }>, "many">; type GetAllTerminalBulletins = z.infer<typeof getAllTerminalBulletinsSchema>; /** * GetSpecificTerminalBulletin schema * * Returns bulletins for a specific terminal. */ declare const getSpecificTerminalBulletinSchema: z.ZodObject<{ TerminalID: z.ZodNumber; TerminalSubjectID: z.ZodNumber; RegionID: z.ZodNumber; TerminalName: z.ZodNullable<z.ZodString>; TerminalAbbrev: z.ZodNullable<z.ZodString>; SortSeq: z.ZodNumber; } & { Bulletins: z.ZodArray<z.ZodObject<{ BulletinTitle: z.ZodNullable<z.ZodString>; BulletinText: z.ZodNullable<z.ZodString>; BulletinSortSeq: z.ZodNumber; BulletinLastUpdated: z.ZodNullable<z.ZodDate>; BulletinLastUpdatedSortable: z.ZodNullable<z.ZodString>; }, "strip", z.ZodTypeAny, { BulletinText: string | null; BulletinTitle: string | null; BulletinSortSeq: number; BulletinLastUpdated: Date | null; BulletinLastUpdatedSortable: string | null; }, { BulletinText: string | null; BulletinTitle: string | null; BulletinSortSeq: number; BulletinLastUpdated: Date | null; BulletinLastUpdatedSortable: string | null; }>, "many">; }, "strip", z.ZodTypeAny, { RegionID: number; TerminalID: number; SortSeq: number; TerminalSubjectID: number; TerminalName: string | null; TerminalAbbrev: string | null; Bulletins: { BulletinText: string | null; BulletinTitle: string | null; BulletinSortSeq: number; BulletinLastUpdated: Date | null; BulletinLastUpdatedSortable: string | null; }[]; }, { RegionID: number; TerminalID: number; SortSeq: number; TerminalSubjectID: number; TerminalName: string | null; TerminalAbbrev: string | null; Bulletins: { BulletinText: string | null; BulletinTitle: string | null; BulletinSortSeq: number; BulletinLastUpdated: Date | null; BulletinLastUpdatedSortable: string | null; }[]; }>; type GetSpecificTerminalBulletin = z.infer<typeof getSpecificTerminalBulletinSchema>; /** * @fileoverview WSF Terminals API Input Schemas * * This module provides Zod schemas for validating input parameters for the WSF * Terminals API endpoints. */ /** * Schema for TerminalLocations input parameters * * This operation retrieves detailed location information pertaining to terminals. A TerminalID, or unique terminal identifier, may be optionally passed to retrieve a specific terminal. */ declare const terminalLocationsInputSchema: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>; type TerminalLocationsInput = z.infer<typeof terminalLocationsInputSchema>; /** * Schema for TerminalLocationsById input parameters * * This operation retrieves detailed location information pertaining to terminals. A TerminalID, or unique terminal identifier, may be optionally passed to retrieve a specific terminal. */ declare const terminalLocationsByIdInputSchema: z.ZodObject<{ TerminalID: z.ZodNumber; }, "strip", z.ZodTypeAny, { TerminalID: number; }, { TerminalID: number; }>; type TerminalLocationsByIdInput = z.infer<typeof terminalLocationsByIdInputSchema>; /** * @fileoverview WSF Terminals API Output Schemas * * This module provides Zod schemas for validating output data from the WSF * Terminals API endpoints. */ /** * DispGISZoomLoc schema * * Contains GIS zoom level location information. */ declare const dispGISZoomLocSchema: z.ZodObject<{ ZoomLevel: z.ZodNumber; Latitude: z.ZodNullable<z.ZodNumber>; Longitude: z.ZodNullable<z.ZodNumber>; }, "strip", z.ZodTypeAny, { Latitude: number | null; Longitude: number | null; ZoomLevel: number; }, { Latitude: number | null; Longitude: number | null; ZoomLevel: number; }>; 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. */ 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>; }, "strip", z.ZodTypeAny, { Latitude: number | null; Longitude: number | null; ZoomLevel: number; }, { Latitude: number | null; Longitude: number | null; ZoomLevel: number; }>, "many">>; }, "strip", z.ZodTypeAny, { Latitude: number | null; Longitude: number | null; State: string | null; RegionID: number; TerminalID: number; SortSeq: number; TerminalSubjectID: number; TerminalName: string | null; TerminalAbbrev: string | null; AddressLineOne: string | null; AddressLineTwo: string | null; City: string | null; ZipCode: string | null; Country: string | null; MapLink: string | null; Directions: string | null; DispGISZoomLoc: { Latitude: number | null; Longitude: number | null; ZoomLevel: number; }[] | null; }, { Latitude: number | null; Longitude: number | null; State: string | null; RegionID: number; TerminalID: number; SortSeq: number; TerminalSubjectID: number; TerminalName: string | null; TerminalAbbrev: string | null; AddressLineOne: string | null; AddressLineTwo: string | null; City: string | null; ZipCode: string | null; Country: string | null; MapLink: string | null; Directions: string | null; DispGISZoomLoc: { Latitude: number | null; Longitude: number | null; ZoomLevel: number; }[] | null; }>; type TerminalLocation = z.infer<typeof terminalLocationSchema>; /** * GetAllTerminalLocations schema * * Returns all terminal locations. */ 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>; }, "strip", z.ZodTypeAny, { Latitude: number | null; Longitude: number | null; ZoomLevel: number; }, { Latitude: number | null; Longitude: number | null; ZoomLevel: number; }>, "many">>; }, "strip", z.ZodTypeAny, { Latitude: number | null; Longitude: number | null; State: string | null; RegionID: number; TerminalID: number; SortSeq: number; TerminalSubjectID: number; TerminalName: string | null; TerminalAbbrev: string | null; AddressLineOne: string | null; AddressLineTwo: string | null; City: string | null; ZipCode: string | null; Country: string | null; MapLink: string | null; Directions: string | null; DispGISZoomLoc: { Latitude: number | null; Longitude: number | null; ZoomLevel: number; }[] | null; }, { Latitude: number | null; Longitude: number | null; State: string | null; RegionID: number; TerminalID: number; SortSeq: number; TerminalSubjectID: number; TerminalName: string | null; TerminalAbbrev: string | null; AddressLineOne: string | null; AddressLineTwo: string | null; City: string | null; ZipCode: string | null; Country: string | null; MapLink: string | null; Directions: string | null; DispGISZoomLoc: { Latitude: number | null; Longitude: number | null; ZoomLevel: number; }[] | null; }>, "many">; type GetAllTerminalLocations = z.infer<typeof getAllTerminalLocationsSchema>; /** * GetSpecificTerminalLocation schema * * Returns location information for a specific terminal. */ 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>; }, "strip", z.ZodTypeAny, { Latitude: number | null; Longitude: number | null; ZoomLevel: number; }, { Latitude: number | null; Longitude: number | null; ZoomLevel: number; }>, "many">>; }, "strip", z.ZodTypeAny, { Latitude: number | null; Longitude: number | null; State: string | null; RegionID: number; TerminalID: number; SortSeq: number; TerminalSubjectID: number; TerminalName: string | null; TerminalAbbrev: string | null; AddressLineOne: string | null; AddressLineTwo: string | null; City: string | null; ZipCode: string | null; Country: string | null; MapLink: string | null; Directions: string | null; DispGISZoomLoc: { Latitude: number | null; Longitude: number | null; ZoomLevel: number; }[] | null; }, { Latitude: number | null; Longitude: number | null; State: string | null; RegionID: number; TerminalID: number; SortSeq: number; TerminalSubjectID: number; TerminalName: string | null; TerminalAbbrev: string | null; AddressLineOne: string | null; AddressLineTwo: string | null; City: string | null; ZipCode: string | null; Country: string | null; MapLink: string | null; Directions: string | null; DispGISZoomLoc: { Latitude: number | null; Longitude: number | null; ZoomLevel: number; }[] | null; }>; type GetSpecificTerminalLocation = z.infer<typeof getSpecificTerminalLocationSchema>; /** * @fileoverview WSF Terminals API Input Schemas * * This module provides Zod schemas for validating input parameters for the WSF * Terminals API endpoints. */ /** * Schema for TerminalSailingSpace input parameters * * This operation reflects terminal condition data (the number of drive-up and reservation spaces available for select departures). A TerminalID, or unique terminal identifier, may be optionally passed to retrieve a specific terminal. * * **⚠️ Important:** This data changes very frequently (potentially every 5 seconds). Please do not cache results in your application for an extended period of time. */ declare const terminalSailingSpaceInputSchema: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>; type TerminalSailingSpaceInput = z.infer<typeof terminalSailingSpaceInputSchema>; /** * Schema for TerminalSailingSpaceById input parameters * * This operation reflects terminal condition data (the number of drive-up and reservation spaces available for select departures). A TerminalID, or unique terminal identifier, may be optionally passed to retrieve a specific terminal. * * **⚠️ Important:** This data changes very frequently (potentially every 5 seconds). Please do not cache results in your application for an extended period of time. */ declare const terminalSailingSpaceByTerminalIdInputSchema: z.ZodObject<{ TerminalID: z.ZodNumber; }, "strip", z.ZodTypeAny, { TerminalID: number; }, { TerminalID: number; }>; type TerminalSailingSpaceByTerminalIdInput = z.infer<typeof terminalSailingSpaceByTerminalIdInputSchema>; /** * @fileoverview WSF Terminals API Output Schemas * * This module provides Zod schemas for validating output data from the WSF * Terminals API endpoints. */ /** * SpaceForArrivalTerminal schema * * Contains space information for arrival terminals. */ declare const spaceForArrivalTerminalSchema: z.ZodObject<{ TerminalID: z.ZodNumber; TerminalName: z.ZodNullable<z.ZodString>; VesselID: z.ZodNumber; VesselName: z.ZodNullable<z.ZodString>; DisplayReservableSpace: z.ZodBoolean; ReservableSpaceCount: z.ZodNullable<z.ZodNumber>; ReservableSpaceHexColor: z.ZodNullable<z.ZodString>; DisplayDriveUpSpace: z.ZodBoolean; DriveUpSpaceCount: z.ZodNullable<z.ZodNumber>; DriveUpSpaceHexColor: z.ZodNullable<z.ZodString>; MaxSpaceCount: z.ZodNumber; ArrivalTerminalIDs: z.ZodNullable<z.ZodArray<z.ZodNumber, "many">>; }, "strip", z.ZodTypeAny, { TerminalID: number; VesselID: number; VesselName: string | null; TerminalName: string | null; DisplayReservableSpace: boolean; ReservableSpaceCount: number | null; ReservableSpaceHexColor: string | null; DisplayDriveUpSpace: boolean; DriveUpSpaceCount: number | null; DriveUpSpaceHexColor: string | null; MaxSpaceCount: number; ArrivalTerminalIDs: number[] | null; }, { TerminalID: number; VesselID: number; VesselName: string | null; TerminalName: string | null; DisplayReservableSpace: boolean; ReservableSpaceCount: number | null; ReservableSpaceHexColor: string | null; DisplayDriveUpSpace: boolean; DriveUpSpaceCount: number | null; DriveUpSpaceHexColor: string | null; MaxSpaceCount: number; ArrivalTerminalIDs: number[] | null; }>; type SpaceForArrivalTerminal = z.infer<typeof spaceForArrivalTerminalSchema>; /** * DepartingSpace schema * * Contains departing space information. */ declare const departingSpaceSchema: z.ZodObject<{ Departure: z.ZodDate; IsCancelled: z.ZodBoolean; VesselID: z.ZodNumber; VesselName: z.ZodNullable<z.ZodString>; MaxSpaceCount: z.ZodNumber; SpaceForArrivalTerminals: z.ZodNullable<z.ZodArray<z.ZodObject<{ TerminalID: z.ZodNumber; TerminalName: z.ZodNullable<z.ZodString>; VesselID: z.ZodNumber; VesselName: z.ZodNullable<z.ZodString>; DisplayReservableSpace: z.ZodBoolean; ReservableSpaceCount: z.ZodNullable<z.ZodNumber>; ReservableSpaceHexColor: z.ZodNullable<z.ZodString>; DisplayDriveUpSpace: z.ZodBoolean; DriveUpSpaceCount: z.ZodNullable<z.ZodNumber>; DriveUpSpaceHexColor: z.ZodNullable<z.ZodString>; MaxSpaceCount: z.ZodNumber; ArrivalTerminalIDs: z.ZodNullable<z.ZodArray<z.ZodNumber, "many">>; }, "strip", z.ZodTypeAny, { TerminalID: number; VesselID: number; VesselName: string | null; TerminalName: string | null; DisplayReservableSpace: boolean; ReservableSpaceCount: number | null; ReservableSpaceHexColor: string | null; DisplayDriveUpSpace: boolean; DriveUpSpaceCount: number | null; DriveUpSpaceHexColor: string | null; MaxSpaceCount: number; ArrivalTerminalIDs: number[] | null; }, { TerminalID: number; VesselID: number; VesselName: string | null; TerminalName: string | null; DisplayReservableSpace: boolean; ReservableSpaceCount: number | null; ReservableSpaceHexColor: string | null; DisplayDriveUpSpace: boolean; DriveUpSpaceCount: number | null; DriveUpSpaceHexColor: string | null; MaxSpaceCount: number; ArrivalTerminalIDs: number[] | null; }>, "many">>; }, "strip", z.ZodTypeAny, { VesselID: number; VesselName: string | null; MaxSpaceCount: number; Departure: Date; IsCancelled: boolean; SpaceForArrivalTerminals: { TerminalID: number; VesselID: number; VesselName: string | null; TerminalName: string | null; DisplayReservableSpace: boolean; ReservableSpaceCount: number | null; ReservableSpaceHexColor: string | null; DisplayDriveUpSpace: boolean; DriveUpSpaceCount: number | null; DriveUpSpaceHexColor: string | null; MaxSpaceCount: number; ArrivalTerminalIDs: number[] | null; }[] | null; }, { VesselID: number; VesselName: string | null; MaxSpaceCount: number; Departure: Date; IsCancelled: boolean; SpaceForArrivalTerminals: { TerminalID: number; VesselID: number; VesselName: string | null; TerminalName: string | null; DisplayReservableSpace: boolean; ReservableSpaceCount: number | null; ReservableSpaceHexColor: string | null; DisplayDriveUpSpace: boolean; DriveUpSpaceCount: number | null; DriveUpSpaceHexColor: string | null; MaxSpaceCount: number; ArrivalTerminalIDs: number[] | null; }[] | null; }>; type DepartingSpace = z.infer<typeof departingSpaceSchema>; /** * TerminalSailingSpace schema * * This operation reflects terminal condition data (the number of drive-up and reservation spaces available for select departures). A TerminalID, or unique terminal identifier, may be optionally passed to retrieve a specific terminal. */ declare const terminalSailingSpaceSchema: z.ZodObject<{ TerminalID: z.ZodNumber; TerminalSubjectID: z.ZodNumber; RegionID: z.ZodNumber; TerminalName: z.ZodNullable<z.ZodString>; TerminalAbbrev: z.ZodNullable<z.ZodString>; SortSeq: z.ZodNumber; } & { DepartingSpaces: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{ Departure: z.ZodDate; IsCancelled: z.ZodBoolean; VesselID: z.ZodNumber; VesselName: z.ZodNullable<z.ZodString>; MaxSpaceCount: z.ZodNumber; SpaceForArrivalTerminals: z.ZodNullable<z.ZodArray<z.ZodObject<{ TerminalID: z.ZodNumber; TerminalName: z.ZodNullable<z.ZodString>; VesselID: z.ZodNumber; VesselName: z.ZodNullable<z.ZodString>; DisplayReservableSpace: z.ZodBoolean; ReservableSpaceCount: z.ZodNullable<z.ZodNumber>; ReservableSpaceHexColor: z.ZodNullable<z.ZodString>; DisplayDriveUpSpace: z.ZodBoolean; DriveUpSpaceCount: z.ZodNullable<z.ZodNumber>; DriveUpSpaceHexColor: z.ZodNullable<z.ZodString>; MaxSpaceCount: z.ZodNumber; ArrivalTerminalIDs: z.ZodNullable<z.ZodArray<z.ZodNumber, "many">>; }, "strip", z.ZodTypeAny, { TerminalID: number; VesselID: number; VesselName: string | null; TerminalName: string | null; DisplayReservableSpace: boolean; ReservableSpaceCount: number | null; ReservableSpaceHexColor: string | null; DisplayDriveUpSpace: boolean; DriveUpSpaceCount: number | null; DriveUpSpaceHexColor: string | null; MaxSpaceCount: number; ArrivalTerminalIDs: number[] | null; }, { TerminalID: number; VesselID: number; VesselName: string | null; TerminalName: string | null; DisplayReservableSpace: boolean; ReservableSpaceCount: number | null; ReservableSpaceHexColor: string | null; DisplayDriveUpSpace: boolean; DriveUpSpaceCount: number | null; DriveUpSpaceHexColor: string | null; MaxSpaceCount: number; ArrivalTerminalIDs: number[] | null; }>, "many">>; }, "strip", z.ZodTypeAny, { VesselID: number; VesselName: string | null; MaxSpaceCount: number; Departure: Date; IsCancelled: boolean; SpaceForArrivalTerminals: { TerminalID: number; VesselID: number; VesselName: string | null; TerminalName: string | null; DisplayReservableSpace: boolean; ReservableSpaceCount: number | null; ReservableSpaceHexColor: string | null; DisplayDriveUpSpace: boolean; DriveUpSpaceCount: number | null; DriveUpSpaceHexColor: string | null; MaxSpaceCount: number; ArrivalTerminalIDs: number[] | null; }[] | null; }, { VesselID: number; VesselName: string | null; MaxSpaceCount: number; Departure: Date; IsCancelled: boolean; SpaceForArrivalTerminals: { TerminalID: number; VesselID: number; VesselName: string | null; TerminalName: string | null; DisplayReservableSpace: boolean; ReservableSpaceCount: number | null; ReservableSpaceHexColor: string | null; DisplayDriveUpSpace: boolean; DriveUpSpaceCount: number | null; DriveUpSpaceHexColor: string | null; MaxSpaceCount: number; ArrivalTerminalIDs: number[] | null; }[] | null; }>, "many">>>; IsNoFareCollected: z.ZodNullable<z.ZodBoolean>; NoFareCollectedMsg: z.ZodNullable<z.ZodString>; }, "strip", z.ZodTypeAny, { RegionID: number; TerminalID: number; SortSeq: number; TerminalSubjectID: number; TerminalName: string | null; TerminalAbbrev: string | null; IsNoFareCollected: boolean | null; NoFareCollectedMsg: string | null; DepartingSpaces?: { VesselID: number; VesselName: string | null; MaxSpaceCount: number; Departure: Date; IsCancelled: boolean; SpaceForArrivalTerminals: { TerminalID: number; VesselID: number; VesselName: string | null; TerminalName: string | null; DisplayReservableSpace: boolean; ReservableSpaceCount: number | null; ReservableSpaceHexColor: string | null; DisplayDriveUpSpace: boolean; DriveUpSpaceCount: number | null; DriveUpSpaceHexColor: string | null; MaxSpaceCount: number; ArrivalTerminalIDs: number[] | null; }[] | null; }[] | null | undefined; }, { RegionID: number; TerminalID: number; SortSeq: number; TerminalSubjectID: number; TerminalName: string | null; TerminalAbbrev: string | null; IsNoFareCollected: boolean | null; NoFareCollectedMsg: string | null; DepartingSpaces?: { VesselID: number; VesselName: string | null; MaxSpaceCount: number; Departure: Date; IsCancelled: boolean; SpaceForArrivalTerminals: { TerminalID: number; VesselID: number; VesselName: string | null; TerminalName: string | null; DisplayReservableSpace: boolean; ReservableSpaceCount: number | null; ReservableSpaceHexColor: string | null; DisplayDriveUpSpace: boolean; DriveUpSpaceCount: number | null; DriveUpSpaceHexColor: string | null; MaxSpaceCount: number; ArrivalTerminalIDs: number[] | null; }[] | null; }[] | null | undefined; }>; type TerminalSailingSpace = z.infer<typeof terminalSailingSpaceSchema>; /** * GetAllTerminalSailingSpace schema * * Returns all terminal sailing space information. */ declare const getAllTerminalSailingSpaceSchema: 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; } & { DepartingSpaces: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{ Departure: z.ZodDate; IsCancelled: z.ZodBoolean; VesselID: z.ZodNumber; VesselName: z.ZodNullable<z.ZodString>; MaxSpaceCount: z.ZodNumber; SpaceForArrivalTerminals: z.ZodNullable<z.ZodArray<z.ZodObject<{ TerminalID: z.ZodNumber; TerminalName: z.ZodNullable<z.ZodString>; VesselID: z.ZodNumber; VesselName: z.ZodNullable<z.ZodString>; DisplayReservableSpace: z.ZodBoolean; ReservableSpaceCount: z.ZodNullable<z.ZodNumber>; ReservableSpaceHexColor: z.ZodNullable<z.ZodString>; DisplayDriveUpSpace: z.ZodBoolean; DriveUpSpaceCount: z.ZodNullable<z.ZodNumber>; DriveUpSpaceHexColor: z.ZodNullable<z.ZodString>; MaxSpaceCount: z.ZodNumber; ArrivalTerminalIDs: z.ZodNullable<z.ZodArray<z.ZodNumber, "many">>; }, "strip", z.ZodTypeAny, { TerminalID: number; VesselID: number; VesselName: string | null; TerminalName: string | null; DisplayReservableSpace: boolean; ReservableSpaceCount: number | null; ReservableSpaceHexColor: string | null; DisplayDriveUpSpace: boolean; DriveUpSpaceCount: number | null; DriveUpSpaceHexColor: string | null; MaxSpaceCount: number; ArrivalTerminalIDs: number[] | null; }, { TerminalID: number; VesselID: number; VesselName: string | null; TerminalName: string | null; DisplayReservableSpace: boolean; ReservableSpaceCount: number | null; ReservableSpaceHexColor: string | null; DisplayDriveUpSpace: boolean; DriveUpSpaceCount: number | null; DriveUpSpaceHexColor: string | null; MaxSpaceCount: number; ArrivalTerminalIDs: number[] | null; }>, "many">>; }, "strip", z.ZodTypeAny, { VesselID: number; VesselName: string | null; MaxSpaceCount: number; Departure: Date; IsCancelled: boolean; SpaceForArrivalTerminals: { TerminalID: number; VesselID: number; VesselName: string | null; TerminalName: string | null; DisplayReservableSpace: boolean; ReservableSpaceCount: number | null; ReservableSpaceHexColor: string | null; DisplayDriveUpSpace: boolean; DriveUpSpaceCount: number | null; DriveUpSpaceHexColor: string | null; MaxSpaceCount: number; ArrivalTerminalIDs: number[] | null; }[] | null; }, { VesselID: number; VesselName: string | null; MaxSpaceCount: number; Departure: Date; IsCancelled: boolean; SpaceForArrivalTerminals: { TerminalID: number; VesselID: number; VesselName: string | null; TerminalName: string | null; DisplayReservableSpace: boolean; ReservableSpaceCount: number | null; ReservableSpaceHexColor: string | null; DisplayDriveUpSpace: boolean; DriveUpSpaceCount: number | null; DriveUpSpaceHexColor: string | null; MaxSpaceCount: number; ArrivalTerminalIDs: number[] | null; }[] | null; }>, "many">>>; IsNoFareCollected: z.ZodNullable<z.ZodBoolean>; NoFareCollectedMsg: z.ZodNullable<z.ZodString>; }, "strip", z.ZodTypeAny, { RegionID: number; TerminalID: number; SortSeq: number; TerminalSubjectID: number; TerminalName: string | null; TerminalAbbrev: string | null; IsNoFareCollected: boolean | null; NoFareCollectedMsg: string | null; DepartingSpaces?: { VesselID: number; VesselName: string | null; MaxSpaceCount: number; Departure: Date; IsCancelled: boolean; SpaceForArrivalTerminals: { TerminalID: number; VesselID: number; VesselName: string | null; TerminalName: string | null; DisplayReservableSpace: boolean; ReservableSpaceCount: number | null; ReservableSpaceHexColor: string | null; DisplayDriveUpSpace: boolean; DriveUpSpaceCount: number | null; DriveUpSpaceHexColor: string | null; MaxSpaceCount: number; ArrivalTerminalIDs: number[] | null; }[] | null; }[] | null | undefined; }, { RegionID: number; TerminalID: number; SortSeq: number; TerminalSubjectID: number; TerminalName: string | null; TerminalAbbrev: string | null; IsNoFareCollected: boolean | null; NoFareCollectedMsg: string | null; DepartingSpaces?: { VesselID: number; VesselName: string | null; MaxSpaceCount: number; Departure: Date; IsCancelled: boolean; SpaceForArrivalTerminals: { TerminalID: number; VesselID: number; VesselName: string | null; TerminalName: string | null; DisplayReservableSpace: boolean; ReservableSpaceCount: number | null; ReservableSpaceHexColor: string | null; DisplayDriveUpSpace: boolean; DriveUpSpaceCount: number | null; DriveUpSpaceHexColor: string | null; MaxSpaceCount: number; ArrivalTerminalIDs: number[] | null; }[] | null; }[] | null | undefined; }>, "many">; type GetAllTerminalSailingSpace = z.infer<typeof getAllTerminalSailingSpaceSchema>; /** * GetSpecificTerminalSailingSpace schema * * Returns sailing space information for a specific terminal. */ declare const getSpecificTerminalSailingSpaceSchema: z.ZodObject<{ TerminalID: z.ZodNumber; TerminalSubjectID: z.ZodNumber; RegionID: z.ZodNumber; TerminalName: z.ZodNullable<z.ZodString>; TerminalAbbrev: z.ZodNullable<z.ZodString>; SortSeq: z.ZodNumber; } & { DepartingSpaces: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{ Departure: z.ZodDate; IsCancelled: z.ZodBoolean; VesselID: z.ZodNumber; VesselName: z.ZodNullable<z.ZodString>; MaxSpaceCount: z.ZodNumber; SpaceForArrivalTerminals: z.ZodNullable<z.ZodArray<z.ZodObject<{ TerminalID: z.ZodNumber; TerminalName: z.ZodNullable<z.ZodString>; VesselID: z.ZodNumber; VesselName: z.ZodNullable<z.ZodString>; DisplayReservableSpace: z.ZodBoolean; ReservableSpaceCount: z.ZodNullable<z.ZodNumber>; ReservableSpaceHexColor: z.ZodNullable<z.ZodString>; DisplayDriveUpSpace: z.ZodBoolean; DriveUpSpaceCount: z.ZodNullable<z.ZodNumber>; DriveUpSpaceHexColor: z.ZodNullable<z.ZodString>; MaxSpaceCount: z.ZodNumber; ArrivalTerminalIDs: z.ZodNullable<z.ZodArray<z.ZodNumber, "many">>; }, "strip", z.ZodTypeAny, { TerminalID: number; VesselID: number; VesselName: string | null; TerminalName: string | null; DisplayReservableSpace: boolean; ReservableSpaceCount: number | null; ReservableSpaceHexColor: string | null; DisplayDriveUpSpace: boolean; DriveUpSpaceCount: number | null; DriveUpSpaceHexColor: string | null; MaxSpaceCount: number; ArrivalTerminalIDs: number[] | null; }, { TerminalID: number; VesselID: number; VesselName: string | null; TerminalName: string | null; DisplayReservableSpace: boolean; ReservableSpaceCount: number | null; ReservableSpaceHexColor: string | null; DisplayDriveUpSpace: boolean; DriveUpSpaceCount: number | null; DriveUpSpaceHexColor: string | null; MaxSpaceCount: number; ArrivalTerminalIDs: number[] | null; }>, "many">>; }, "strip", z.ZodTypeAny, { VesselID: number; VesselName: string | null; MaxSpaceCount: number; Departure: Date; IsCancelled: boolean; SpaceForArrivalTerminals: { TerminalID: number; VesselID: number; VesselName: string | null; TerminalName: string | null; DisplayReservableSpace: boolean; ReservableSpaceCount: number | null; ReservableSpaceHexColor: string | null; DisplayDriveUpSpace: boolean; DriveUpSpaceCount: number | null; DriveUpSpaceHexColor: string | null; MaxSpaceCount: number; ArrivalTerminalIDs: number[] | null; }[] | null; }, { VesselID: number; VesselName: string | null; MaxSpaceCount: number; Departure: Date; IsCancelled: boolean; SpaceForArrivalTerminals: { TerminalID: number; VesselID: number; VesselName: string | null; TerminalName: string | null; DisplayReservableSpace: boolean; ReservableSpaceCount: number | null; ReservableSpaceHexColor: string | null; DisplayDriveUpSpace: boolean; DriveUpSpaceCount: number | null; DriveUpSpaceHexColor: string | null; MaxSpaceCount: number; ArrivalTerminalIDs: number[] | null; }[] | null; }>, "many">>>; IsNoFareCollected: z.ZodNullable<z.ZodBoolean>; NoFareCollectedMsg: z.ZodNullable<z.ZodString>; }, "strip", z.ZodTypeAny, { RegionID: number; TerminalID: number; SortSeq: number; TerminalSubjectID: number; TerminalName: string | null; TerminalAbbrev: string | null; IsNoFareCollected: boolean | null; NoFareCollectedMsg: string | null; DepartingSpaces?: { VesselID: number; VesselName: string | null; MaxSpaceCount: number; Departure: Date; IsCancelled: boolean; SpaceForArrivalTerminals: { TerminalID: number; VesselID: number; VesselName: string | null; TerminalName: string | null; DisplayReservableSpace: boolean; ReservableSpaceCount: number | null; ReservableSpaceHexColor: string | null; DisplayDriveUpSpace: boolean; DriveUpSpaceCount: number | null; DriveUpSpaceHexColor: string | null; MaxSpaceCount: number; ArrivalTerminalIDs: number[] | null; }[] | null; }[] | null | undefined; }, { RegionID: number; TerminalID: number; SortSeq: number; TerminalSubjectID: number; TerminalName: string | null; TerminalAbbrev: string | null; IsNoFareCollected: boolean | null; NoFareCollectedMsg: string | null; DepartingSpaces?: { VesselID: number; VesselName: string | null; MaxSpaceCount: number; Departure: Date; IsCancelled: boolean; SpaceForArrivalTerminals: { TerminalID: number; VesselID: number; VesselName: string | null; TerminalName: string | null; DisplayReservableSpace: boolean; ReservableSpaceCount: number | null; ReservableSpaceHexColor: string | null; DisplayDriveUpSpace: boolean; DriveUpSpaceCount: number | null; DriveUpSpaceHexColor: string | null; MaxSpaceCount: number; ArrivalTerminalIDs: number[] | null; }[] | null; }[] | null | undefined; }>; type GetSpecificTerminalSailingSpace = z.infer<typeof getSpecificTerminalSailingSpaceSchema>; /** * @fileoverview WSF Terminals API Input Schemas * * This module provides Zod schemas for validating input parameters for the WSF * Terminals API endpoints. */ /** * Schema for TerminalTransports input parameters * * This operation provides helpful information for terminal commuters (including parking notes, vehicle-specific tips, etc). A TerminalID, or unique terminal identifier, may be optionally passed to retrieve a specific terminal. */ declare const terminalTransportsInputSchema: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>; type TerminalTransportsInput = z.infer<typeof terminalTransportsInputSchema>; /** * Schema for TerminalTransportsById input parameters * * This operation provides helpful information for terminal commuters (including parking notes, vehicle-specific tips, etc). A TerminalID, or unique terminal identifier, may be optionally passed to retrieve a specific terminal. */ declare const terminalTransportsByTerminalIdInputSchema: z.ZodObject<{ TerminalID: z.ZodNumber; }, "strip", z.ZodTypeAny, { TerminalID: number; }, { TerminalID: number; }>; type TerminalTransportsByTerminalIdInput = z.infer<typeof terminalTransportsByTerminalIdInputSchema>; /** * @fileoverview WSF Terminals API Output Schemas * * This module provides Zod schemas for vali