refactor: factor out performance records JSON file path building
[e-mobility-charging-stations-simulator.git] / src / types / ocpp / 2.0 / Responses.ts
index 3f4d2f4274cc4c36dd73f51f303cb3ea773b5be6..5fac747a2300cfe023a482cbd3804a7dbe020f80 100644 (file)
@@ -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;