{"version":3,"sources":["../src/apis/wsdot-weather-information/weatherInfo/shared/weatherInfo.input.ts","../src/apis/wsdot-weather-information/weatherInfo/shared/weatherInfo.output.ts"],"names":["weatherInformationInputSchema","weatherInformationByStationIdInputSchema","searchWeatherInformationInputSchema","currentWeatherForStationsInputSchema","init_weatherInfo_input","__esmMin","init_zod","z","weatherInfoSchema","init_weatherInfo_output","init_shared","zDotnetDate"],"mappings":"kLAAA,IAOaA,CAAAA,CAeAC,CAAAA,CAiBAC,CAAAA,CA6BAC,CAAAA,CApEbC,CAAAA,CAAAC,IAAA,IAAA,CAAAC,CAAAA,EAAAA,CAOaN,CAAAA,CAAgCO,GAAAA,CAC1C,MAAA,CAAO,EAAE,CAAA,CACT,QAAA,CACC,6EACF,CAAA,CAWWN,CAAAA,CAA2CM,GAAAA,CACrD,MAAA,CAAO,CACN,SAAA,CAAWA,GAAAA,CAAE,MAAA,EAAO,CAAE,GAAA,EAAI,CAAE,SAAS,oCAAoC,CAC3E,CAAC,CAAA,CACA,QAAA,CACC,yEACF,EAWWL,CAAAA,CAAsCK,GAAAA,CAChD,MAAA,CAAO,CACN,SAAA,CAAWA,GAAAA,CAAE,QAAO,CAAE,GAAA,EAAI,CAAE,QAAA,CAAS,oCAAoC,CAAA,CACzE,eAAA,CAAiBA,GAAAA,CACd,MAAA,EAAO,CACP,QAAA,EAAS,CACT,QAAA,CACC,mEACF,EACF,aAAA,CAAeA,GAAAA,CACZ,MAAA,EAAO,CACP,QAAA,EAAS,CACT,SACC,iEACF,CACJ,CAAC,CAAA,CACA,QAAA,CACC,0FACF,EAWWJ,CAAAA,CAAuCI,GAAAA,CACjD,MAAA,CAAO,CACN,WAAA,CAAaA,GAAAA,CACV,MAAA,EAAO,CACP,QAAA,CAAS,8CAA8C,CAC5D,CAAC,CAAA,CACA,QAAA,CACC,iFACF,EAAA,CAAA,EC5EF,IAQaC,CAAAA,CARbC,CAAAA,CAAAJ,GAAAA,CAAA,IAAA,CAAAK,GAAAA,EAAAA,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S,CACT,QAAA,CAAS,4CAA4C,EACxD,cAAA,CAAgBA,GAAAA,CACb,MAAA,EAAO,CACP,QAAA,EAAS,CACT,QAAA,CAAS,uCAAuC,CACrD,CAAC,CAAA,CACA,QAAA,CACC,iLACF,EAAA,CAAA","file":"chunk-KUIIKC3Z.mjs","sourcesContent":["import { z } from \"@/shared/zod\";\n\n/**\n * GetWeatherInformation input schema\n *\n * Input parameters for getting current weather information. Provides current information from weather stations. Coverage Area: Statewide.\n */\nexport const weatherInformationInputSchema = z\n  .object({})\n  .describe(\n    \"Input parameters for listing current weather information from all stations.\"\n  );\n\nexport type WeatherInformationInput = z.infer<\n  typeof weatherInformationInputSchema\n>;\n\n/**\n * GetWeatherInformationByStationId input schema\n *\n * Input parameters for getting current weather information by station ID. Provides current information from weather stations. Coverage Area: Statewide.\n */\nexport const weatherInformationByStationIdInputSchema = z\n  .object({\n    StationID: z.number().int().describe(\"Numeric ID of the weather station.\"),\n  })\n  .describe(\n    \"Input parameters for getting current weather information by station ID.\"\n  );\n\nexport type WeatherInformationByStationIdInput = z.infer<\n  typeof weatherInformationByStationIdInputSchema\n>;\n\n/**\n * SearchWeatherInformation input schema\n *\n * Input parameters for searching weather information by station ID and time range.\n */\nexport const searchWeatherInformationInputSchema = z\n  .object({\n    StationID: z.number().int().describe(\"Numeric ID of the weather station.\"),\n    SearchStartTime: z\n      .string()\n      .datetime()\n      .describe(\n        \"UTC datetime when the search time range begins (ISO-8601 format).\"\n      ),\n    SearchEndTime: z\n      .string()\n      .datetime()\n      .describe(\n        \"UTC datetime when the search time range ends (ISO-8601 format).\"\n      ),\n  })\n  .describe(\n    \"Input parameters for searching historical weather information by station and time range.\"\n  );\n\nexport type SearchWeatherInformationInput = z.infer<\n  typeof searchWeatherInformationInputSchema\n>;\n\n/**\n * GetCurrentWeatherForStations input schema\n *\n * Input parameters for getting current weather information for multiple stations.\n */\nexport const currentWeatherForStationsInputSchema = z\n  .object({\n    StationList: z\n      .string()\n      .describe(\"Comma-separated list of weather station IDs.\"),\n  })\n  .describe(\n    \"Input parameters for getting current weather information for multiple stations.\"\n  );\n\nexport type CurrentWeatherForStationsInput = z.infer<\n  typeof currentWeatherForStationsInputSchema\n>;\n","import { zDotnetDate } from \"@/apis/shared\";\nimport { z } from \"@/shared/zod\";\n\n/**\n * WeatherInfo schema\n *\n * Current information from a weather station.\n */\nexport const weatherInfoSchema = z\n  .object({\n    BarometricPressure: z\n      .number()\n      .nullable()\n      .describe(\n        \"Atmospheric pressure in millibars (not adjusted for elevation).\"\n      ),\n    Latitude: z\n      .number()\n      .describe(\"Latitude of the weather station in decimal degrees.\"),\n    Longitude: z\n      .number()\n      .describe(\"Longitude of the weather station in decimal degrees.\"),\n    PrecipitationInInches: z\n      .number()\n      .nullable()\n      .describe(\"Precipitation amount in inches.\"),\n    ReadingTime: zDotnetDate().describe(\n      \"UTC datetime when the weather reading was taken.\"\n    ),\n    RelativeHumidity: z\n      .number()\n      .nullable()\n      .describe(\"Relative humidity as a percentage (0-100).\"),\n    SkyCoverage: z.string().nullable().describe(\"Sky coverage condition code.\"),\n    StationID: z.number().int().describe(\"Numeric ID of the weather station.\"),\n    StationName: z\n      .string()\n      .nullable()\n      .describe(\"Display name of the weather station.\"),\n    TemperatureInFahrenheit: z\n      .number()\n      .nullable()\n      .describe(\"Current air temperature in degrees Fahrenheit.\"),\n    Visibility: z\n      .number()\n      .int()\n      .nullable()\n      .describe(\n        \"Average visibility distance in meters (computed every 3 minutes).\"\n      ),\n    WindDirection: z\n      .number()\n      .nullable()\n      .describe(\"Wind direction in degrees clockwise from north (0-359).\"),\n    WindDirectionCardinal: z\n      .string()\n      .nullable()\n      .describe(\"Wind direction in cardinal format (e.g., 'N', 'S', 'WSW').\"),\n    WindGustSpeedInMPH: z\n      .number()\n      .nullable()\n      .describe(\"Maximum wind gust speed in miles per hour.\"),\n    WindSpeedInMPH: z\n      .number()\n      .nullable()\n      .describe(\"Average wind speed in miles per hour.\"),\n  })\n  .describe(\n    \"Current atmospheric conditions from a WSDOT Road Weather Information System station, including temperature, humidity, wind, visibility, barometric pressure, and precipitation.\"\n  );\n\nexport type WeatherInfo = z.infer<typeof weatherInfoSchema>;\n"]}