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 • 2.13 kB
TypeScript
/**
* @fileoverview Output schemas for WSF Fares API FareLineItems endpoints
*
* These schemas define the response structures for WSF Fares API FareLineItems endpoints.
*/
import { z } from "../../../../shared/zod";
export declare const lineItemSchema: z.ZodObject<{
FareLineItemID: z.ZodNumber;
FareLineItem: z.ZodNullable<z.ZodString>;
Category: z.ZodNullable<z.ZodString>;
DirectionIndependent: z.ZodBoolean;
Amount: z.ZodNumber;
}, z.core.$strip>;
export type LineItem = z.infer<typeof lineItemSchema>;
export declare const lineItemXrefSchema: z.ZodObject<{
TerminalComboIndex: z.ZodNumber;
LineItemIndex: z.ZodNumber;
RoundTripLineItemIndex: z.ZodNumber;
}, z.core.$strip>;
export type LineItemXref = z.infer<typeof lineItemXrefSchema>;
export declare const lineItemVerboseSchema: z.ZodObject<{
TerminalComboVerbose: z.ZodOptional<z.ZodArray<z.ZodObject<{
DepartingTerminalID: z.ZodNumber;
DepartingDescription: z.ZodNullable<z.ZodString>;
ArrivingTerminalID: z.ZodNumber;
ArrivingDescription: z.ZodNullable<z.ZodString>;
CollectionDescription: z.ZodNullable<z.ZodString>;
}, z.core.$strip>>>;
LineItemLookup: z.ZodOptional<z.ZodArray<z.ZodObject<{
TerminalComboIndex: z.ZodNumber;
LineItemIndex: z.ZodNumber;
RoundTripLineItemIndex: z.ZodNumber;
}, z.core.$strip>>>;
LineItems: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodObject<{
FareLineItemID: z.ZodNumber;
FareLineItem: z.ZodNullable<z.ZodString>;
Category: z.ZodNullable<z.ZodString>;
DirectionIndependent: z.ZodBoolean;
Amount: z.ZodNumber;
}, z.core.$strip>>>>;
RoundTripLineItems: z.ZodOptional<z.ZodArray<z.ZodArray<z.ZodObject<{
FareLineItemID: z.ZodNumber;
FareLineItem: z.ZodNullable<z.ZodString>;
Category: z.ZodNullable<z.ZodString>;
DirectionIndependent: z.ZodBoolean;
Amount: z.ZodNumber;
}, z.core.$strip>>>>;
}, z.core.$strip>;
export type LineItemVerbose = z.infer<typeof lineItemVerboseSchema>;
//# sourceMappingURL=fareLineItems.output.d.ts.map