@ampeco/public-api-mcp 3.103.12 → 3.103.13

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.
@@ -22,6 +22,11 @@ export const chargePointClearChargingProfileBody = z.object({
22
22
  stackLevel: z.number().optional()
23
23
  });
24
24
 
25
+ // POST /public-api/actions/charge-point/v1.0/{chargePoint}/disconnect
26
+ export const chargePointDisconnectBody = z.object({
27
+ reason: z.string().max(255)
28
+ });
29
+
25
30
  // POST /public-api/actions/charge-point/v1.0/{chargePoint}/get-diagnostics
26
31
  export const chargePointGetDiagnosticsBody = z.object({
27
32
  location: z.string(),
@@ -1402,6 +1407,13 @@ export const configurationTemplateVariableUpdateBody = z.union([z.object({
1402
1407
 
1403
1408
  // GET /public-api/resources/consents/v1.0
1404
1409
 
1410
+ // POST /public-api/resources/consents/v1.0
1411
+ export const consentsCreateBody = z.object({
1412
+ userId: z.number().int(),
1413
+ termVersionId: z.number().int(),
1414
+ status: z.enum(["agreed", "rejected"])
1415
+ });
1416
+
1405
1417
  // GET /public-api/resources/contact-details/v2.0
1406
1418
 
1407
1419
  // PUT /public-api/resources/contact-details/v2.0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ampeco/public-api-mcp",
3
- "version": "3.103.12",
3
+ "version": "3.103.13",
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",