Apply prettier formating
[e-mobility-charging-stations-simulator.git] / src / types / ocpp / Configuration.ts
1 import {
2 OCPP16StandardParametersKey,
3 OCPP16SupportedFeatureProfiles,
4 OCPP16VendorDefaultParametersKey,
5 } from './1.6/Configuration';
6
7 import { JsonType } from '../JsonType';
8
9 export type StandardParametersKey = OCPP16StandardParametersKey;
10
11 export const StandardParametersKey = {
12 ...OCPP16StandardParametersKey,
13 };
14
15 export type VendorDefaultParametersKey = OCPP16VendorDefaultParametersKey;
16
17 export const VendorDefaultParametersKey = {
18 ...OCPP16VendorDefaultParametersKey,
19 };
20
21 export type SupportedFeatureProfiles = OCPP16SupportedFeatureProfiles;
22
23 export const SupportedFeatureProfiles = {
24 ...OCPP16SupportedFeatureProfiles,
25 };
26
27 export enum ConnectorPhaseRotation {
28 NotApplicable = 'NotApplicable',
29 Unknown = 'Unknown',
30 RST = 'RST',
31 RTS = 'RTS',
32 SRT = 'SRT',
33 STR = 'STR',
34 TRS = 'TRS',
35 TSR = 'TSR',
36 }
37
38 export interface OCPPConfigurationKey extends JsonType {
39 key: string | StandardParametersKey;
40 readonly: boolean;
41 value?: string;
42 }