@ampeco/public-api-mcp 3.255.1 → 3.256.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 +96 -24
- package/dist/generated/response-schemas.json +547 -24
- package/dist/generated/schemas.d.ts +34 -21
- package/dist/generated/schemas.d.ts.map +1 -1
- package/dist/generated/schemas.js +13 -7
- package/dist/generated/schemas.js.map +1 -1
- package/dist/generated/schemas.ts +14 -7
- package/package.json +1 -1
|
@@ -414,7 +414,7 @@ export const locationCheckBookingAvailabilityBody = z.object({
|
|
|
414
414
|
|
|
415
415
|
// POST /public-api/actions/notifications/v1.0/{notification}/resend
|
|
416
416
|
export const notificationsResendFailedBody = z.object({
|
|
417
|
-
notifications: z.array(z.enum(["AuthorizationNotification", "authorization.changed", "BootNotification", "ChargePointChangedNotification", "chargePoint.changed", "evse.changed", "ChargePointSyncConfigurationNotification", "CircuitConsumptionNotification", "circuit.changed", "DiagnosticsStatusNotification", "FirmwareStatusNotification", "HardwareStatusNotification", "LocationChangedNotification", "NetworkStatusNotification", "SecurityEventNotification", "SessionMeterValuesNotification", "SessionStartStopNotification", "session.start.stop.notification", "SessionUpdateNotification", "session.chargingPeriod.changed", "UserChangedNotification", "SubOperatorChangedNotification", "TariffChangedNotification", "tariffGroup.changed", "user.subscriptionChanged", "user.subscription.changed", "ReservationChangedNotification", "PaymentMethodChangedNotification", "PartnerInviteChangedNotification", "reservation.changed", "user.paymentMethod.changed", "userBalance.changed", "partnerInvite.changed", "partnerInviteCorporateBillingPolicy.changed", "roamingPlatform.changed", "parkingSpace.occupancyStatus.changed", "partner.changed", "transaction.changed", "settlementReport.created", "idTag.changed", "issue.changed", "chargePoint.dataTransferReceived", "subscriptionPlan.changed", "user.invoiceDetails.changed", "cdr.received", "chargingProfile.applied", "installerJob.changed", "corporateBilling.limitReached"])),
|
|
417
|
+
notifications: z.array(z.enum(["AuthorizationNotification", "authorization.changed", "BootNotification", "ChargePointChangedNotification", "chargePoint.changed", "evse.changed", "ChargePointSyncConfigurationNotification", "CircuitConsumptionNotification", "circuit.changed", "DiagnosticsStatusNotification", "FirmwareStatusNotification", "HardwareStatusNotification", "LocationChangedNotification", "NetworkStatusNotification", "SecurityEventNotification", "SessionMeterValuesNotification", "SessionStartStopNotification", "session.start.stop.notification", "SessionUpdateNotification", "session.chargingPeriod.changed", "UserChangedNotification", "user.UserGroup.changed", "SubOperatorChangedNotification", "TariffChangedNotification", "tariffGroup.changed", "user.subscriptionChanged", "user.subscription.changed", "ReservationChangedNotification", "PaymentMethodChangedNotification", "PartnerInviteChangedNotification", "reservation.changed", "user.paymentMethod.changed", "userBalance.changed", "partnerInvite.changed", "partnerInviteCorporateBillingPolicy.changed", "roamingPlatform.changed", "parkingSpace.occupancyStatus.changed", "partner.changed", "transaction.changed", "settlementReport.created", "idTag.changed", "issue.changed", "chargePoint.dataTransferReceived", "subscriptionPlan.changed", "user.invoiceDetails.changed", "cdr.received", "chargingProfile.applied", "installerJob.changed", "corporateBilling.limitReached"])),
|
|
418
418
|
startTime: z.string().optional(),
|
|
419
419
|
endTime: z.string().optional()
|
|
420
420
|
});
|
|
@@ -639,6 +639,11 @@ export const transactionCreatePreAuthorizationBody = z.union([z.object({
|
|
|
639
639
|
locale: z.string().optional()
|
|
640
640
|
}).strict()]);
|
|
641
641
|
|
|
642
|
+
// POST /public-api/actions/transaction/v1.0/{transaction}/set-custom-fields
|
|
643
|
+
export const transactionSetCustomFieldsBody = z.object({
|
|
644
|
+
customFields: z.record(z.unknown())
|
|
645
|
+
}).strict();
|
|
646
|
+
|
|
642
647
|
// POST /public-api/actions/transactions/v1.0/{transaction}/issue-invoice
|
|
643
648
|
export const transactionIssueInvoiceBody = z.object({
|
|
644
649
|
email: z.string().optional(),
|
|
@@ -746,7 +751,7 @@ export const userRedeemVoucherBody = z.object({
|
|
|
746
751
|
|
|
747
752
|
// POST /public-api/notifications/v1.0
|
|
748
753
|
export const notificationsSubscribeDeprecatedBody = z.object({
|
|
749
|
-
notifications: z.array(z.enum(["AuthorizationNotification", "authorization.changed", "BootNotification", "ChargePointChangedNotification", "chargePoint.changed", "evse.changed", "ChargePointSyncConfigurationNotification", "CircuitConsumptionNotification", "circuit.changed", "DiagnosticsStatusNotification", "FirmwareStatusNotification", "HardwareStatusNotification", "LocationChangedNotification", "NetworkStatusNotification", "SecurityEventNotification", "SessionMeterValuesNotification", "SessionStartStopNotification", "session.start.stop.notification", "SessionUpdateNotification", "session.chargingPeriod.changed", "UserChangedNotification", "SubOperatorChangedNotification", "TariffChangedNotification", "tariffGroup.changed", "user.subscriptionChanged", "user.subscription.changed", "ReservationChangedNotification", "PaymentMethodChangedNotification", "PartnerInviteChangedNotification", "reservation.changed", "user.paymentMethod.changed", "userBalance.changed", "partnerInvite.changed", "partnerInviteCorporateBillingPolicy.changed", "roamingPlatform.changed", "parkingSpace.occupancyStatus.changed", "partner.changed", "transaction.changed", "settlementReport.created", "idTag.changed", "issue.changed", "chargePoint.dataTransferReceived", "subscriptionPlan.changed", "user.invoiceDetails.changed", "cdr.received", "chargingProfile.applied", "installerJob.changed", "corporateBilling.limitReached"])),
|
|
754
|
+
notifications: z.array(z.enum(["AuthorizationNotification", "authorization.changed", "BootNotification", "ChargePointChangedNotification", "chargePoint.changed", "evse.changed", "ChargePointSyncConfigurationNotification", "CircuitConsumptionNotification", "circuit.changed", "DiagnosticsStatusNotification", "FirmwareStatusNotification", "HardwareStatusNotification", "LocationChangedNotification", "NetworkStatusNotification", "SecurityEventNotification", "SessionMeterValuesNotification", "SessionStartStopNotification", "session.start.stop.notification", "SessionUpdateNotification", "session.chargingPeriod.changed", "UserChangedNotification", "user.UserGroup.changed", "SubOperatorChangedNotification", "TariffChangedNotification", "tariffGroup.changed", "user.subscriptionChanged", "user.subscription.changed", "ReservationChangedNotification", "PaymentMethodChangedNotification", "PartnerInviteChangedNotification", "reservation.changed", "user.paymentMethod.changed", "userBalance.changed", "partnerInvite.changed", "partnerInviteCorporateBillingPolicy.changed", "roamingPlatform.changed", "parkingSpace.occupancyStatus.changed", "partner.changed", "transaction.changed", "settlementReport.created", "idTag.changed", "issue.changed", "chargePoint.dataTransferReceived", "subscriptionPlan.changed", "user.invoiceDetails.changed", "cdr.received", "chargingProfile.applied", "installerJob.changed", "corporateBilling.limitReached"])),
|
|
750
755
|
callbackUrl: z.string().url().max(500)
|
|
751
756
|
});
|
|
752
757
|
|
|
@@ -754,7 +759,7 @@ export const notificationsSubscribeDeprecatedBody = z.object({
|
|
|
754
759
|
|
|
755
760
|
// PUT /public-api/notifications/v1.0/{notification}
|
|
756
761
|
export const notificationsUpdateDeprecatedBody = z.object({
|
|
757
|
-
notifications: z.array(z.enum(["AuthorizationNotification", "authorization.changed", "BootNotification", "ChargePointChangedNotification", "chargePoint.changed", "evse.changed", "ChargePointSyncConfigurationNotification", "CircuitConsumptionNotification", "circuit.changed", "DiagnosticsStatusNotification", "FirmwareStatusNotification", "HardwareStatusNotification", "LocationChangedNotification", "NetworkStatusNotification", "SecurityEventNotification", "SessionMeterValuesNotification", "SessionStartStopNotification", "session.start.stop.notification", "SessionUpdateNotification", "session.chargingPeriod.changed", "UserChangedNotification", "SubOperatorChangedNotification", "TariffChangedNotification", "tariffGroup.changed", "user.subscriptionChanged", "user.subscription.changed", "ReservationChangedNotification", "PaymentMethodChangedNotification", "PartnerInviteChangedNotification", "reservation.changed", "user.paymentMethod.changed", "userBalance.changed", "partnerInvite.changed", "partnerInviteCorporateBillingPolicy.changed", "roamingPlatform.changed", "parkingSpace.occupancyStatus.changed", "partner.changed", "transaction.changed", "settlementReport.created", "idTag.changed", "issue.changed", "chargePoint.dataTransferReceived", "subscriptionPlan.changed", "user.invoiceDetails.changed", "cdr.received", "chargingProfile.applied", "installerJob.changed", "corporateBilling.limitReached"])),
|
|
762
|
+
notifications: z.array(z.enum(["AuthorizationNotification", "authorization.changed", "BootNotification", "ChargePointChangedNotification", "chargePoint.changed", "evse.changed", "ChargePointSyncConfigurationNotification", "CircuitConsumptionNotification", "circuit.changed", "DiagnosticsStatusNotification", "FirmwareStatusNotification", "HardwareStatusNotification", "LocationChangedNotification", "NetworkStatusNotification", "SecurityEventNotification", "SessionMeterValuesNotification", "SessionStartStopNotification", "session.start.stop.notification", "SessionUpdateNotification", "session.chargingPeriod.changed", "UserChangedNotification", "user.UserGroup.changed", "SubOperatorChangedNotification", "TariffChangedNotification", "tariffGroup.changed", "user.subscriptionChanged", "user.subscription.changed", "ReservationChangedNotification", "PaymentMethodChangedNotification", "PartnerInviteChangedNotification", "reservation.changed", "user.paymentMethod.changed", "userBalance.changed", "partnerInvite.changed", "partnerInviteCorporateBillingPolicy.changed", "roamingPlatform.changed", "parkingSpace.occupancyStatus.changed", "partner.changed", "transaction.changed", "settlementReport.created", "idTag.changed", "issue.changed", "chargePoint.dataTransferReceived", "subscriptionPlan.changed", "user.invoiceDetails.changed", "cdr.received", "chargingProfile.applied", "installerJob.changed", "corporateBilling.limitReached"])),
|
|
758
763
|
callbackUrl: z.string().url().max(500)
|
|
759
764
|
});
|
|
760
765
|
|
|
@@ -766,7 +771,7 @@ export const notificationsUpdateDeprecatedBody = z.object({
|
|
|
766
771
|
export const notificationsSubscribeBody = z.object({
|
|
767
772
|
id: z.number(),
|
|
768
773
|
via: z.enum(["webhook", "kafka"]),
|
|
769
|
-
notifications: z.array(z.enum(["AuthorizationNotification", "authorization.changed", "BootNotification", "ChargePointChangedNotification", "chargePoint.changed", "evse.changed", "ChargePointSyncConfigurationNotification", "CircuitConsumptionNotification", "circuit.changed", "DiagnosticsStatusNotification", "FirmwareStatusNotification", "HardwareStatusNotification", "LocationChangedNotification", "NetworkStatusNotification", "SecurityEventNotification", "SessionMeterValuesNotification", "SessionStartStopNotification", "session.start.stop.notification", "SessionUpdateNotification", "session.chargingPeriod.changed", "UserChangedNotification", "SubOperatorChangedNotification", "TariffChangedNotification", "tariffGroup.changed", "user.subscriptionChanged", "user.subscription.changed", "ReservationChangedNotification", "PaymentMethodChangedNotification", "PartnerInviteChangedNotification", "reservation.changed", "user.paymentMethod.changed", "userBalance.changed", "partnerInvite.changed", "partnerInviteCorporateBillingPolicy.changed", "roamingPlatform.changed", "parkingSpace.occupancyStatus.changed", "partner.changed", "transaction.changed", "settlementReport.created", "idTag.changed", "issue.changed", "chargePoint.dataTransferReceived", "subscriptionPlan.changed", "user.invoiceDetails.changed", "cdr.received", "chargingProfile.applied", "installerJob.changed", "corporateBilling.limitReached"])),
|
|
774
|
+
notifications: z.array(z.enum(["AuthorizationNotification", "authorization.changed", "BootNotification", "ChargePointChangedNotification", "chargePoint.changed", "evse.changed", "ChargePointSyncConfigurationNotification", "CircuitConsumptionNotification", "circuit.changed", "DiagnosticsStatusNotification", "FirmwareStatusNotification", "HardwareStatusNotification", "LocationChangedNotification", "NetworkStatusNotification", "SecurityEventNotification", "SessionMeterValuesNotification", "SessionStartStopNotification", "session.start.stop.notification", "SessionUpdateNotification", "session.chargingPeriod.changed", "UserChangedNotification", "user.UserGroup.changed", "SubOperatorChangedNotification", "TariffChangedNotification", "tariffGroup.changed", "user.subscriptionChanged", "user.subscription.changed", "ReservationChangedNotification", "PaymentMethodChangedNotification", "PartnerInviteChangedNotification", "reservation.changed", "user.paymentMethod.changed", "userBalance.changed", "partnerInvite.changed", "partnerInviteCorporateBillingPolicy.changed", "roamingPlatform.changed", "parkingSpace.occupancyStatus.changed", "partner.changed", "transaction.changed", "settlementReport.created", "idTag.changed", "issue.changed", "chargePoint.dataTransferReceived", "subscriptionPlan.changed", "user.invoiceDetails.changed", "cdr.received", "chargingProfile.applied", "installerJob.changed", "corporateBilling.limitReached"])),
|
|
770
775
|
includeTimestampInSignature: z.boolean().optional(),
|
|
771
776
|
skipRoamingInfrastructure: z.boolean().optional(),
|
|
772
777
|
suppressSelfNotifications: z.boolean().optional(),
|
|
@@ -790,7 +795,7 @@ export const notificationsSubscribeBody = z.object({
|
|
|
790
795
|
export const notificationsCreateBody = z.object({
|
|
791
796
|
id: z.number(),
|
|
792
797
|
via: z.enum(["webhook", "kafka"]),
|
|
793
|
-
notifications: z.array(z.enum(["AuthorizationNotification", "authorization.changed", "BootNotification", "ChargePointChangedNotification", "chargePoint.changed", "evse.changed", "ChargePointSyncConfigurationNotification", "CircuitConsumptionNotification", "circuit.changed", "DiagnosticsStatusNotification", "FirmwareStatusNotification", "HardwareStatusNotification", "LocationChangedNotification", "NetworkStatusNotification", "SecurityEventNotification", "SessionMeterValuesNotification", "SessionStartStopNotification", "session.start.stop.notification", "SessionUpdateNotification", "session.chargingPeriod.changed", "UserChangedNotification", "SubOperatorChangedNotification", "TariffChangedNotification", "tariffGroup.changed", "user.subscriptionChanged", "user.subscription.changed", "ReservationChangedNotification", "PaymentMethodChangedNotification", "PartnerInviteChangedNotification", "reservation.changed", "user.paymentMethod.changed", "userBalance.changed", "partnerInvite.changed", "partnerInviteCorporateBillingPolicy.changed", "roamingPlatform.changed", "parkingSpace.occupancyStatus.changed", "partner.changed", "transaction.changed", "settlementReport.created", "idTag.changed", "issue.changed", "chargePoint.dataTransferReceived", "subscriptionPlan.changed", "user.invoiceDetails.changed", "cdr.received", "chargingProfile.applied", "installerJob.changed", "corporateBilling.limitReached"])),
|
|
798
|
+
notifications: z.array(z.enum(["AuthorizationNotification", "authorization.changed", "BootNotification", "ChargePointChangedNotification", "chargePoint.changed", "evse.changed", "ChargePointSyncConfigurationNotification", "CircuitConsumptionNotification", "circuit.changed", "DiagnosticsStatusNotification", "FirmwareStatusNotification", "HardwareStatusNotification", "LocationChangedNotification", "NetworkStatusNotification", "SecurityEventNotification", "SessionMeterValuesNotification", "SessionStartStopNotification", "session.start.stop.notification", "SessionUpdateNotification", "session.chargingPeriod.changed", "UserChangedNotification", "user.UserGroup.changed", "SubOperatorChangedNotification", "TariffChangedNotification", "tariffGroup.changed", "user.subscriptionChanged", "user.subscription.changed", "ReservationChangedNotification", "PaymentMethodChangedNotification", "PartnerInviteChangedNotification", "reservation.changed", "user.paymentMethod.changed", "userBalance.changed", "partnerInvite.changed", "partnerInviteCorporateBillingPolicy.changed", "roamingPlatform.changed", "parkingSpace.occupancyStatus.changed", "partner.changed", "transaction.changed", "settlementReport.created", "idTag.changed", "issue.changed", "chargePoint.dataTransferReceived", "subscriptionPlan.changed", "user.invoiceDetails.changed", "cdr.received", "chargingProfile.applied", "installerJob.changed", "corporateBilling.limitReached"])),
|
|
794
799
|
includeTimestampInSignature: z.boolean().optional(),
|
|
795
800
|
skipRoamingInfrastructure: z.boolean().optional(),
|
|
796
801
|
suppressSelfNotifications: z.boolean().optional(),
|
|
@@ -5108,8 +5113,9 @@ export const reimbursementPolicyCreateBody = z.object({
|
|
|
5108
5113
|
partnerId: z.number().int().optional(),
|
|
5109
5114
|
partnerContractId: z.number().int().optional(),
|
|
5110
5115
|
electricityRateId: z.number().int().optional(),
|
|
5116
|
+
integrationId: z.number().int().optional(),
|
|
5111
5117
|
validityEndsOn: z.string().optional(),
|
|
5112
|
-
electricityRateSource: z.enum(["policy", "charge_point"]),
|
|
5118
|
+
electricityRateSource: z.enum(["policy", "charge_point", "integration"]),
|
|
5113
5119
|
operatorId: z.number().int().optional()
|
|
5114
5120
|
});
|
|
5115
5121
|
|
|
@@ -5121,10 +5127,11 @@ export const reimbursementPolicyCreateBody = z.object({
|
|
|
5121
5127
|
export const reimbursementPolicyUpdateBody = z.object({
|
|
5122
5128
|
name: z.string().max(255).optional(),
|
|
5123
5129
|
validityStartsOn: z.string().optional(),
|
|
5124
|
-
electricityRateSource: z.enum(["policy", "charge_point"]).optional(),
|
|
5130
|
+
electricityRateSource: z.enum(["policy", "charge_point", "integration"]).optional(),
|
|
5125
5131
|
partnerId: z.number().int().optional(),
|
|
5126
5132
|
partnerContractId: z.number().int().optional(),
|
|
5127
5133
|
electricityRateId: z.number().int().optional(),
|
|
5134
|
+
integrationId: z.number().int().optional(),
|
|
5128
5135
|
validityEndsOn: z.string().optional()
|
|
5129
5136
|
});
|
|
5130
5137
|
|
package/package.json
CHANGED