@ampeco/public-api-mcp 3.249.0 → 3.250.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.
@@ -45,7 +45,7 @@ export const chargePointGetCompositeScheduleBody = z.object({
45
45
 
46
46
  // POST /public-api/actions/charge-point/v1.0/{chargePoint}/get-diagnostics
47
47
  export const chargePointGetDiagnosticsBody = z.object({
48
- location: z.string(),
48
+ location: z.string().optional(),
49
49
  start: z.string().datetime().optional(),
50
50
  stop: z.string().datetime().optional()
51
51
  });
@@ -5739,6 +5739,8 @@ export const tariffCreateBody = z.object({
5739
5739
  applyToAdHocOperatorIds: z.array(z.number().int().min(1)).optional(),
5740
5740
  applyToUsersOfPartners: z.array(z.number()).optional(),
5741
5741
  applyToUsersWithGroups: z.array(z.string()).optional(),
5742
+ applyToHomeChargingOwner: z.boolean().optional(),
5743
+ applyToHomeChargingSharedUsers: z.boolean().optional(),
5742
5744
  applyToUserGroupIds: z.array(z.number()).optional(),
5743
5745
  applyToUsersWithSubscriptions: z.array(z.number()).optional(),
5744
5746
  applyToAuthorizationMethods: z.array(z.enum(["id_tag", "mac_address", "user_device", "plug_and_charge", "plug_and_charge_iso15118"])).optional(),
@@ -5930,6 +5932,8 @@ export const tariffUpdateBody = z.object({
5930
5932
  applyToAdHocOperatorIds: z.array(z.number().int().min(1)).optional(),
5931
5933
  applyToUsersOfPartners: z.array(z.number()).optional(),
5932
5934
  applyToUsersWithGroups: z.array(z.string()).optional(),
5935
+ applyToHomeChargingOwner: z.boolean().optional(),
5936
+ applyToHomeChargingSharedUsers: z.boolean().optional(),
5933
5937
  applyToUserGroupIds: z.array(z.number()).optional(),
5934
5938
  applyToUsersWithSubscriptions: z.array(z.number()).optional(),
5935
5939
  applyToAuthorizationMethods: z.array(z.enum(["id_tag", "mac_address", "user_device", "plug_and_charge", "plug_and_charge_iso15118"])).optional(),
@@ -6121,6 +6125,8 @@ export const tariffPartialUpdateBody = z.object({
6121
6125
  applyToAdHocOperatorIds: z.array(z.number().int().min(1)).optional(),
6122
6126
  applyToUsersOfPartners: z.array(z.number()).optional(),
6123
6127
  applyToUsersWithGroups: z.array(z.string()).optional(),
6128
+ applyToHomeChargingOwner: z.boolean().optional(),
6129
+ applyToHomeChargingSharedUsers: z.boolean().optional(),
6124
6130
  applyToUserGroupIds: z.array(z.number()).optional(),
6125
6131
  applyToUsersWithSubscriptions: z.array(z.number()).optional(),
6126
6132
  applyToAuthorizationMethods: z.array(z.enum(["id_tag", "mac_address", "user_device", "plug_and_charge", "plug_and_charge_iso15118"])).optional(),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ampeco/public-api-mcp",
3
- "version": "3.249.0",
3
+ "version": "3.250.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",