@ampeco/public-api-mcp 3.251.10 → 3.252.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.
- package/dist/generated/build-stats.json +9 -9
- package/dist/generated/endpoints.json +367 -48
- package/dist/generated/response-schemas.json +781 -38
- package/dist/generated/schemas.d.ts +88 -15
- package/dist/generated/schemas.d.ts.map +1 -1
- package/dist/generated/schemas.js +27 -5
- package/dist/generated/schemas.js.map +1 -1
- package/dist/generated/schemas.ts +30 -5
- package/package.json +1 -1
|
@@ -3022,6 +3022,10 @@ export const locationNoteUpdateBody = z.object({
|
|
|
3022
3022
|
pinned: z.boolean().optional()
|
|
3023
3023
|
});
|
|
3024
3024
|
|
|
3025
|
+
// GET /public-api/resources/ocpi-commands/v1.0
|
|
3026
|
+
|
|
3027
|
+
// GET /public-api/resources/ocpi-commands/v1.0/{ocpiCommand}
|
|
3028
|
+
|
|
3025
3029
|
// GET /public-api/resources/operators/v1.0
|
|
3026
3030
|
|
|
3027
3031
|
// GET /public-api/resources/operators/v1.0/{operator}
|
|
@@ -5728,9 +5732,11 @@ export const tariffCreateBody = z.object({
|
|
|
5728
5732
|
})).optional()
|
|
5729
5733
|
}).optional(),
|
|
5730
5734
|
stopSession: z.object({
|
|
5731
|
-
|
|
5732
|
-
|
|
5733
|
-
|
|
5735
|
+
stopWhenPreAuthorizedAmountFallsBelow: z.number().min(0).optional(),
|
|
5736
|
+
autoStopAmount: z.number().min(0).optional()
|
|
5737
|
+
}).optional(),
|
|
5738
|
+
startSessionRestrictions: z.object({
|
|
5739
|
+
minimumBalance: z.number().min(0).optional()
|
|
5734
5740
|
}).optional(),
|
|
5735
5741
|
restrictions: z.object({
|
|
5736
5742
|
applyToUsersOfChargePointOwner: z.boolean().optional(),
|
|
@@ -5923,7 +5929,12 @@ export const tariffUpdateBody = z.object({
|
|
|
5923
5929
|
stopSession: z.object({
|
|
5924
5930
|
timeLimitMinutes: z.number().optional(),
|
|
5925
5931
|
stopWhenEnergyExceedsKwh: z.number().optional(),
|
|
5926
|
-
stopWhenSocExceedsPercent: z.number().int().min(70).max(99).optional()
|
|
5932
|
+
stopWhenSocExceedsPercent: z.number().int().min(70).max(99).optional(),
|
|
5933
|
+
stopWhenPreAuthorizedAmountFallsBelow: z.number().min(0).optional(),
|
|
5934
|
+
autoStopAmount: z.number().min(0).optional()
|
|
5935
|
+
}).optional(),
|
|
5936
|
+
startSessionRestrictions: z.object({
|
|
5937
|
+
minimumBalance: z.number().min(0).optional()
|
|
5927
5938
|
}).optional(),
|
|
5928
5939
|
restrictions: z.object({
|
|
5929
5940
|
applyToUsersOfChargePointOwner: z.boolean().optional(),
|
|
@@ -6116,7 +6127,12 @@ export const tariffPartialUpdateBody = z.object({
|
|
|
6116
6127
|
stopSession: z.object({
|
|
6117
6128
|
timeLimitMinutes: z.number().optional(),
|
|
6118
6129
|
stopWhenEnergyExceedsKwh: z.number().optional(),
|
|
6119
|
-
stopWhenSocExceedsPercent: z.number().int().min(70).max(99).optional()
|
|
6130
|
+
stopWhenSocExceedsPercent: z.number().int().min(70).max(99).optional(),
|
|
6131
|
+
stopWhenPreAuthorizedAmountFallsBelow: z.number().min(0).optional(),
|
|
6132
|
+
autoStopAmount: z.number().min(0).optional()
|
|
6133
|
+
}).optional(),
|
|
6134
|
+
startSessionRestrictions: z.object({
|
|
6135
|
+
minimumBalance: z.number().min(0).optional()
|
|
6120
6136
|
}).optional(),
|
|
6121
6137
|
restrictions: z.object({
|
|
6122
6138
|
applyToUsersOfChargePointOwner: z.boolean().optional(),
|
|
@@ -6653,6 +6669,15 @@ export const userGroupCreateBody = z.object({
|
|
|
6653
6669
|
|
|
6654
6670
|
// GET /public-api/resources/user-groups/v1.0/{userGroup}
|
|
6655
6671
|
|
|
6672
|
+
// PUT /public-api/resources/user-groups/v1.0/{userGroup}
|
|
6673
|
+
export const userGroupReplaceBody = z.object({
|
|
6674
|
+
name: z.string(),
|
|
6675
|
+
partnerId: z.number().int().optional(),
|
|
6676
|
+
description: z.string().max(2000).optional(),
|
|
6677
|
+
externalId: z.string().max(255).optional(),
|
|
6678
|
+
lastUpdatedAt: z.string().datetime().optional()
|
|
6679
|
+
});
|
|
6680
|
+
|
|
6656
6681
|
// DELETE /public-api/resources/user-groups/v1.0/{userGroup}
|
|
6657
6682
|
|
|
6658
6683
|
// PATCH /public-api/resources/user-groups/v1.0/{userGroup}
|
package/package.json
CHANGED