ws-dottie
Version:
Your friendly TypeScript companion for Washington State transportation APIs - WSDOT and WSF data with smart caching and React Query integration
34 lines • 1.81 kB
TypeScript
import type { UseQueryResult } from "@tanstack/react-query";
import type { FetchFunctionParams, QueryHookOptions } from "../../types";
import { type TerminalComboFaresVerboseInput } from "./shared/terminalCombo.input";
import { type TerminalComboFaresVerbose } from "./shared/terminalCombo.output";
/**
* Metadata for the fetchTerminalComboFaresVerbose endpoint
*/
export declare const terminalComboFaresVerboseMeta: {
functionName: string;
endpoint: string;
inputSchema: import("zod").ZodObject<{
TripDate: import("zod").ZodString;
}, import("zod/v4/core").$strip>;
outputSchema: import("zod").ZodArray<import("zod").ZodObject<{
DepartingTerminalID: import("zod").ZodNumber;
DepartingDescription: import("zod").ZodNullable<import("zod").ZodString>;
ArrivingTerminalID: import("zod").ZodNumber;
ArrivingDescription: import("zod").ZodNullable<import("zod").ZodString>;
CollectionDescription: import("zod").ZodNullable<import("zod").ZodString>;
}, import("zod/v4/core").$strip>>;
sampleParams: {
TripDate: string;
};
endpointDescription: string;
};
/**
* Fetch function for retrieving fare collection descriptions for all terminal combinations on a trip date
*/
export declare const fetchTerminalComboFaresVerbose: (params?: FetchFunctionParams<TerminalComboFaresVerboseInput>) => Promise<TerminalComboFaresVerbose[]>;
/**
* React Query hook for retrieving fare collection descriptions for all terminal combinations on a trip date
*/
export declare const useTerminalComboFaresVerbose: (params?: FetchFunctionParams<TerminalComboFaresVerboseInput>, options?: QueryHookOptions<TerminalComboFaresVerbose[]>) => UseQueryResult<TerminalComboFaresVerbose[], Error>;
//# sourceMappingURL=terminalComboFaresVerbose.d.ts.map