@ampeco/public-api-mcp 3.105.8 → 3.106.1
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.
- package/dist/generated/build-stats.json +9 -9
- package/dist/generated/endpoints.json +145 -12
- package/dist/generated/response-schemas.json +295 -26
- package/dist/generated/schemas.d.ts +20 -0
- package/dist/generated/schemas.d.ts.map +1 -1
- package/dist/generated/schemas.js +10 -0
- package/dist/generated/schemas.js.map +1 -1
- package/dist/generated/schemas.ts +12 -0
- package/package.json +1 -1
|
@@ -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