{"version":3,"sources":["../src/apis/wsdot-mountain-pass-conditions/passConditions/shared/passConditions.input.ts","../src/apis/wsdot-mountain-pass-conditions/passConditions/shared/passConditions.output.ts"],"names":["mountainPassConditionsInputSchema","z","mountainPassConditionByIdInputSchema","travelRestrictionSchema","passConditionSchema","zDotnetDate"],"mappings":"wFAEO,IAAMA,CAAAA,CAAoCC,GAAAA,CAC9C,MAAA,CAAO,EAAE,CAAA,CACT,QAAA,CAAS,+DAA+D,CAAA,CAM9DC,EAAuCD,GAAAA,CACjD,MAAA,CAAO,CACN,eAAA,CAAiBA,IAAE,GAAA,EAAI,CAAE,QAAA,CAAS,kCAAkC,CACtE,CAAC,CAAA,CACA,QAAA,CACC,2EACF,ECbK,IAAME,CAAAA,CAA0BF,GAAAA,CACpC,MAAA,CAAO,CACN,eAAA,CAAiBA,GAAAA,CACd,MAAA,EAAO,CACP,UAAS,CACT,QAAA,CACC,wIACF,CAAA,CACF,eAAA,CAAiBA,GAAAA,CACd,MAAA,EAAO,CACP,UAAS,CACT,QAAA,CACC,0HACF,CACJ,CAAC,CAAA,CACA,QAAA,CACC,yIACF,CAAA,CAIWG,EAAsBH,GAAAA,CAChC,MAAA,CAAO,CACN,cAAA,CAAgBA,IAAE,GAAA,EAAI,CAAE,QAAA,CAAS,kCAAkC,EACnE,gBAAA,CAAkBA,GAAAA,CACf,MAAA,EAAO,CACP,UAAS,CACT,QAAA,CAAS,oCAAoC,CAAA,CAChD,SAAUA,GAAAA,CACP,MAAA,EAAO,CACP,QAAA,CAAS,mDAAmD,CAAA,CAC/D,SAAA,CAAWA,GAAAA,CACR,QAAO,CACP,QAAA,CAAS,oDAAoD,CAAA,CAChE,YAAaI,GAAAA,EAAY,CAAE,QAAA,CACzB,6DACF,EACA,uBAAA,CAAyBJ,GAAAA,CACtB,GAAA,EAAI,CACJ,UAAS,CACT,QAAA,CACC,iEACF,CAAA,CACF,gBAAiBA,GAAAA,CACd,GAAA,EAAI,CACJ,QAAA,GACA,QAAA,CAAS,yDAAyD,CAAA,CACrE,gBAAA,CAAkBA,IACf,MAAA,EAAO,CACP,QAAA,EAAS,CACT,SAAS,kDAAkD,CAAA,CAC9D,aAAA,CAAeA,GAAAA,CACZ,QAAO,CACP,QAAA,EAAS,CACT,QAAA,CAAS,0DAA0D,CAAA,CACtE,oBAAA,CAAsBA,GAAAA,CACnB,OAAA,GACA,QAAA,CACC,8EACF,CAAA,CACF,cAAA,CAAgBE,EACb,QAAA,EAAS,CACT,QAAA,CACC,uEACF,EACF,cAAA,CAAgBA,CAAAA,CACb,QAAA,EAAS,CACT,SACC,yEACF,CACJ,CAAC,CAAA,CACA,SACC,0KACF","file":"chunk-5PINMRFI.mjs","sourcesContent":["import { z } from \"@/shared/zod\";\n\nexport const mountainPassConditionsInputSchema = z\n  .object({})\n  .describe(\"Input parameters for retrieving all mountain pass conditions.\");\n\nexport type MountainPassConditionsInput = z.infer<\n  typeof mountainPassConditionsInputSchema\n>;\n\nexport const mountainPassConditionByIdInputSchema = z\n  .object({\n    PassConditionID: z.int().describe(\"Numeric ID of the mountain pass.\"),\n  })\n  .describe(\n    \"Input parameters for retrieving a specific mountain pass condition by ID.\"\n  );\n\nexport type MountainPassConditionByIdInput = z.infer<\n  typeof mountainPassConditionByIdInputSchema\n>;\n","import { zDotnetDate } from \"@/apis/shared\";\nimport { z } from \"@/shared/zod\";\n\nexport const travelRestrictionSchema = z\n  .object({\n    RestrictionText: z\n      .string()\n      .nullable()\n      .describe(\n        \"Text description of travel restrictions for this direction, such as 'No restrictions', 'Closed for the season', or chain requirements.\"\n      ),\n    TravelDirection: z\n      .string()\n      .nullable()\n      .describe(\n        \"Direction of travel for which this restriction applies, such as 'Eastbound', 'Westbound', 'Northbound', or 'Southbound'.\"\n      ),\n  })\n  .describe(\n    \"Travel restriction information for a specific direction on a mountain pass, including restriction text and applicable travel direction.\"\n  );\n\nexport type TravelRestriction = z.infer<typeof travelRestrictionSchema>;\n\nexport const passConditionSchema = z\n  .object({\n    MountainPassId: z.int().describe(\"Numeric ID of the mountain pass.\"),\n    MountainPassName: z\n      .string()\n      .nullable()\n      .describe(\"Display name of the mountain pass.\"),\n    Latitude: z\n      .number()\n      .describe(\"Latitude of the mountain pass in decimal degrees.\"),\n    Longitude: z\n      .number()\n      .describe(\"Longitude of the mountain pass in decimal degrees.\"),\n    DateUpdated: zDotnetDate().describe(\n      \"UTC datetime when the pass condition data was last updated.\"\n    ),\n    TemperatureInFahrenheit: z\n      .int()\n      .nullable()\n      .describe(\n        \"Current temperature at the mountain pass in degrees Fahrenheit.\"\n      ),\n    ElevationInFeet: z\n      .int()\n      .nullable()\n      .describe(\"Elevation of the mountain pass above sea level in feet.\"),\n    WeatherCondition: z\n      .string()\n      .nullable()\n      .describe(\"Current weather conditions at the mountain pass.\"),\n    RoadCondition: z\n      .string()\n      .nullable()\n      .describe(\"Current roadway surface conditions at the mountain pass.\"),\n    TravelAdvisoryActive: z\n      .boolean()\n      .describe(\n        \"True if a travel advisory is currently active for the pass; otherwise false.\"\n      ),\n    RestrictionOne: travelRestrictionSchema\n      .nullable()\n      .describe(\n        \"Travel restriction information for the primary direction of the pass.\"\n      ),\n    RestrictionTwo: travelRestrictionSchema\n      .nullable()\n      .describe(\n        \"Travel restriction information for the secondary direction of the pass.\"\n      ),\n  })\n  .describe(\n    \"Real-time mountain pass condition information including weather, road surface conditions, temperature, elevation, travel restrictions by direction, and advisory status.\"\n  );\n\nexport type PassCondition = z.infer<typeof passConditionSchema>;\n"]}