@ampeco/public-api-mcp 3.237.0 → 3.238.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.
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"totalEndpoints": 637,
|
|
3
|
-
"originalSize":
|
|
4
|
-
"optimizedSize":
|
|
3
|
+
"originalSize": 5645795,
|
|
4
|
+
"optimizedSize": 1578038,
|
|
5
5
|
"reductionPercent": 72.05,
|
|
6
|
-
"buildDuration":
|
|
6
|
+
"buildDuration": 1477,
|
|
7
7
|
"responseSchemas": {
|
|
8
8
|
"total": 637,
|
|
9
9
|
"withSchemas": 637,
|
|
10
|
-
"totalSchemaSize":
|
|
11
|
-
"averageSchemaSize":
|
|
10
|
+
"totalSchemaSize": 3207637,
|
|
11
|
+
"averageSchemaSize": 5036
|
|
12
12
|
}
|
|
13
13
|
}
|
|
@@ -48748,6 +48748,7 @@
|
|
|
48748
48748
|
},
|
|
48749
48749
|
"rfidTagUid": {
|
|
48750
48750
|
"type": "string",
|
|
48751
|
+
"maxLength": 255,
|
|
48751
48752
|
"example": 123456,
|
|
48752
48753
|
"description": "Token used for authorization"
|
|
48753
48754
|
},
|
|
@@ -48886,6 +48887,7 @@
|
|
|
48886
48887
|
},
|
|
48887
48888
|
"rfidTagUid": {
|
|
48888
48889
|
"type": "string",
|
|
48890
|
+
"maxLength": 255,
|
|
48889
48891
|
"example": 123456,
|
|
48890
48892
|
"description": "Token used for authorization"
|
|
48891
48893
|
},
|
|
@@ -70977,7 +70979,7 @@
|
|
|
70977
70979
|
],
|
|
70978
70980
|
"info": {
|
|
70979
70981
|
"title": "Public API",
|
|
70980
|
-
"version": "3.
|
|
70982
|
+
"version": "3.238.0",
|
|
70981
70983
|
"description": "The Public API provides server-to-server integration capabilities for your EV charging platform.\n\n**Authentication.** Existing integrations continue to work unchanged — long-lived UUID admin tokens are sent in `Authorization: Bearer ...` with no exchange required. Two security schemes are documented for OpenAPI client tooling, both resulting in the same Bearer header at the wire level:\n - `bearerAuth` — the token in the `Authorization: Bearer ...` header is either a long-lived UUID admin token (issued via the admin UI, used directly) or a short-lived access token previously obtained via OAuth.\n - `oauth2ClientCredentials` - a `client_id` / `client_secret` pair should be exchanged for a short-lived access token at `/public-api/oauth/token` per RFC 6749 Section 4.4 (Client Credentials Grant), and the short-lived token should be used in the `Authorization: Bearer ...` header. The OAuth `client_secret` itself cannot be sent directly as a bearer token — it must be exchanged first.\n"
|
|
70982
70984
|
},
|
|
70983
70985
|
"servers": [
|
|
@@ -70991,18 +70993,18 @@
|
|
|
70991
70993
|
}
|
|
70992
70994
|
}
|
|
70993
70995
|
],
|
|
70994
|
-
"buildTimestamp": "2026-08-
|
|
70996
|
+
"buildTimestamp": "2026-08-25T09:46:24.215Z",
|
|
70995
70997
|
"stats": {
|
|
70996
70998
|
"totalEndpoints": 637,
|
|
70997
|
-
"originalSize":
|
|
70998
|
-
"optimizedSize":
|
|
70999
|
+
"originalSize": 5645795,
|
|
71000
|
+
"optimizedSize": 1578038,
|
|
70999
71001
|
"reductionPercent": 72.05,
|
|
71000
|
-
"buildDuration":
|
|
71002
|
+
"buildDuration": 1477,
|
|
71001
71003
|
"responseSchemas": {
|
|
71002
71004
|
"total": 637,
|
|
71003
71005
|
"withSchemas": 637,
|
|
71004
|
-
"totalSchemaSize":
|
|
71005
|
-
"averageSchemaSize":
|
|
71006
|
+
"totalSchemaSize": 3207637,
|
|
71007
|
+
"averageSchemaSize": 5036
|
|
71006
71008
|
}
|
|
71007
71009
|
}
|
|
71008
71010
|
}
|
|
@@ -117250,6 +117250,7 @@
|
|
|
117250
117250
|
},
|
|
117251
117251
|
"rfidTagUid": {
|
|
117252
117252
|
"type": "string",
|
|
117253
|
+
"maxLength": 255,
|
|
117253
117254
|
"description": "Token used for authorization",
|
|
117254
117255
|
"example": 123456
|
|
117255
117256
|
},
|
|
@@ -117458,6 +117459,7 @@
|
|
|
117458
117459
|
},
|
|
117459
117460
|
"rfidTagUid": {
|
|
117460
117461
|
"type": "string",
|
|
117462
|
+
"maxLength": 255,
|
|
117461
117463
|
"description": "Token used for authorization",
|
|
117462
117464
|
"example": 123456
|
|
117463
117465
|
},
|
|
@@ -117573,6 +117575,7 @@
|
|
|
117573
117575
|
},
|
|
117574
117576
|
"rfidTagUid": {
|
|
117575
117577
|
"type": "string",
|
|
117578
|
+
"maxLength": 255,
|
|
117576
117579
|
"description": "Token used for authorization",
|
|
117577
117580
|
"example": 123456
|
|
117578
117581
|
},
|
|
@@ -117709,6 +117712,7 @@
|
|
|
117709
117712
|
},
|
|
117710
117713
|
"rfidTagUid": {
|
|
117711
117714
|
"type": "string",
|
|
117715
|
+
"maxLength": 255,
|
|
117712
117716
|
"description": "Token used for authorization",
|
|
117713
117717
|
"example": 123456
|
|
117714
117718
|
},
|
|
@@ -4479,7 +4479,7 @@ export const reimbursementPolicyUpdateBody = z.object({
|
|
|
4479
4479
|
// POST /public-api/resources/rfid-tags/v1.0
|
|
4480
4480
|
export const rfidTagCreateDeprecatedBody = z.object({
|
|
4481
4481
|
id: z.number().int().optional(),
|
|
4482
|
-
rfidTagUid: z.string(),
|
|
4482
|
+
rfidTagUid: z.string().max(255),
|
|
4483
4483
|
rfidLabel: z.string().optional(),
|
|
4484
4484
|
expireAt: z.string().optional(),
|
|
4485
4485
|
createdAt: z.string().optional(),
|
|
@@ -4492,7 +4492,7 @@ export const rfidTagCreateDeprecatedBody = z.object({
|
|
|
4492
4492
|
// PATCH /public-api/resources/rfid-tags/v1.0/{rfidTag}
|
|
4493
4493
|
export const rfidTagUpdateDeprecatedBody = z.object({
|
|
4494
4494
|
id: z.number().int().optional(),
|
|
4495
|
-
rfidTagUid: z.string(),
|
|
4495
|
+
rfidTagUid: z.string().max(255),
|
|
4496
4496
|
rfidLabel: z.string().optional(),
|
|
4497
4497
|
expireAt: z.string().optional(),
|
|
4498
4498
|
createdAt: z.string().optional(),
|