-import type { EVSEType, JsonObject, StatusInfoType } from '../../internal';
+import type { EVSEType, StatusInfoType } from './Common';
+import type { JsonObject } from '../../JsonType';
enum OCPP20ComponentName {
AlignedDataCtrlr = 'AlignedDataCtrlr',
evse?: EVSEType;
} & JsonObject;
+type VariableName =
+ | string
+ | OCPP20RequiredVariableName
+ | OCPP20OptionalVariableName
+ | OCPP20VendorVariableName;
+
type VariableType = {
- name: string | OCPP20RequiredVariableName | OCPP20OptionalVariableName | OCPP20VendorVariableName;
+ name: VariableName;
instance?: string;
} & JsonObject;
attributeStatusInfo?: StatusInfoType;
} & JsonObject;
-type OCPP20ComponentVariableType = {
+export type OCPP20ComponentVariableType = {
component: ComponentType;
variable?: VariableType;
} & JsonObject;