fix: fix circular dependencies in types
[e-mobility-charging-stations-simulator.git] / src / types / ocpp / 2.0 / Common.ts
index 12dfd6a765eebfb651263abd03d59acd97b73e55..e9226961476457e705bb86e782d8e44fc6d9aaa4 100644 (file)
@@ -1,4 +1,5 @@
-import type { GenericStatus, JsonObject } from '../../internal';
+import type { JsonObject } from '../../JsonType';
+import type { GenericStatus } from '../Common';
 
 export enum DataEnumType {
   // eslint-disable-next-line id-blacklist
@@ -25,6 +26,11 @@ export enum BootReasonEnumType {
   Watchdog = 'Watchdog',
 }
 
+export enum OperationalStatusEnumType {
+  Operative = 'Operative',
+  Inoperative = 'Inoperative',
+}
+
 export enum OCPP20ConnectorStatusEnumType {
   Available = 'Available',
   Occupied = 'Occupied',
@@ -88,7 +94,7 @@ export enum CertificateSigningUseEnumType {
   V2GCertificate = 'V2GCertificate',
 }
 
-export type CertificateSignedStatusEnumType = GenericStatus;
+export type CertificateSignedStatusEnumType = GenericStatusEnumType;
 
 export type CertificateHashDataType = {
   hashAlgorithm: HashAlgorithmEnumType;