{"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","z","trafficFlowsInputSchema","flowDataSchema","roadwayLocationSchema","zDotnetDate"],"mappings":"sHAcO,IAAMA,CAAAA,CAA6BC,EACvC,MAAA,CAAO,CACN,WAAYA,CAAAA,CAAE,MAAA,EAAO,CAAE,QAAA,CAAS,yCAAyC,CAC3E,CAAC,CAAA,CACA,QAAA,CACC,iFACF,CAAA,CASWC,CAAAA,CAA0BD,CAAAA,CACpC,OAAO,EAAE,CAAA,CACT,QAAA,CACC,+EACF,MClBWE,CAAAA,CAAiBF,CAAAA,CAC3B,OAAO,CACN,UAAA,CAAYA,EAAE,MAAA,EAAO,CAAE,QAAA,CAAS,yCAAyC,CAAA,CACzE,gBAAA,CAAkBA,EACf,KAAA,CAAM,CACLA,CAAAA,CAAE,OAAA,CAAQ,CAAC,CAAA,CACXA,EAAE,OAAA,CAAQ,CAAC,CAAA,CACXA,CAAAA,CAAE,OAAA,CAAQ,CAAC,EACXA,CAAAA,CAAE,OAAA,CAAQ,CAAC,CAAA,CACXA,CAAAA,CAAE,QAAQ,CAAC,CAAA,CACXA,CAAAA,CAAE,OAAA,CAAQ,CAAC,CACb,CAAC,CAAA,CACA,QAAA,CACC,wHACF,CAAA,CACF,mBAAA,CAAqBG,GAAAA,CAClB,UAAS,CACT,QAAA,CAAS,4DAA4D,CAAA,CACxE,MAAA,CAAQH,CAAAA,CACL,QAAO,CACP,QAAA,GACA,QAAA,CAAS,uDAAuD,EACnE,WAAA,CAAaA,CAAAA,CACV,MAAA,EAAO,CACP,QAAA,EAAS,CACT,SACC,mEACF,CAAA,CACF,IAAA,CAAMI,CAAAA,EAAY,CAAE,QAAA,CAClB,uDACF,CACF,CAAC,CAAA,CACA,QAAA,CACC,2HACF","file":"chunk-T4ISHFRQ.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"]}