perf: reduce OCPPUtils memory usage
[e-mobility-charging-stations-simulator.git] / src / types / ocpp / 2.0 / Requests.ts
index 220a39b6f617a0f020aa5b65ff04baecbc0ad3c3..1b99c2727fb86928055cfc3beff4335733a79265 100644 (file)
@@ -1,10 +1,11 @@
 import type {
   BootReasonEnumType,
-  EmptyObject,
-  JsonObject,
+  InstallCertificateUseEnumType,
   OCPP20ConnectorStatusEnumType,
-  OCPP20SetVariableDataType,
-} from '../../internal';
+} from './Common';
+import type { OCPP20SetVariableDataType } from './Variables';
+import type { EmptyObject } from '../../EmptyObject';
+import type { JsonObject } from '../../JsonType';
 
 export enum OCPP20RequestCommand {
   BOOT_NOTIFICATION = 'BootNotification',
@@ -50,3 +51,8 @@ export type OCPP20StatusNotificationRequest = {
 export type OCPP20SetVariablesRequest = {
   setVariableData: OCPP20SetVariableDataType[];
 } & JsonObject;
+
+export type OCPP20InstallCertificateRequest = {
+  certificateType: InstallCertificateUseEnumType;
+  certificate: string;
+} & JsonObject;