X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=src%2Ftypes%2Focpp%2FResponses.ts;h=d7e6db554f68456e79aac01709f4366b6bbaeb64;hb=f22266fd29f7f11ba883d7f799ef607be05d4232;hp=50f1d2b134f9b71867ac7eb02b92ae4b11fac827;hpb=e7aeea18e189dd087c8f951cf77a253e2818ae90;p=e-mobility-charging-stations-simulator.git diff --git a/src/types/ocpp/Responses.ts b/src/types/ocpp/Responses.ts index 50f1d2b1..d7e6db55 100644 --- a/src/types/ocpp/Responses.ts +++ b/src/types/ocpp/Responses.ts @@ -4,12 +4,15 @@ import { OCPP16ChargingProfileStatus, OCPP16ClearChargingProfileStatus, OCPP16ConfigurationStatus, + OCPP16HeartbeatResponse, OCPP16RegistrationStatus, + OCPP16StatusNotificationResponse, OCPP16TriggerMessageStatus, OCPP16UnlockStatus, } from './1.6/Responses'; import { JsonType } from '../JsonType'; +import { OCPP16MeterValuesResponse } from './1.6/MeterValues'; export type ResponseHandler = ( payload: JsonType | string, @@ -18,6 +21,12 @@ export type ResponseHandler = ( export type BootNotificationResponse = OCPP16BootNotificationResponse; +export type HeartbeatResponse = OCPP16HeartbeatResponse; + +export type StatusNotificationResponse = OCPP16StatusNotificationResponse; + +export type MeterValuesResponse = OCPP16MeterValuesResponse; + export enum DefaultStatus { ACCEPTED = 'Accepted', REJECTED = 'Rejected',