{"version":3,"sources":["../src/apis/wsdot-traffic-flow/flowData/shared/flowData.input.ts","../src/apis/wsdot-traffic-flow/flowData/shared/flowData.output.ts"],"names":["trafficFlowByIdInputSchema","trafficFlowsInputSchema","init_flowData_input","__esmMin","init_zod","z","flowDataSchema","init_flowData_output","init_shared","roadwayLocationSchema","zDotnetDate"],"mappings":"mIAAA,IAcaA,CAAAA,CAeAC,CAAAA,CA7BbC,CAAAA,CAAAC,CAAAA,CAAA,IAAA,CAOAC,CAAAA,EAAAA,CAOaJ,CAAAA,CAA6BK,GAAAA,CACvC,MAAA,CAAO,CACN,UAAA,CAAYA,GAAAA,CAAE,MAAA,GAAS,QAAA,CAAS,yCAAyC,CAC3E,CAAC,CAAA,CACA,QAAA,CACC,iFACF,CAAA,CASWJ,CAAAA,CAA0BI,GAAAA,CACpC,MAAA,CAAO,EAAE,CAAA,CACT,SACC,+EACF,EAAA,CAAA,ECjCF,IAeaC,CAAAA,CAfbC,CAAAA,CAAAJ,CAAAA,CAAA,IAAA,CAOAK,CAAAA,EAAAA,CACAJ,CAAAA,EAAAA,CAOaE,CAAAA,CAAiBD,GAAAA,CAC3B,MAAA,CAAO,CACN,UAAA,CAAYA,IAAE,MAAA,EAAO,CAAE,QAAA,CAAS,yCAAyC,CAAA,CACzE,gBAAA,CAAkBA,GAAAA,CACf,KAAA,CAAM,CACLA,GAAAA,CAAE,OAAA,CAAQ,CAAC,CAAA,CACXA,GAAAA,CAAE,QAAQ,CAAC,CAAA,CACXA,GAAAA,CAAE,OAAA,CAAQ,CAAC,CAAA,CACXA,GAAAA,CAAE,OAAA,CAAQ,CAAC,CAAA,CACXA,GAAAA,CAAE,OAAA,CAAQ,CAAC,CAAA,CACXA,IAAE,OAAA,CAAQ,CAAC,CACb,CAAC,CAAA,CACA,QAAA,CACC,wHACF,CAAA,CACF,mBAAA,CAAqBI,CAAAA,CAClB,QAAA,EAAS,CACT,QAAA,CAAS,4DAA4D,EACxE,MAAA,CAAQJ,GAAAA,CACL,MAAA,EAAO,CACP,QAAA,EAAS,CACT,QAAA,CAAS,uDAAuD,CAAA,CACnE,WAAA,CAAaA,GAAAA,CACV,MAAA,EAAO,CACP,QAAA,GACA,QAAA,CACC,mEACF,CAAA,CACF,IAAA,CAAMK,GAAAA,EAAY,CAAE,QAAA,CAClB,uDACF,CACF,CAAC,CAAA,CACA,QAAA,CACC,2HACF,EAAA,CAAA","file":"chunk-SUDLNHXG.mjs","sourcesContent":["/**\n * @fileoverview WSDOT Traffic Flow API Input Schemas\n *\n * This module provides Zod schemas for validating input parameters for the WSDOT\n * Traffic Flow API endpoints.\n */\n\nimport { z } from \"@/shared/zod\";\n\n/**\n * Schema for GetTrafficFlow input parameters\n *\n * Provides real-time data on Traffic Flow sensors for the entire state. Data is updated every 90 seconds. Coverage Area: Statewide.\n */\nexport const trafficFlowByIdInputSchema = z\n  .object({\n    FlowDataID: z.number().describe(\"Numeric ID of the traffic flow station.\"),\n  })\n  .describe(\n    \"Input parameters for retrieving traffic flow data for a specific station by ID.\"\n  );\n\nexport type TrafficFlowByIdInput = z.infer<typeof trafficFlowByIdInputSchema>;\n\n/**\n * Schema for GetTrafficFlows input parameters\n *\n * Provides real-time data on Traffic Flow sensors for the entire state. Data is updated every 90 seconds. Coverage Area: Statewide.\n */\nexport const trafficFlowsInputSchema = z\n  .object({})\n  .describe(\n    \"Input parameters for retrieving traffic flow data for all stations statewide.\"\n  );\n\nexport type TrafficFlowsInput = z.infer<typeof trafficFlowsInputSchema>;\n","/**\n * @fileoverview WSDOT Traffic Flow API Output Schemas\n *\n * This module provides Zod schemas for validating responses from the WSDOT\n * Traffic Flow API, which provides real-time traffic flow data for the entire state.\n */\n\nimport { roadwayLocationSchema, zDotnetDate } from \"@/apis/shared\";\nimport { z } from \"@/shared/zod\";\n\n/**\n * Schema for FlowData - represents a traffic flow station\n *\n * Provides real-time data on Traffic Flow sensors for the entire state. Data is updated every 90 seconds. Coverage Area: Statewide.\n */\nexport const flowDataSchema = z\n  .object({\n    FlowDataID: z.number().describe(\"Numeric ID of the traffic flow station.\"),\n    FlowReadingValue: z\n      .union([\n        z.literal(0),\n        z.literal(1),\n        z.literal(2),\n        z.literal(3),\n        z.literal(4),\n        z.literal(5),\n      ])\n      .describe(\n        \"Code indicating traffic flow condition: 0 = Unknown, 1 = WideOpen, 2 = Moderate, 3 = Heavy, 4 = StopAndGo, 5 = NoData.\"\n      ),\n    FlowStationLocation: roadwayLocationSchema\n      .nullable()\n      .describe(\"Roadway location information for the traffic flow station.\"),\n    Region: z\n      .string()\n      .nullable()\n      .describe(\"WSDOT region that maintains the traffic flow station.\"),\n    StationName: z\n      .string()\n      .nullable()\n      .describe(\n        \"Station identifier code combining route, direction, and milepost.\"\n      ),\n    Time: zDotnetDate().describe(\n      \"UTC datetime when the traffic flow reading was taken.\"\n    ),\n  })\n  .describe(\n    \"Real-time traffic flow data from a sensor station, including flow condition, location, region, and measurement timestamp.\"\n  );\n\nexport type FlowData = z.infer<typeof flowDataSchema>;\n"]}