@ampeco/public-api-mcp 3.106.3 → 3.106.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -599,17 +599,17 @@ export const bookingRequestCreateBody = z.union([z.object({
599
599
  endAt: z.string().datetime(),
600
600
  evseId: z.number().int().optional(),
601
601
  evseCriteria: z.object({
602
- currentType: z.union([z.enum(["ac", "dc"]), z.null()]).optional(),
602
+ currentType: z.enum(["ac", "dc"]).optional(),
603
603
  minPower: z.number().optional(),
604
604
  maxPower: z.number().optional(),
605
- connectorType: z.union([z.enum(["type1", "type2", "type3", "chademo", "ccs1", "ccs2", "schuko", "nacs", "cee16", "cee32", "j1772", "inductive", "nema-5-20", "type-e-french", "type-g-british", "type-j-swiss", "avcon", "gb-t-ac", "gb-t-dc", "chaoji", "nema-6-30", "nema-6-50"]), z.null()]).optional()
605
+ connectorType: z.enum(["type1", "type2", "type3", "chademo", "ccs1", "ccs2", "schuko", "nacs", "cee16", "cee32", "j1772", "inductive", "nema-5-20", "type-e-french", "type-g-british", "type-j-swiss", "avcon", "gb-t-ac", "gb-t-dc", "chaoji", "nema-6-30", "nema-6-50"]).optional()
606
606
  }).optional(),
607
607
  parkingSpaceCriteria: z.object({
608
608
  vehicleWeightKg: z.number().int().min(1).optional(),
609
609
  vehicleHeightCm: z.number().int().min(1).optional(),
610
610
  vehicleLengthCm: z.number().int().min(1).optional(),
611
611
  vehicleWidthCm: z.number().int().min(1).optional(),
612
- vehicleType: z.union([z.enum(["two_and_three_wheel_vehicles_and_quadricycles", "passenger_vehicles", "passenger_vehicles_with_trailer", "light_duty_vans", "heavy_duty_tractor_units_without_trailer", "heavy_duty_trucks_without_articulation_point", "heavy_duty_trucks_with_trailer_attached", "buses_or_motor_coaches"]), z.null()]).optional(),
612
+ vehicleType: z.enum(["two_and_three_wheel_vehicles_and_quadricycles", "passenger_vehicles", "passenger_vehicles_with_trailer", "light_duty_vans", "heavy_duty_tractor_units_without_trailer", "heavy_duty_trucks_without_articulation_point", "heavy_duty_trucks_with_trailer_attached", "buses_or_motor_coaches"]).optional(),
613
613
  driveThroughRequired: z.boolean().optional(),
614
614
  refrigerationOutletRequired: z.boolean().optional(),
615
615
  dangerousGoodsAllowed: z.boolean().optional()
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ampeco/public-api-mcp",
3
- "version": "3.106.3",
3
+ "version": "3.106.4",
4
4
  "description": "MCP server that dynamically exposes the AMPECO.CHARGE Public API defined by an OpenAPI 3 specification",
5
5
  "type": "module",
6
6
  "main": "dist/cli/index.js",