refactor: cleanup default params in error handlers
[e-mobility-charging-stations-simulator.git] / src / types / ocpp / ChargingProfile.ts
index 0b21f1096990918b4f787fd8f18407a4d61f5eb4..8fc773b73a5352642006bd249a4f6fc42e44e09e 100644 (file)
@@ -1,26 +1,36 @@
 import {
   type OCPP16ChargingProfile,
   OCPP16ChargingProfileKindType,
+  OCPP16ChargingProfilePurposeType,
   OCPP16ChargingRateUnitType,
   type OCPP16ChargingSchedulePeriod,
-  OCPP16RecurrencyKindType,
-} from '../internal';
+  OCPP16RecurrencyKindType
+} from './1.6/ChargingProfile.js'
 
-export type ChargingProfile = OCPP16ChargingProfile;
+export type ChargingProfile = OCPP16ChargingProfile
 
-export type ChargingSchedulePeriod = OCPP16ChargingSchedulePeriod;
+export type ChargingSchedulePeriod = OCPP16ChargingSchedulePeriod
+
+export const ChargingProfilePurposeType = {
+  ...OCPP16ChargingProfilePurposeType
+} as const
+// eslint-disable-next-line @typescript-eslint/no-redeclare
+export type ChargingProfilePurposeType = OCPP16ChargingProfilePurposeType
 
 export const ChargingProfileKindType = {
-  ...OCPP16ChargingProfileKindType,
-} as const;
-export type ChargingProfileKindType = OCPP16ChargingProfileKindType;
+  ...OCPP16ChargingProfileKindType
+} as const
+// eslint-disable-next-line @typescript-eslint/no-redeclare
+export type ChargingProfileKindType = OCPP16ChargingProfileKindType
 
 export const RecurrencyKindType = {
-  ...OCPP16RecurrencyKindType,
-} as const;
-export type RecurrencyKindType = OCPP16RecurrencyKindType;
+  ...OCPP16RecurrencyKindType
+} as const
+// eslint-disable-next-line @typescript-eslint/no-redeclare
+export type RecurrencyKindType = OCPP16RecurrencyKindType
 
 export const ChargingRateUnitType = {
-  ...OCPP16ChargingRateUnitType,
-} as const;
-export type ChargingRateUnitType = OCPP16ChargingRateUnitType;
+  ...OCPP16ChargingRateUnitType
+} as const
+// eslint-disable-next-line @typescript-eslint/no-redeclare
+export type ChargingRateUnitType = OCPP16ChargingRateUnitType