{"version":3,"sources":["../src/apis/wsdot-highway-alerts/alertAreas/shared/alertAreas.input.ts","../src/apis/wsdot-highway-alerts/alertAreas/shared/alertAreas.output.ts","../src/apis/wsdot-highway-alerts/eventCategories/shared/eventCategories.input.ts","../src/apis/wsdot-highway-alerts/highwayAlerts/shared/highwayAlerts.input.ts","../src/apis/wsdot-highway-alerts/highwayAlerts/shared/highwayAlerts.output.ts"],"names":["mapAreasInputSchema","init_alertAreas_input","__esmMin","init_zod","z","areaSchema","init_alertAreas_output","eventCategoriesInputSchema","init_eventCategories_input","alertsInputSchema","alertByIdInputSchema","searchAlertsInputSchema","alertsByMapAreaInputSchema","alertsByRegionIDInputSchema","init_highwayAlerts_input","alertSchema","init_highwayAlerts_output","init_shared","roadwayLocationSchema"],"mappings":"wIAAA,IAOaA,EAPbC,CAAAA,CAAAC,CAAAA,CAAA,IAAA,CAAAC,CAAAA,EAAAA,CAOaH,EAAsBI,GAAAA,CAChC,MAAA,CAAO,EAAE,EACT,QAAA,CACC,gFACF,EAAA,CAAA,ECXF,IAOaC,EAPbC,CAAAA,CAAAJ,CAAAA,CAAA,IAAA,CAAAC,CAAAA,EAAAA,CAOaE,EAAaD,GAAAA,CACvB,MAAA,CAAO,CACN,OAAA,CAASA,IACN,MAAA,EAAO,CACP,QAAA,EAAS,CACT,SACC,8EACF,CAAA,CACF,kBAAA,CAAoBA,GAAAA,CACjB,QAAO,CACP,QAAA,EAAS,CACT,QAAA,CAAS,yDAAyD,CACvE,CAAC,CAAA,CACA,QAAA,CACC,mGACF,EAAA,CAAA,ECtBF,IAOaG,CAAAA,CAPbC,CAAAA,CAAAN,EAAA,IAAA,CAAAC,CAAAA,EAAAA,CAOaI,CAAAA,CAA6BH,GAAAA,CACvC,OAAO,EAAE,CAAA,CACT,QAAA,CACC,8EACF,EAAA,CAAA,ECXF,IAOaK,CAAAA,CAaAC,CAAAA,CAaAC,EAmDAC,CAAAA,CAeAC,CAAAA,CAnGbC,CAAAA,CAAAZ,CAAAA,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AA,CAAcX,IACxB,MAAA,CAAO,CACN,OAAA,CAASA,GAAAA,CAAE,QAAO,CAAE,GAAA,EAAI,CAAE,QAAA,CAAS,kCAAkC,CAAA,CACrE,MAAA,CAAQA,GAAAA,CACL,MAAA,GACA,QAAA,EAAS,CACT,QAAA,CACC,0EACF,EACF,kBAAA,CAAoBc,GAAAA,CACjB,QAAA,EAAS,CACT,SACC,6GACF,CAAA,CACF,OAAA,CAASd,GAAAA,CACN,MAAK,CACL,QAAA,GACA,QAAA,CACC,qHACF,EACF,aAAA,CAAeA,GAAAA,CACZ,MAAA,EAAO,CACP,UAAS,CACT,QAAA,CACC,yFACF,CAAA,CACF,YAAaA,GAAAA,CACV,MAAA,EAAO,CACP,QAAA,GACA,QAAA,CACC,yGACF,CAAA,CACF,mBAAA,CAAqBA,IAClB,MAAA,EAAO,CACP,QAAA,EAAS,CACT,SACC,oGACF,CAAA,CACF,mBAAA,CAAqBA,GAAAA,CAClB,QAAO,CACP,QAAA,EAAS,CACT,QAAA,CACC,+EACF,CAAA,CACF,eAAA,CAAiBA,IACd,IAAA,EAAK,CACL,UAAS,CACT,QAAA,CAAS,2DAA2D,CAAA,CACvE,SAAUA,GAAAA,CACP,MAAA,EAAO,CACP,QAAA,GACA,QAAA,CACC,gKACF,CAAA,CACF,MAAA,CAAQA,IACL,MAAA,EAAO,CACP,QAAA,EAAS,CACT,SACC,mLACF,CAAA,CACF,oBAAA,CAAsBc,GAAAA,CACnB,UAAS,CACT,QAAA,CACC,iHACF,CAAA,CACF,UAAWd,GAAAA,CACR,IAAA,EAAK,CACL,QAAA,GACA,QAAA,CAAS,sDAAsD,CACpE,CAAC,CAAA,CACA,SACC,qJACF,EAAA,CAAA","file":"chunk-BCKSVMZ7.mjs","sourcesContent":["import { z } from \"@/shared/zod\";\n\n/**\n * Input schema for AlertAreas endpoint\n *\n * Return list of areas and associated IDs\n */\nexport const mapAreasInputSchema = z\n  .object({})\n  .describe(\n    \"Input for retrieving all available map areas with area codes and descriptions.\"\n  );\n\nexport type MapAreasInput = z.infer<typeof mapAreasInputSchema>;\n","import { z } from \"@/shared/zod\";\n\n/**\n * Schema for Area - represents a map area\n *\n * Return list of areas and associated IDs\n */\nexport const areaSchema = z\n  .object({\n    MapArea: z\n      .string()\n      .nullable()\n      .describe(\n        \"Map area identifier code for geographic filtering, or null when unavailable.\"\n      ),\n    MapAreaDescription: z\n      .string()\n      .nullable()\n      .describe(\"Display name of the map area, or null when unavailable.\"),\n  })\n  .describe(\n    \"Geographic map area with identifier code and display name for filtering highway alerts by region.\"\n  );\n\nexport type Area = z.infer<typeof areaSchema>;\n","import { z } from \"@/shared/zod\";\n\n/**\n * Input schema for EventCategories endpoint\n *\n * Selects an array of valid categories to use with SearchAlerts\n */\nexport const eventCategoriesInputSchema = z\n  .object({})\n  .describe(\n    \"Input for retrieving all available event category names for alert filtering.\"\n  );\n\nexport type EventCategoriesInput = z.infer<typeof eventCategoriesInputSchema>;\n","import { z } from \"@/shared/zod\";\n\n/**\n * Input schema for HighwayAlerts endpoint\n *\n * Retrieves an array of currently active incidents\n */\nexport const alertsInputSchema = z\n  .object({})\n  .describe(\n    \"Input for retrieving all currently active highway alerts statewide.\"\n  );\n\nexport type AlertsInput = z.infer<typeof alertsInputSchema>;\n\n/**\n * Input schema for HighwayAlert endpoint\n *\n * Retrieves a specific incident\n */\nexport const alertByIdInputSchema = z\n  .object({\n    AlertID: z.number().describe(\"Numeric ID of the highway alert.\"),\n  })\n  .describe(\"Input for retrieving a specific highway alert by ID.\");\n\nexport type AlertByIdInput = z.infer<typeof alertByIdInputSchema>;\n\n/**\n * Input schema for HighwayAlertsSearch endpoint\n *\n * Retrieves an array of incidents that match certain criteria\n */\nexport const searchAlertsInputSchema = z\n  .object({\n    StateRoute: z\n      .string()\n      .optional()\n      .describe(\n        \"State route identifier as three-digit number, or undefined to include all routes.\"\n      ),\n    Region: z\n      .number()\n      .int()\n      .optional()\n      .describe(\n        \"WSDOT region identifier code: 7 = Eastern, 8 = North Central, 9 = Northwest, 10 = Olympic, 11 = South Central, 12 = Southwest, or undefined to include all regions.\"\n      ),\n    SearchTimeStart: z\n      .string()\n      .optional()\n      .describe(\n        \"UTC datetime when the search time range begins, in ISO format, or undefined for no start limit.\"\n      ),\n    SearchTimeEnd: z\n      .string()\n      .optional()\n      .describe(\n        \"UTC datetime when the search time range ends, in ISO format, or undefined for no end limit.\"\n      ),\n    StartingMilepost: z\n      .number()\n      .optional()\n      .describe(\n        \"Starting milepost value for range filtering, or undefined for no start limit.\"\n      ),\n    EndingMilepost: z\n      .number()\n      .optional()\n      .describe(\n        \"Ending milepost value for range filtering, or undefined for no end limit.\"\n      ),\n  })\n  .describe(\n    \"Input for searching highway alerts by route, region, time range, and milepost range.\"\n  );\n\nexport type SearchAlertsInput = z.infer<typeof searchAlertsInputSchema>;\n\n/**\n * Input schema for HighwayAlertsByMapArea endpoint\n *\n * Return alerts for a specific area\n */\nexport const alertsByMapAreaInputSchema = z\n  .object({\n    MapArea: z\n      .string()\n      .describe(\"Map area identifier code for geographic filtering.\"),\n  })\n  .describe(\"Input for retrieving highway alerts filtered by map area code.\");\n\nexport type AlertsByMapAreaInput = z.infer<typeof alertsByMapAreaInputSchema>;\n\n/**\n * Input schema for HighwayAlertsByRegionID endpoint\n *\n * Return alerts for a specific region\n */\nexport const alertsByRegionIDInputSchema = z\n  .object({\n    RegionID: z\n      .number()\n      .describe(\n        \"WSDOT region identifier code: 7 = Eastern, 8 = North Central, 9 = Northwest, 10 = Olympic, 11 = South Central, 12 = Southwest.\"\n      ),\n  })\n  .describe(\"Input for retrieving highway alerts filtered by WSDOT region ID.\");\n\nexport type AlertsByRegionIDInput = z.infer<typeof alertsByRegionIDInputSchema>;\n","import { roadwayLocationSchema } from \"@/apis/shared\";\nimport { z } from \"@/shared/zod\";\n\n/**\n * Schema for Alert - represents a Highway Alert\n *\n * A Highway Alert.\n */\nexport const alertSchema = z\n  .object({\n    AlertID: z.number().int().describe(\"Numeric ID of the highway alert.\"),\n    County: z\n      .string()\n      .nullable()\n      .describe(\n        \"County name for countywide alerts, or null when alert is route-specific.\"\n      ),\n    EndRoadwayLocation: roadwayLocationSchema\n      .nullable()\n      .describe(\n        \"Roadway location where the alert ends, or null when alert is point-specific or end location is unavailable.\"\n      ),\n    EndTime: z\n      .date()\n      .nullable()\n      .describe(\n        \"UTC datetime when the alert impact is estimated to end, or null when end time is not estimated or alert is ongoing.\"\n      ),\n    EventCategory: z\n      .string()\n      .nullable()\n      .describe(\n        \"Category classification for the alert event type, or null when category is unavailable.\"\n      ),\n    EventStatus: z\n      .string()\n      .nullable()\n      .describe(\n        \"Code indicating alert status: 'Open' = active, 'Closed' = resolved, or null when status is unavailable.\"\n      ),\n    ExtendedDescription: z\n      .string()\n      .nullable()\n      .describe(\n        \"Additional detailed information about the alert, or null when extended description is unavailable.\"\n      ),\n    HeadlineDescription: z\n      .string()\n      .nullable()\n      .describe(\n        \"Primary description of the alert issue, or null when headline is unavailable.\"\n      ),\n    LastUpdatedTime: z\n      .date()\n      .nullable()\n      .describe(\"UTC datetime when the alert was last modified or updated.\"),\n    Priority: z\n      .string()\n      .nullable()\n      .describe(\n        \"Code indicating traffic impact priority: 'Highest' = severe, 'High' = significant, 'Medium' = moderate, 'Low' = minimal, or null when priority is unavailable.\"\n      ),\n    Region: z\n      .string()\n      .nullable()\n      .describe(\n        \"Code indicating WSDOT region: 'EA' = Eastern, 'NC' = North Central, 'NW' = Northwest, 'OL' = Olympic, 'SC' = South Central, 'SW' = Southwest, or null when region is unavailable.\"\n      ),\n    StartRoadwayLocation: roadwayLocationSchema\n      .nullable()\n      .describe(\n        \"Roadway location where the alert begins, or null when alert is point-specific or start location is unavailable.\"\n      ),\n    StartTime: z\n      .date()\n      .nullable()\n      .describe(\"UTC datetime when the alert impact on traffic began.\"),\n  })\n  .describe(\n    \"Highway alert with identification, event category, priority, location data, timestamps, and descriptions for traffic incidents and road conditions.\"\n  );\n\nexport type Alert = z.infer<typeof alertSchema>;\n"]}