@ampeco/public-api-mcp 3.238.1 → 3.239.0

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.
@@ -2417,7 +2417,7 @@ export const updateFlexibilityAssetBody = z.object({
2417
2417
  export const idTagCreateBody = z.object({
2418
2418
  operatorId: z.number().int().optional(),
2419
2419
  id: z.number().int().optional(),
2420
- idTagUid: z.string(),
2420
+ idTagUid: z.string().max(255),
2421
2421
  idLabel: z.string().optional(),
2422
2422
  expireAt: z.string().datetime().optional(),
2423
2423
  createdAt: z.string().datetime().optional(),
@@ -2425,6 +2425,7 @@ export const idTagCreateBody = z.object({
2425
2425
  type: z.enum(["rfid", "mac_address"]),
2426
2426
  rfidStandard: z.enum(["iso14443", "iso15693"]).optional(),
2427
2427
  vehicleType: z.union([z.null(), z.literal("company_car"), z.literal("private_car")]).optional(),
2428
+ isHomeChargingOnly: z.boolean().optional(),
2428
2429
  paymentMethodId: z.string().optional(),
2429
2430
  defaultPaymentOption: z.string().optional(),
2430
2431
  userId: z.number().int().optional(),
@@ -2441,7 +2442,7 @@ export const idTagCreateBody = z.object({
2441
2442
  // PATCH /public-api/resources/id-tags/v2.0/{idTag}
2442
2443
  export const idTagUpdateBody = z.object({
2443
2444
  id: z.number().int().optional(),
2444
- idTagUid: z.string().optional(),
2445
+ idTagUid: z.string().max(255).optional(),
2445
2446
  idLabel: z.string().optional(),
2446
2447
  userLabel: z.string().optional(),
2447
2448
  expireAt: z.string().datetime().optional(),
@@ -2450,6 +2451,7 @@ export const idTagUpdateBody = z.object({
2450
2451
  type: z.enum(["rfid", "mac_address"]).optional(),
2451
2452
  rfidStandard: z.enum(["iso14443", "iso15693"]).optional(),
2452
2453
  vehicleType: z.union([z.null(), z.literal("company_car"), z.literal("private_car")]).optional(),
2454
+ isHomeChargingOnly: z.boolean().optional(),
2453
2455
  paymentMethodId: z.string().optional(),
2454
2456
  defaultPaymentOption: z.string().optional(),
2455
2457
  userId: z.number().int().optional(),
@@ -2770,6 +2772,7 @@ export const locationCreateBody = z.object({
2770
2772
  postCode: z.string().optional(),
2771
2773
  timezone: z.string().optional(),
2772
2774
  parkingType: z.enum(["ALONG_MOTORWAY", "PARKING_GARAGE", "PARKING_LOT", "ON_DRIVEWAY", "ON_STREET", "UNDERGROUND_GARAGE", "IS_TENT", "SECURE"]).optional(),
2775
+ accessibilityType: z.enum(["free_publicly_accessible", "restricted_access", "paid_publicly_accessible"]).optional(),
2773
2776
  accessMethods: z.array(z.enum(["OPEN", "TOKEN", "LICENSE_PLATE", "ACCESS_CODE", "INTERCOM", "PARKING_TICKET"])).optional(),
2774
2777
  facilities: z.array(z.enum(["AIRPORT", "BATHROOM", "BIKE_SHARING", "BUS_STOP", "CAFE", "CARPOOL_PARKING", "FUEL_STATION", "HOTEL", "MALL", "METRO_STATION", "MUSEUM", "NATURE", "PARKING_LOT", "RECREATION_AREA", "RESTAURANT", "SPORT", "STAFFED", "SUPERMARKET", "TAXI_STAND", "TRAIN_STATION", "TRAM_STOP", "WIFI"])).optional(),
2775
2778
  paymentOptions: z.array(z.enum(["EMV_CHIP_TERMINAL", "NFC_CONTACTLESS_TERMINAL", "QR_CODE_PAYMENT", "WEB_PAYMENT", "CASH_PAYMENT"])).optional(),
@@ -2858,6 +2861,7 @@ export const locationUpdateBody = z.object({
2858
2861
  postCode: z.string().optional(),
2859
2862
  timezone: z.string().optional(),
2860
2863
  parkingType: z.enum(["ALONG_MOTORWAY", "PARKING_GARAGE", "PARKING_LOT", "ON_DRIVEWAY", "ON_STREET", "UNDERGROUND_GARAGE", "IS_TENT", "SECURE"]).optional(),
2864
+ accessibilityType: z.enum(["free_publicly_accessible", "restricted_access", "paid_publicly_accessible"]).optional(),
2861
2865
  accessMethods: z.array(z.enum(["OPEN", "TOKEN", "LICENSE_PLATE", "ACCESS_CODE", "INTERCOM", "PARKING_TICKET"])).optional(),
2862
2866
  facilities: z.array(z.enum(["AIRPORT", "BATHROOM", "BIKE_SHARING", "BUS_STOP", "CAFE", "CARPOOL_PARKING", "FUEL_STATION", "HOTEL", "MALL", "METRO_STATION", "MUSEUM", "NATURE", "PARKING_LOT", "RECREATION_AREA", "RESTAURANT", "SPORT", "STAFFED", "SUPERMARKET", "TAXI_STAND", "TRAIN_STATION", "TRAM_STOP", "WIFI"])).optional(),
2863
2867
  workingHours: z.object({
@@ -4949,7 +4953,7 @@ export const reimbursementPolicyUpdateBody = z.object({
4949
4953
  // POST /public-api/resources/rfid-tags/v1.0
4950
4954
  export const rfidTagCreateDeprecatedBody = z.object({
4951
4955
  id: z.number().int().optional(),
4952
- rfidTagUid: z.string().max(255),
4956
+ rfidTagUid: z.string(),
4953
4957
  rfidLabel: z.string().optional(),
4954
4958
  expireAt: z.string().optional(),
4955
4959
  createdAt: z.string().optional(),
@@ -4965,7 +4969,7 @@ export const rfidTagCreateDeprecatedBody = z.object({
4965
4969
  // PATCH /public-api/resources/rfid-tags/v1.0/{rfidTag}
4966
4970
  export const rfidTagUpdateDeprecatedBody = z.object({
4967
4971
  id: z.number().int().optional(),
4968
- rfidTagUid: z.string().max(255),
4972
+ rfidTagUid: z.string(),
4969
4973
  rfidLabel: z.string().optional(),
4970
4974
  expireAt: z.string().optional(),
4971
4975
  createdAt: z.string().optional(),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ampeco/public-api-mcp",
3
- "version": "3.238.1",
3
+ "version": "3.239.0",
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",