Ensure 1:1 mapping between charging station instance and its OCPP services
[e-mobility-charging-stations-simulator.git] / src / types / ocpp / Configuration.ts
index 6559f815a364048cb2b2c4f4c1ebf2adcd82c3b5..b13a24ba2be17c6c04f5c65f10eef3b5c2ed4828 100644 (file)
@@ -1,4 +1,6 @@
-import { OCPP16StandardParametersKey, OCPP16SupportedFeatureProfiles } from './1.6/Configuration';
+import { OCPP16StandardParametersKey, OCPP16SupportedFeatureProfiles, OCPP16VendorDefaultParametersKey } from './1.6/Configuration';
+
+import { JsonType } from '../JsonType';
 
 export type StandardParametersKey = OCPP16StandardParametersKey;
 
@@ -6,6 +8,12 @@ export const StandardParametersKey = {
   ...OCPP16StandardParametersKey
 };
 
+export type VendorDefaultParametersKey = OCPP16VendorDefaultParametersKey;
+
+export const VendorDefaultParametersKey = {
+  ...OCPP16VendorDefaultParametersKey
+};
+
 export type SupportedFeatureProfiles = OCPP16SupportedFeatureProfiles;
 
 export const SupportedFeatureProfiles = {
@@ -23,7 +31,7 @@ export enum ConnectorPhaseRotation {
   TSR = 'TSR'
 }
 
-export interface OCPPConfigurationKey {
+export interface OCPPConfigurationKey extends JsonType {
   key: string | StandardParametersKey;
   readonly: boolean;
   value?: string;