UI Services: add status notification command
[e-mobility-charging-stations-simulator.git] / src / types / ocpp / Configuration.ts
index 6559f815a364048cb2b2c4f4c1ebf2adcd82c3b5..f60c4f1c06712188ffdcc8bff47dc801e6c3a19f 100644 (file)
@@ -1,15 +1,26 @@
-import { OCPP16StandardParametersKey, OCPP16SupportedFeatureProfiles } from './1.6/Configuration';
+import type { JsonObject } from '../JsonType';
+import {
+  OCPP16StandardParametersKey,
+  OCPP16SupportedFeatureProfiles,
+  OCPP16VendorDefaultParametersKey,
+} from './1.6/Configuration';
 
 export type StandardParametersKey = OCPP16StandardParametersKey;
 
 export const StandardParametersKey = {
-  ...OCPP16StandardParametersKey
+  ...OCPP16StandardParametersKey,
+};
+
+export type VendorDefaultParametersKey = OCPP16VendorDefaultParametersKey;
+
+export const VendorDefaultParametersKey = {
+  ...OCPP16VendorDefaultParametersKey,
 };
 
 export type SupportedFeatureProfiles = OCPP16SupportedFeatureProfiles;
 
 export const SupportedFeatureProfiles = {
-  ...OCPP16SupportedFeatureProfiles
+  ...OCPP16SupportedFeatureProfiles,
 };
 
 export enum ConnectorPhaseRotation {
@@ -20,10 +31,10 @@ export enum ConnectorPhaseRotation {
   SRT = 'SRT',
   STR = 'STR',
   TRS = 'TRS',
-  TSR = 'TSR'
+  TSR = 'TSR',
 }
 
-export interface OCPPConfigurationKey {
+export interface OCPPConfigurationKey extends JsonObject {
   key: string | StandardParametersKey;
   readonly: boolean;
   value?: string;