@ampeco/public-api-mcp 3.101.12 → 3.102.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 +6 -6
- package/dist/generated/endpoints.json +133 -18
- package/dist/generated/response-schemas.json +172 -22
- package/dist/generated/schemas.d.ts +43 -38
- package/dist/generated/schemas.d.ts.map +1 -1
- package/dist/generated/schemas.js +12 -11
- package/dist/generated/schemas.js.map +1 -1
- package/dist/generated/schemas.ts +12 -11
- package/package.json +1 -1
|
@@ -842,7 +842,8 @@ export const chargePointCreateBody = z.object({
|
|
|
842
842
|
iccid: z.string().optional(),
|
|
843
843
|
imsi: z.string().optional(),
|
|
844
844
|
meterSerialNumber: z.string().optional(),
|
|
845
|
-
meterType: z.string().optional()
|
|
845
|
+
meterType: z.string().optional(),
|
|
846
|
+
lastUpdatedAt: z.string().datetime().optional()
|
|
846
847
|
}).optional(),
|
|
847
848
|
networkStatus: z.enum(["never_connected", "available", "temporarily_unavailable", "long-term_unavailable"]).optional(),
|
|
848
849
|
hardwareStatus: z.enum(["available", "unavailable", "faulted"]).optional(),
|
|
@@ -952,7 +953,7 @@ export const chargePointEvseCreateBody = z.object({
|
|
|
952
953
|
bookingEnabled: z.boolean().optional(),
|
|
953
954
|
powerOptions: z.object({
|
|
954
955
|
maxPower: z.number().int().optional(),
|
|
955
|
-
maxVoltage: z.enum(["230", "380", "400", "480", "120", "208", "240", "110-130", "220-240"]).optional(),
|
|
956
|
+
maxVoltage: z.enum(["230", "380", "400", "480", "120", "208", "240", "110-130", "220-240", "277"]).optional(),
|
|
956
957
|
maxAmperage: z.number().optional(),
|
|
957
958
|
phases: z.enum(["single_phase", "three_phase", "split_phase"]).optional(),
|
|
958
959
|
phaseRotation: z.enum(["RST", "RTS", "SRT", "STR", "TRS", "TSR"]).optional(),
|
|
@@ -978,7 +979,7 @@ export const chargePointEvseUpdateBody = z.object({
|
|
|
978
979
|
bookingEnabled: z.boolean().optional(),
|
|
979
980
|
powerOptions: z.object({
|
|
980
981
|
maxPower: z.number().int().optional(),
|
|
981
|
-
maxVoltage: z.enum(["230", "380", "400", "480", "120", "208", "240", "110-130", "220-240"]).optional(),
|
|
982
|
+
maxVoltage: z.enum(["230", "380", "400", "480", "120", "208", "240", "110-130", "220-240", "277"]).optional(),
|
|
982
983
|
maxAmperage: z.number().optional(),
|
|
983
984
|
phases: z.enum(["single_phase", "three_phase", "split_phase"]).optional(),
|
|
984
985
|
phaseRotation: z.enum(["RST", "RTS", "SRT", "STR", "TRS", "TSR"]).optional(),
|
|
@@ -1144,7 +1145,7 @@ export const chargePointSmartChargingUpdateBody = z.union([z.object({
|
|
|
1144
1145
|
preconditioningTime: z.number().int().optional(),
|
|
1145
1146
|
minCurrent: z.number().optional(),
|
|
1146
1147
|
enableKeepAwake: z.boolean().optional(),
|
|
1147
|
-
maxVoltage: z.enum(["230", "380", "400", "480", "120", "208", "240", "110-130", "220-240"]),
|
|
1148
|
+
maxVoltage: z.enum(["230", "380", "400", "480", "120", "208", "240", "110-130", "220-240", "277"]),
|
|
1148
1149
|
electricalConfiguration: z.enum(["star", "delta"]).optional(),
|
|
1149
1150
|
phases: z.enum(["single_phase", "three_phase", "split_phase"]),
|
|
1150
1151
|
phaseRotation: z.enum(["RST", "RTS", "SRT", "STR", "TRS", "TSR"]),
|
|
@@ -1156,7 +1157,7 @@ export const chargePointSmartChargingUpdateBody = z.union([z.object({
|
|
|
1156
1157
|
circuitId: z.number().int().optional(),
|
|
1157
1158
|
minCurrent: z.number().optional(),
|
|
1158
1159
|
enableKeepAwake: z.boolean().optional(),
|
|
1159
|
-
maxVoltage: z.enum(["230", "380", "400", "480", "120", "208", "240", "110-130", "220-240"]),
|
|
1160
|
+
maxVoltage: z.enum(["230", "380", "400", "480", "120", "208", "240", "110-130", "220-240", "277"]),
|
|
1160
1161
|
electricalConfiguration: z.enum(["star", "delta"]).optional(),
|
|
1161
1162
|
phases: z.enum(["single_phase", "three_phase", "split_phase"]),
|
|
1162
1163
|
phaseRotation: z.enum(["RST", "RTS", "SRT", "STR", "TRS", "TSR"]),
|
|
@@ -1168,7 +1169,7 @@ export const chargePointSmartChargingUpdateBody = z.union([z.object({
|
|
|
1168
1169
|
circuitId: z.number().int().optional(),
|
|
1169
1170
|
minCurrent: z.number(),
|
|
1170
1171
|
enableKeepAwake: z.boolean(),
|
|
1171
|
-
maxVoltage: z.enum(["230", "380", "400", "480", "120", "208", "240", "110-130", "220-240"]),
|
|
1172
|
+
maxVoltage: z.enum(["230", "380", "400", "480", "120", "208", "240", "110-130", "220-240", "277"]),
|
|
1172
1173
|
electricalConfiguration: z.enum(["star", "delta"]).optional(),
|
|
1173
1174
|
phases: z.enum(["single_phase", "three_phase", "split_phase"]),
|
|
1174
1175
|
phaseRotation: z.enum(["RST", "RTS", "SRT", "STR", "TRS", "TSR"]),
|
|
@@ -1236,7 +1237,7 @@ export const circuitCreateBody = z.object({
|
|
|
1236
1237
|
phaseRotation: z.enum(["RST", "RTS", "SRT", "STR", "TRS", "TSR"]).optional(),
|
|
1237
1238
|
connectedPhase: z.enum(["L1", "L2", "L3", "L1_L2", "L1_L3", "L2_L3"]).optional(),
|
|
1238
1239
|
electricalConfiguration: z.enum(["star", "delta"]).optional(),
|
|
1239
|
-
maxVoltage: z.enum(["230", "380", "400", "480", "120", "208", "240", "110-130", "220-240"]).optional(),
|
|
1240
|
+
maxVoltage: z.enum(["230", "380", "400", "480", "120", "208", "240", "110-130", "220-240", "277"]).optional(),
|
|
1240
1241
|
maxCurrent: z.number(),
|
|
1241
1242
|
minChargePointCurrent: z.number().optional(),
|
|
1242
1243
|
setSessionLimitToZeroOnIdle: z.boolean().optional(),
|
|
@@ -1265,7 +1266,7 @@ export const circuitUpdateBody = z.object({
|
|
|
1265
1266
|
phaseRotation: z.enum(["RST", "RTS", "SRT", "STR", "TRS", "TSR"]).optional(),
|
|
1266
1267
|
connectedPhase: z.enum(["L1", "L2", "L3", "L1_L2", "L1_L3", "L2_L3"]).optional(),
|
|
1267
1268
|
electricalConfiguration: z.enum(["star", "delta"]).optional(),
|
|
1268
|
-
maxVoltage: z.enum(["230", "380", "400", "480", "120", "208", "240", "110-130", "220-240"]).optional(),
|
|
1269
|
+
maxVoltage: z.enum(["230", "380", "400", "480", "120", "208", "240", "110-130", "220-240", "277"]).optional(),
|
|
1269
1270
|
maxCurrent: z.number().optional(),
|
|
1270
1271
|
minChargePointCurrent: z.number().optional(),
|
|
1271
1272
|
setSessionLimitToZeroOnIdle: z.boolean().optional(),
|
|
@@ -1711,7 +1712,7 @@ export const evseUpdateDeprecatedBody = z.object({
|
|
|
1711
1712
|
tariffGroupId: z.number().int().optional(),
|
|
1712
1713
|
allowsReservation: z.boolean(),
|
|
1713
1714
|
maxPowerKw: z.number().optional(),
|
|
1714
|
-
maxVoltage: z.intersection(z.enum(["230", "380", "400", "480", "120", "208", "240", "110-130", "220-240"]), z.unknown()),
|
|
1715
|
+
maxVoltage: z.intersection(z.enum(["230", "380", "400", "480", "120", "208", "240", "110-130", "220-240", "277"]), z.unknown()),
|
|
1715
1716
|
maxAmperage: z.number().optional(),
|
|
1716
1717
|
phases: z.enum(["single_phase", "three_phase"]),
|
|
1717
1718
|
phaseRotation: z.enum(["rst", "rts", "srt", "str", "trs", "tsr"]).optional(),
|
|
@@ -1740,7 +1741,7 @@ export const evseCreateBody = z.object({
|
|
|
1740
1741
|
bookingEnabled: z.boolean().optional(),
|
|
1741
1742
|
powerOptions: z.object({
|
|
1742
1743
|
maxPower: z.number().int().optional(),
|
|
1743
|
-
maxVoltage: z.enum(["230", "380", "400", "480", "120", "208", "240", "110-130", "220-240"]).optional(),
|
|
1744
|
+
maxVoltage: z.enum(["230", "380", "400", "480", "120", "208", "240", "110-130", "220-240", "277"]).optional(),
|
|
1744
1745
|
maxAmperage: z.number().optional(),
|
|
1745
1746
|
phases: z.enum(["single_phase", "three_phase", "split_phase"]).optional(),
|
|
1746
1747
|
phaseRotation: z.enum(["RST", "RTS", "SRT", "STR", "TRS", "TSR"]).optional(),
|
|
@@ -1766,7 +1767,7 @@ export const evseUpdateBody = z.object({
|
|
|
1766
1767
|
bookingEnabled: z.boolean().optional(),
|
|
1767
1768
|
powerOptions: z.object({
|
|
1768
1769
|
maxPower: z.number().int().optional(),
|
|
1769
|
-
maxVoltage: z.enum(["230", "380", "400", "480", "120", "208", "240", "110-130", "220-240"]).optional(),
|
|
1770
|
+
maxVoltage: z.enum(["230", "380", "400", "480", "120", "208", "240", "110-130", "220-240", "277"]).optional(),
|
|
1770
1771
|
maxAmperage: z.number().optional(),
|
|
1771
1772
|
phases: z.enum(["single_phase", "three_phase", "split_phase"]).optional(),
|
|
1772
1773
|
phaseRotation: z.enum(["RST", "RTS", "SRT", "STR", "TRS", "TSR"]).optional(),
|
package/package.json
CHANGED