refactor(simulator): introduce HTTP methods enum
[e-mobility-charging-stations-simulator.git] / src / types / ocpp / 2.0 / Common.ts
CommitLineData
28f1c574
JB
1import type { JsonObject } from '../../internal';
2
3export enum BootReasonEnumType {
4 ApplicationReset = 'ApplicationReset',
5 FirmwareUpdate = 'FirmwareUpdate',
6 LocalReset = 'LocalReset',
7 PowerUp = 'PowerUp',
8 RemoteReset = 'RemoteReset',
9 ScheduledReset = 'ScheduledReset',
10 Triggered = 'Triggered',
11 Unknown = 'Unknown',
12 Watchdog = 'Watchdog',
13}
14
15export enum OCPP20ConnectorStatusEnumType {
16 AVAILABLE = 'Available',
17 OCCUPIED = 'Occupied',
18 RESERVED = 'Reserved',
19 UNAVAILABLE = 'Unavailable',
20 FAULTED = 'Faulted',
21}
22
23export type StatusInfoType = {
24 reasonCode: string;
25 additionalInfo?: string;
26} & JsonObject;
27
28export type EVSEType = {
29 id: number;
30 connectorId?: string;
31} & JsonObject;