X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=src%2Ftypes%2Focpp%2F2.0%2FResponses.ts;h=5fac747a2300cfe023a482cbd3804a7dbe020f80;hb=e8044a69a745aab08dfeea0bd9ec9dd7fe84cdd7;hp=e69de29bb2d1d6434b8b29ae775ad8c2e48c5391;hpb=953d6b028e82d6997897802afefbb4ce0d225dee;p=e-mobility-charging-stations-simulator.git diff --git a/src/types/ocpp/2.0/Responses.ts b/src/types/ocpp/2.0/Responses.ts index e69de29b..5fac747a 100644 --- a/src/types/ocpp/2.0/Responses.ts +++ b/src/types/ocpp/2.0/Responses.ts @@ -0,0 +1,36 @@ +import type { + EmptyObject, + GenericStatus, + InstallCertificateStatusEnumType, + JsonObject, + OCPP20SetVariableResultType, + RegistrationStatusEnumType, + StatusInfoType, +} from '../../internal'; + +export type OCPP20BootNotificationResponse = { + currentTime: Date; + status: RegistrationStatusEnumType; + interval: number; + statusInfo?: StatusInfoType; +} & JsonObject; + +export type OCPP20HeartbeatResponse = { + currentTime: Date; +} & JsonObject; + +export type OCPP20ClearCacheResponse = { + status: GenericStatus; + statusInfo?: StatusInfoType; +} & JsonObject; + +export type OCPP20StatusNotificationResponse = EmptyObject; + +export type OCPP20SetVariablesResponse = { + setVariableResult: OCPP20SetVariableResultType[]; +} & JsonObject; + +export type OCPP20InstallCertificateResponse = { + status: InstallCertificateStatusEnumType; + statusInfo?: StatusInfoType; +} & JsonObject;