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