refactor: cleanup performance statistics namespace
[e-mobility-charging-stations-simulator.git] / src / types / ocpp / ChargingProfile.ts
index d2c36d7d8903e7c9634bb2ecb03e1c536fdab7c6..bd67417e40ed8a84bcd33b1d658cdf4c9efef760 100644 (file)
@@ -1,15 +1,26 @@
 import {
-  OCPP16ChargingProfile,
+  type OCPP16ChargingProfile,
+  OCPP16ChargingProfileKindType,
   OCPP16ChargingRateUnitType,
-  OCPP16ChargingSchedulePeriod,
+  type OCPP16ChargingSchedulePeriod,
+  OCPP16RecurrencyKindType,
 } from './1.6/ChargingProfile';
 
 export type ChargingProfile = OCPP16ChargingProfile;
 
 export type ChargingSchedulePeriod = OCPP16ChargingSchedulePeriod;
 
-export type ChargingRateUnitType = OCPP16ChargingRateUnitType;
+export const ChargingProfileKindType = {
+  ...OCPP16ChargingProfileKindType,
+} as const;
+export type ChargingProfileKindType = OCPP16ChargingProfileKindType;
+
+export const RecurrencyKindType = {
+  ...OCPP16RecurrencyKindType,
+} as const;
+export type RecurrencyKindType = OCPP16RecurrencyKindType;
 
 export const ChargingRateUnitType = {
   ...OCPP16ChargingRateUnitType,
-};
+} as const;
+export type ChargingRateUnitType = OCPP16ChargingRateUnitType;