feat(simulator): add certificates related OCPP 2.x types
[e-mobility-charging-stations-simulator.git] / src / types / ocpp / 2.0 / Responses.ts
index 04cd462b50850a43186d341b1b5c9ff647887b25..5fac747a2300cfe023a482cbd3804a7dbe020f80 100644 (file)
@@ -1,11 +1,12 @@
-import type { EmptyObject } from '../../EmptyObject';
-import type { JsonObject } from '../../JsonType';
-import type { GenericStatus, RegistrationStatusEnumType } from '../Responses';
-
-export type StatusInfoType = {
-  reasonCode: string;
-  additionalInfo?: string;
-} & JsonObject;
+import type {
+  EmptyObject,
+  GenericStatus,
+  InstallCertificateStatusEnumType,
+  JsonObject,
+  OCPP20SetVariableResultType,
+  RegistrationStatusEnumType,
+  StatusInfoType,
+} from '../../internal';
 
 export type OCPP20BootNotificationResponse = {
   currentTime: Date;
@@ -24,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;