refactor(simulator): introduce HTTP methods enum
[e-mobility-charging-stations-simulator.git] / src / types / ocpp / 2.0 / Responses.ts
index 3f4d2f4274cc4c36dd73f51f303cb3ea773b5be6..fdbebf15c4eb33fd5b8fed7c4fd719fdcceb2493 100644 (file)
@@ -2,14 +2,11 @@ import type {
   EmptyObject,
   GenericStatus,
   JsonObject,
+  OCPP20SetVariableResultType,
   RegistrationStatusEnumType,
+  StatusInfoType,
 } from '../../internal';
 
-export type StatusInfoType = {
-  reasonCode: string;
-  additionalInfo?: string;
-} & JsonObject;
-
 export type OCPP20BootNotificationResponse = {
   currentTime: Date;
   status: RegistrationStatusEnumType;
@@ -27,3 +24,7 @@ export type OCPP20ClearCacheResponse = {
 } & JsonObject;
 
 export type OCPP20StatusNotificationResponse = EmptyObject;
+
+export type OCPP20SetVariablesResponse = {
+  setVariableResult: OCPP20SetVariableResultType[];
+} & JsonObject;