1 import type { EmptyObject
} from
'../../EmptyObject';
2 import type { JsonObject
} from
'../../JsonType';
4 export enum OCPP20RequestCommand
{
5 BOOT_NOTIFICATION
= 'BootNotification',
6 HEARTBEAT
= 'Heartbeat',
7 STATUS_NOTIFICATION
= 'StatusNotification',
10 export enum OCPP20IncomingRequestCommand
{
11 CLEAR_CACHE
= 'ClearCache',
12 REQUEST_START_TRANSACTION
= 'RequestStartTransaction',
13 REQUEST_STOP_TRANSACTION
= 'RequestStopTransaction',
16 export enum BootReasonEnumType
{
17 ApplicationReset
= 'ApplicationReset',
18 FirmwareUpdate
= 'FirmwareUpdate',
19 LocalReset
= 'LocalReset',
21 RemoteReset
= 'RemoteReset',
22 ScheduledReset
= 'ScheduledReset',
23 Triggered
= 'Triggered',
25 Watchdog
= 'Watchdog',
28 export type ModemType
= {
33 export type ChargingStationType
= {
34 serialNumber
?: string;
37 firmwareVersion
?: string;
41 export type OCPP20BootNotificationRequest
= {
42 reason
: BootReasonEnumType
;
43 chargingStation
: ChargingStationType
;
46 export type OCPP20HeartbeatRequest
= EmptyObject
;
48 export type OCPP20ClearCacheRequest
= EmptyObject
;
50 export enum OCPP20ConnectorStatusEnumType
{
51 AVAILABLE
= 'Available',
52 OCCUPIED
= 'Occupied',
53 RESERVED
= 'Reserved',
54 UNAVAILABLE
= 'Unavailable',
58 export type OCPP20StatusNotificationRequest
= {
60 connectorStatus
: OCPP20ConnectorStatusEnumType
;