{"version":3,"sources":["../src/apis/wsf-fares/fareLineItems/fareLineItemsBasic.ts","../src/apis/wsf-fares/fareLineItems/fareLineItemsByTripDateAndTerminals.ts","../src/apis/wsf-fares/fareLineItems/fareLineItemsVerbose.ts","../src/apis/wsf-fares/fareTotals/fareTotalsByTripDateAndRoute.ts","../src/apis/wsf-fares/terminalCombo/terminalComboFares.ts","../src/apis/wsf-fares/terminalCombo/terminalComboFaresVerbose.ts","../src/apis/wsf-fares/terminals/terminalFares.ts","../src/apis/wsf-fares/terminals/terminalMatesFares.ts","../src/apis/wsf-fares/validDateRange/faresValidDateRange.ts"],"names":["fareLineItemsBasicMeta","fareLineItemsBasicInputSchema","lineItemSchema","datesHelper","fetchFareLineItemsBasic","createFetchFunction","wsfFaresApi","fareLineItemsGroup","useFareLineItemsBasic","createHook","fareLineItemsByTripDateAndTerminalsMeta","fareLineItemsByTripDateAndTerminalsInputSchema","fetchFareLineItemsByTripDateAndTerminals","useFareLineItemsByTripDateAndTerminals","fareLineItemsVerboseMeta","fareLineItemsVerboseInputSchema","lineItemVerboseSchema","fetchFareLineItemsVerbose","useFareLineItemsVerbose","fareTotalsByTripDateAndRouteMeta","fareTotalsByTripDateAndRouteInputSchema","fareTotalSchema","fetchFareTotalsByTripDateAndRoute","fareTotalsGroup","useFareTotalsByTripDateAndRoute","terminalComboFaresMeta","terminalComboInputSchema","terminalComboFaresSchema","fetchTerminalComboFares","terminalComboGroup","useTerminalComboFares","terminalComboFaresVerboseMeta","terminalComboFaresVerboseInputSchema","terminalComboFaresVerboseSchema","fetchTerminalComboFaresVerbose","useTerminalComboFaresVerbose","terminalFaresMeta","terminalsInputSchema","terminalListSchema","fetchTerminalFares","terminalsGroup","useTerminalFares","terminalMatesFaresMeta","terminalMatesInputSchema","fetchTerminalMatesFares","useTerminalMatesFares","faresValidDateRangeMeta","faresValidDateRangeInputSchema","validDateRangeSchema","fetchFaresValidDateRange","validDateRangeGroup","useFaresValidDateRange"],"mappings":"iPAsBO,IAAMA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,aAAc,CAAE,QAAA,CAAUnC,CAAAA,CAAY,QAAA,EAAW,CAAA,CACjD,mBAAA,CAAqB,iDACvB,CAAA,CAKaoC,GAEgBlC,EAAAA,CAC3BC,CAAAA,CACAkC,GAAAA,CACAJ,CACF,EAKaK,EAAAA,CAG8BhC,EAAAA,CACzCH,CAAAA,CACAkC,GAAAA,CACAJ,CACF,EC9BO,IAAMM,CAAAA,CAAyB,CACpC,aAAc,yBAAA,CACd,QAAA,CAAU,wCAAA,CACV,WAAA,CAAaC,IACb,YAAA,CAAcL,GAAAA,CACd,YAAA,CAAc,CAAE,SAAUnC,CAAAA,CAAY,QAAA,GAAY,UAAA,CAAY,CAAE,EAChE,mBAAA,CACE,uEACJ,CAAA,CAKayC,EAAAA,CAEgBvC,GAC3BC,CAAAA,CACAkC,GAAAA,CACAE,CACF,CAAA,CAKaG,GAG8BpC,EAAAA,CACzCH,CAAAA,CACAkC,GAAAA,CACAE,CACF,EChCO,IAAMI,CAAAA,CAA0B,CACrC,YAAA,CAAc,0BAAA,CACd,SAAU,iBAAA,CACV,WAAA,CAAaC,CAAAA,CACb,YAAA,CAAcC,IACd,YAAA,CAAc,EAAC,CACf,mBAAA,CAAqB,uDACvB,CAAA,CAKaC,EAAAA,CAEkB5C,EAAAA,CAC7BC,CAAAA,CACA4C,EACAJ,CACF,CAAA,CAKaK,GAGgC1C,EAAAA,CAC3CH,CAAAA,CACA4C,EACAJ,CACF","file":"chunk-PI6C7ZY6.mjs","sourcesContent":["import type { UseQueryResult } from \"@tanstack/react-query\";\nimport { wsfFaresApi } from \"../api\";\nimport type {\n  EndpointMeta,\n  FetchFunctionParams,\n  QueryHookOptions,\n} from \"@/apis/types\";\nimport {\n  createFetchFunction,\n  createHook,\n} from \"@/shared/factories\";\nimport { datesHelper } from \"@/shared/utils\";\nimport { fareLineItemsGroup } from \"./shared/fareLineItems.endpoints\";\nimport {\n  type FareLineItemsBasicInput,\n  fareLineItemsBasicInputSchema,\n} from \"./shared/fareLineItems.input\";\nimport { type LineItem, lineItemSchema } from \"./shared/fareLineItems.output\";\n\n/**\n * Metadata for the fetchFareLineItemsBasic endpoint\n */\nexport const fareLineItemsBasicMeta = {\n  functionName: \"fetchFareLineItemsBasic\",\n  endpoint:\n    \"/fareLineItemsBasic/{TripDate}/{DepartingTerminalID}/{ArrivingTerminalID}/{RoundTrip}\",\n  inputSchema: fareLineItemsBasicInputSchema,\n  outputSchema: lineItemSchema.array(),\n  sampleParams: {\n    TripDate: datesHelper.tomorrow(),\n    DepartingTerminalID: 1,\n    ArrivingTerminalID: 10,\n    RoundTrip: false,\n  },\n  endpointDescription:\n    \"List popular fare line items for a terminal combination.\",\n} satisfies EndpointMeta<FareLineItemsBasicInput, LineItem[]>;\n\n/**\n * Fetch function for retrieving popular fare line items for a terminal combination\n */\nexport const fetchFareLineItemsBasic: (\n  params?: FetchFunctionParams<FareLineItemsBasicInput>\n) => Promise<LineItem[]> = createFetchFunction(\n  wsfFaresApi,\n  fareLineItemsGroup,\n  fareLineItemsBasicMeta\n);\n\n/**\n * React Query hook for retrieving popular fare line items for a terminal combination\n */\nexport const useFareLineItemsBasic: (\n  params?: FetchFunctionParams<FareLineItemsBasicInput>,\n  options?: QueryHookOptions<LineItem[]>\n) => UseQueryResult<LineItem[], Error> = createHook(\n  wsfFaresApi,\n  fareLineItemsGroup,\n  fareLineItemsBasicMeta\n);\n","import type { UseQueryResult } from \"@tanstack/react-query\";\nimport { wsfFaresApi } from \"../api\";\nimport type {\n  EndpointMeta,\n  FetchFunctionParams,\n  QueryHookOptions,\n} from \"@/apis/types\";\nimport {\n  createFetchFunction,\n  createHook,\n} from \"@/shared/factories\";\nimport { datesHelper } from \"@/shared/utils\";\nimport { fareLineItemsGroup } from \"./shared/fareLineItems.endpoints\";\nimport {\n  type FareLineItemsByTripDateAndTerminalsInput,\n  fareLineItemsByTripDateAndTerminalsInputSchema,\n} from \"./shared/fareLineItems.input\";\nimport { type LineItem, lineItemSchema } from \"./shared/fareLineItems.output\";\n\n/**\n * Metadata for the fetchFareLineItemsByTripDateAndTerminals endpoint\n */\nexport const fareLineItemsByTripDateAndTerminalsMeta = {\n  functionName: \"fetchFareLineItemsByTripDateAndTerminals\",\n  endpoint:\n    \"/fareLineItems/{TripDate}/{DepartingTerminalID}/{ArrivingTerminalID}/{RoundTrip}\",\n  inputSchema: fareLineItemsByTripDateAndTerminalsInputSchema,\n  outputSchema: lineItemSchema.array(),\n  sampleParams: {\n    TripDate: datesHelper.tomorrow(),\n    DepartingTerminalID: 3,\n    ArrivingTerminalID: 7,\n    RoundTrip: false,\n  },\n  endpointDescription:\n    \"List all fare line items for a specific terminal combination and trip type.\",\n} satisfies EndpointMeta<FareLineItemsByTripDateAndTerminalsInput, LineItem[]>;\n\n/**\n * Fetch function for retrieving all fare line items for a specific terminal combination and trip type\n */\nexport const fetchFareLineItemsByTripDateAndTerminals: (\n  params?: FetchFunctionParams<FareLineItemsByTripDateAndTerminalsInput>\n) => Promise<LineItem[]> = createFetchFunction(\n  wsfFaresApi,\n  fareLineItemsGroup,\n  fareLineItemsByTripDateAndTerminalsMeta\n);\n\n/**\n * React Query hook for retrieving all fare line items for a specific terminal combination and trip type\n */\nexport const useFareLineItemsByTripDateAndTerminals: (\n  params?: FetchFunctionParams<FareLineItemsByTripDateAndTerminalsInput>,\n  options?: QueryHookOptions<LineItem[]>\n) => UseQueryResult<LineItem[], Error> = createHook(\n  wsfFaresApi,\n  fareLineItemsGroup,\n  fareLineItemsByTripDateAndTerminalsMeta\n);\n","import type { UseQueryResult } from \"@tanstack/react-query\";\nimport { wsfFaresApi } from \"../api\";\nimport type {\n  EndpointMeta,\n  FetchFunctionParams,\n  QueryHookOptions,\n} from \"@/apis/types\";\nimport {\n  createFetchFunction,\n  createHook,\n} from \"@/shared/factories\";\nimport { datesHelper } from \"@/shared/utils\";\nimport { fareLineItemsGroup } from \"./shared/fareLineItems.endpoints\";\nimport {\n  type FareLineItemsVerboseInput,\n  fareLineItemsVerboseInputSchema,\n} from \"./shared/fareLineItems.input\";\nimport {\n  type LineItemVerbose,\n  lineItemVerboseSchema,\n} from \"./shared/fareLineItems.output\";\n\n/**\n * Metadata for the fetchFareLineItemsVerbose endpoint\n */\nexport const fareLineItemsVerboseMeta = {\n  functionName: \"fetchFareLineItemsVerbose\",\n  endpoint: \"/fareLineItemsVerbose/{TripDate}\",\n  inputSchema: fareLineItemsVerboseInputSchema,\n  outputSchema: lineItemVerboseSchema,\n  sampleParams: { TripDate: datesHelper.today() },\n  endpointDescription:\n    \"Get all fare line items for all terminal combinations on a trip date.\",\n} satisfies EndpointMeta<FareLineItemsVerboseInput, LineItemVerbose>;\n\n/**\n * Fetch function for retrieving all fare line items for all terminal combinations on a trip date\n */\nexport const fetchFareLineItemsVerbose: (\n  params?: FetchFunctionParams<FareLineItemsVerboseInput>\n) => Promise<LineItemVerbose> = createFetchFunction(\n  wsfFaresApi,\n  fareLineItemsGroup,\n  fareLineItemsVerboseMeta\n);\n\n/**\n * React Query hook for retrieving all fare line items for all terminal combinations on a trip date\n */\nexport const useFareLineItemsVerbose: (\n  params?: FetchFunctionParams<FareLineItemsVerboseInput>,\n  options?: QueryHookOptions<LineItemVerbose>\n) => UseQueryResult<LineItemVerbose, Error> = createHook(\n  wsfFaresApi,\n  fareLineItemsGroup,\n  fareLineItemsVerboseMeta\n);\n","import type { UseQueryResult } from \"@tanstack/react-query\";\nimport { wsfFaresApi } from \"../api\";\nimport type {\n  EndpointMeta,\n  FetchFunctionParams,\n  QueryHookOptions,\n} from \"@/apis/types\";\nimport {\n  createFetchFunction,\n  createHook,\n} from \"@/shared/factories\";\nimport { datesHelper } from \"@/shared/utils\";\nimport { fareTotalsGroup } from \"./shared/fareTotals.endpoints\";\nimport {\n  type FareTotalsByTripDateAndRouteInput,\n  fareTotalsByTripDateAndRouteInputSchema,\n} from \"./shared/fareTotals.input\";\nimport {\n  type FareTotal,\n  fareTotalSchema,\n} from \"./shared/fareTotals.output\";\n\n/**\n * Metadata for the fetchFareTotalsByTripDateAndRoute endpoint\n */\nexport const fareTotalsByTripDateAndRouteMeta = {\n  functionName: \"fetchFareTotalsByTripDateAndRoute\",\n  endpoint:\n    \"/fareTotals/{TripDate}/{DepartingTerminalID}/{ArrivingTerminalID}/{RoundTrip}/{FareLineItemID}/{Quantity}\",\n  inputSchema: fareTotalsByTripDateAndRouteInputSchema,\n  outputSchema: fareTotalSchema.array(),\n  sampleParams: {\n    TripDate: datesHelper.today(),\n    DepartingTerminalID: 1,\n    ArrivingTerminalID: 10,\n    RoundTrip: false,\n    FareLineItemID: \"1,2\",\n    Quantity: \"3,1\",\n  },\n  endpointDescription:\n    \"Calculate fare totals for a terminal combination with selected line items and quantities.\",\n} satisfies EndpointMeta<FareTotalsByTripDateAndRouteInput, FareTotal[]>;\n\n/**\n * Fetch function for calculating fare totals for a terminal combination with selected line items and quantities\n */\nexport const fetchFareTotalsByTripDateAndRoute: (\n  params?: FetchFunctionParams<FareTotalsByTripDateAndRouteInput>\n) => Promise<FareTotal[]> = createFetchFunction(\n  wsfFaresApi,\n  fareTotalsGroup,\n  fareTotalsByTripDateAndRouteMeta\n);\n\n/**\n * React Query hook for calculating fare totals for a terminal combination with selected line items and quantities\n */\nexport const useFareTotalsByTripDateAndRoute: (\n  params?: FetchFunctionParams<FareTotalsByTripDateAndRouteInput>,\n  options?: QueryHookOptions<FareTotal[]>\n) => UseQueryResult<FareTotal[], Error> = createHook(\n  wsfFaresApi,\n  fareTotalsGroup,\n  fareTotalsByTripDateAndRouteMeta\n);\n\n","import type { UseQueryResult } from \"@tanstack/react-query\";\nimport { wsfFaresApi } from \"../api\";\nimport type {\n  EndpointMeta,\n  FetchFunctionParams,\n  QueryHookOptions,\n} from \"@/apis/types\";\nimport {\n  createFetchFunction,\n  createHook,\n} from \"@/shared/factories\";\nimport { datesHelper } from \"@/shared/utils\";\nimport { terminalComboGroup } from \"./shared/terminalCombo.endpoints\";\nimport {\n  type TerminalComboInput,\n  terminalComboInputSchema,\n} from \"./shared/terminalCombo.input\";\nimport {\n  type TerminalComboFares,\n  terminalComboFaresSchema,\n} from \"./shared/terminalCombo.output\";\n\n/**\n * Metadata for the fetchTerminalComboFares endpoint\n */\nexport const terminalComboFaresMeta = {\n  functionName: \"fetchTerminalComboFares\",\n  endpoint:\n    \"/terminalCombo/{TripDate}/{DepartingTerminalID}/{ArrivingTerminalID}\",\n  inputSchema: terminalComboInputSchema,\n  outputSchema: terminalComboFaresSchema,\n  sampleParams: {\n    TripDate: datesHelper.tomorrow(),\n    DepartingTerminalID: 1,\n    ArrivingTerminalID: 10,\n  },\n  endpointDescription:\n    \"Get fare collection description for a specific terminal combination and trip date.\",\n} satisfies EndpointMeta<TerminalComboInput, TerminalComboFares>;\n\n/**\n * Fetch function for retrieving fare collection description for a specific terminal combination and trip date\n */\nexport const fetchTerminalComboFares: (\n  params?: FetchFunctionParams<TerminalComboInput>\n) => Promise<TerminalComboFares> = createFetchFunction(\n  wsfFaresApi,\n  terminalComboGroup,\n  terminalComboFaresMeta\n);\n\n/**\n * React Query hook for retrieving fare collection description for a specific terminal combination and trip date\n */\nexport const useTerminalComboFares: (\n  params?: FetchFunctionParams<TerminalComboInput>,\n  options?: QueryHookOptions<TerminalComboFares>\n) => UseQueryResult<TerminalComboFares, Error> = createHook(\n  wsfFaresApi,\n  terminalComboGroup,\n  terminalComboFaresMeta\n);\n","import type { UseQueryResult } from \"@tanstack/react-query\";\nimport { wsfFaresApi } from \"../api\";\nimport type {\n  EndpointMeta,\n  FetchFunctionParams,\n  QueryHookOptions,\n} from \"@/apis/types\";\nimport {\n  createFetchFunction,\n  createHook,\n} from \"@/shared/factories\";\nimport { datesHelper } from \"@/shared/utils\";\nimport { terminalComboGroup } from \"./shared/terminalCombo.endpoints\";\nimport {\n  type TerminalComboFaresVerboseInput,\n  terminalComboFaresVerboseInputSchema,\n} from \"./shared/terminalCombo.input\";\nimport {\n  type TerminalComboFaresVerbose,\n  terminalComboFaresVerboseSchema,\n} from \"./shared/terminalCombo.output\";\n\n/**\n * Metadata for the fetchTerminalComboFaresVerbose endpoint\n */\nexport const terminalComboFaresVerboseMeta = {\n  functionName: \"fetchTerminalComboFaresVerbose\",\n  endpoint: \"/terminalComboVerbose/{TripDate}\",\n  inputSchema: terminalComboFaresVerboseInputSchema,\n  outputSchema: terminalComboFaresVerboseSchema.array(),\n  sampleParams: { TripDate: datesHelper.tomorrow() },\n  endpointDescription:\n    \"Get fare collection descriptions for all terminal combinations on a trip date.\",\n} satisfies EndpointMeta<\n  TerminalComboFaresVerboseInput,\n  TerminalComboFaresVerbose[]\n>;\n\n/**\n * Fetch function for retrieving fare collection descriptions for all terminal combinations on a trip date\n */\nexport const fetchTerminalComboFaresVerbose: (\n  params?: FetchFunctionParams<TerminalComboFaresVerboseInput>\n) => Promise<TerminalComboFaresVerbose[]> = createFetchFunction(\n  wsfFaresApi,\n  terminalComboGroup,\n  terminalComboFaresVerboseMeta\n);\n\n/**\n * React Query hook for retrieving fare collection descriptions for all terminal combinations on a trip date\n */\nexport const useTerminalComboFaresVerbose: (\n  params?: FetchFunctionParams<TerminalComboFaresVerboseInput>,\n  options?: QueryHookOptions<TerminalComboFaresVerbose[]>\n) => UseQueryResult<TerminalComboFaresVerbose[], Error> = createHook(\n  wsfFaresApi,\n  terminalComboGroup,\n  terminalComboFaresVerboseMeta\n);\n","import type { UseQueryResult } from \"@tanstack/react-query\";\nimport { wsfFaresApi } from \"../api\";\nimport {\n  type TerminalsInput,\n  terminalsInputSchema,\n} from \"@/apis/shared/terminals.input\";\nimport {\n  type TerminalList,\n  terminalListSchema,\n} from \"@/apis/shared/terminals.output\";\nimport type {\n  EndpointMeta,\n  FetchFunctionParams,\n  QueryHookOptions,\n} from \"@/apis/types\";\nimport {\n  createFetchFunction,\n  createHook,\n} from \"@/shared/factories\";\nimport { datesHelper } from \"@/shared/utils\";\nimport { terminalsGroup } from \"./shared/terminals.endpoints\";\n\n/**\n * Metadata for the fetchTerminalFares endpoint\n */\nexport const terminalFaresMeta = {\n  functionName: \"fetchTerminalFares\",\n  endpoint: \"/terminals/{TripDate}\",\n  inputSchema: terminalsInputSchema,\n  outputSchema: terminalListSchema,\n  sampleParams: { TripDate: datesHelper.tomorrow() },\n  endpointDescription: \"List valid departing terminals for a trip date.\",\n} satisfies EndpointMeta<TerminalsInput, TerminalList>;\n\n/**\n * Fetch function for retrieving valid departing terminals for a trip date\n */\nexport const fetchTerminalFares: (\n  params?: FetchFunctionParams<TerminalsInput>\n) => Promise<TerminalList> = createFetchFunction(\n  wsfFaresApi,\n  terminalsGroup,\n  terminalFaresMeta\n);\n\n/**\n * React Query hook for retrieving valid departing terminals for a trip date\n */\nexport const useTerminalFares: (\n  params?: FetchFunctionParams<TerminalsInput>,\n  options?: QueryHookOptions<TerminalList>\n) => UseQueryResult<TerminalList, Error> = createHook(\n  wsfFaresApi,\n  terminalsGroup,\n  terminalFaresMeta\n);\n","import type { UseQueryResult } from \"@tanstack/react-query\";\nimport { wsfFaresApi } from \"../api\";\nimport {\n  type TerminalMatesInput,\n  terminalMatesInputSchema,\n} from \"@/apis/shared/terminals.input\";\nimport {\n  type TerminalList,\n  terminalListSchema,\n} from \"@/apis/shared/terminals.output\";\nimport type {\n  EndpointMeta,\n  FetchFunctionParams,\n  QueryHookOptions,\n} from \"@/apis/types\";\nimport {\n  createFetchFunction,\n  createHook,\n} from \"@/shared/factories\";\nimport { datesHelper } from \"@/shared/utils\";\nimport { terminalsGroup } from \"./shared/terminals.endpoints\";\n\n/**\n * Metadata for the fetchTerminalMatesFares endpoint\n */\nexport const terminalMatesFaresMeta = {\n  functionName: \"fetchTerminalMatesFares\",\n  endpoint: \"/terminalMates/{TripDate}/{TerminalID}\",\n  inputSchema: terminalMatesInputSchema,\n  outputSchema: terminalListSchema,\n  sampleParams: { TripDate: datesHelper.tomorrow(), TerminalID: 1 },\n  endpointDescription:\n    \"List arriving terminals for a given departing terminal and trip date.\",\n} satisfies EndpointMeta<TerminalMatesInput, TerminalList>;\n\n/**\n * Fetch function for retrieving arriving terminals for a given departing terminal and trip date\n */\nexport const fetchTerminalMatesFares: (\n  params?: FetchFunctionParams<TerminalMatesInput>\n) => Promise<TerminalList> = createFetchFunction(\n  wsfFaresApi,\n  terminalsGroup,\n  terminalMatesFaresMeta\n);\n\n/**\n * React Query hook for retrieving arriving terminals for a given departing terminal and trip date\n */\nexport const useTerminalMatesFares: (\n  params?: FetchFunctionParams<TerminalMatesInput>,\n  options?: QueryHookOptions<TerminalList>\n) => UseQueryResult<TerminalList, Error> = createHook(\n  wsfFaresApi,\n  terminalsGroup,\n  terminalMatesFaresMeta\n);\n","import type { UseQueryResult } from \"@tanstack/react-query\";\nimport { wsfFaresApi } from \"../api\";\nimport {\n  type ValidDateRange,\n  validDateRangeSchema,\n} from \"@/apis/shared/validDateRange.output\";\nimport type {\n  EndpointMeta,\n  FetchFunctionParams,\n  QueryHookOptions,\n} from \"@/apis/types\";\nimport {\n  createFetchFunction,\n  createHook,\n} from \"@/shared/factories\";\nimport { validDateRangeGroup } from \"./shared/validDateRange.endpoints\";\nimport {\n  type FaresValidDateRangeInput,\n  faresValidDateRangeInputSchema,\n} from \"./shared/validDateRange.input\";\n\n/**\n * Metadata for the fetchFaresValidDateRange endpoint\n */\nexport const faresValidDateRangeMeta = {\n  functionName: \"fetchFaresValidDateRange\",\n  endpoint: \"/validdaterange\",\n  inputSchema: faresValidDateRangeInputSchema,\n  outputSchema: validDateRangeSchema,\n  sampleParams: {},\n  endpointDescription: \"Get the validity date range for published fares data.\",\n} satisfies EndpointMeta<FaresValidDateRangeInput, ValidDateRange>;\n\n/**\n * Fetch function for retrieving the validity date range for published fares data\n */\nexport const fetchFaresValidDateRange: (\n  params?: FetchFunctionParams<FaresValidDateRangeInput>\n) => Promise<ValidDateRange> = createFetchFunction(\n  wsfFaresApi,\n  validDateRangeGroup,\n  faresValidDateRangeMeta\n);\n\n/**\n * React Query hook for retrieving the validity date range for published fares data\n */\nexport const useFaresValidDateRange: (\n  params?: FetchFunctionParams<FaresValidDateRangeInput>,\n  options?: QueryHookOptions<ValidDateRange>\n) => UseQueryResult<ValidDateRange, Error> = createHook(\n  wsfFaresApi,\n  validDateRangeGroup,\n  faresValidDateRangeMeta\n);\n"]}