X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=src%2Ftypes%2Focpp%2F2.0%2FResponses.ts;h=5fac747a2300cfe023a482cbd3804a7dbe020f80;hb=e8044a69a745aab08dfeea0bd9ec9dd7fe84cdd7;hp=3f4d2f4274cc4c36dd73f51f303cb3ea773b5be6;hpb=2896e06dc8d72adf7150b23c941079f622f6f37c;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 3f4d2f42..5fac747a 100644 --- a/src/types/ocpp/2.0/Responses.ts +++ b/src/types/ocpp/2.0/Responses.ts @@ -1,15 +1,13 @@ import type { EmptyObject, GenericStatus, + InstallCertificateStatusEnumType, JsonObject, + OCPP20SetVariableResultType, RegistrationStatusEnumType, + StatusInfoType, } from '../../internal'; -export type StatusInfoType = { - reasonCode: string; - additionalInfo?: string; -} & JsonObject; - export type OCPP20BootNotificationResponse = { currentTime: Date; status: RegistrationStatusEnumType; @@ -27,3 +25,12 @@ export type OCPP20ClearCacheResponse = { } & JsonObject; export type OCPP20StatusNotificationResponse = EmptyObject; + +export type OCPP20SetVariablesResponse = { + setVariableResult: OCPP20SetVariableResultType[]; +} & JsonObject; + +export type OCPP20InstallCertificateResponse = { + status: InstallCertificateStatusEnumType; + statusInfo?: StatusInfoType; +} & JsonObject;