3 InstallCertificateUseEnumType
,
4 OCPP20ConnectorStatusEnumType
6 import type { OCPP20SetVariableDataType
} from
'./Variables.js'
7 import type { EmptyObject
} from
'../../EmptyObject.js'
8 import type { JsonObject
} from
'../../JsonType.js'
10 export enum OCPP20RequestCommand
{
11 BOOT_NOTIFICATION
= 'BootNotification',
12 HEARTBEAT
= 'Heartbeat',
13 STATUS_NOTIFICATION
= 'StatusNotification'
16 export enum OCPP20IncomingRequestCommand
{
17 CLEAR_CACHE
= 'ClearCache',
18 REQUEST_START_TRANSACTION
= 'RequestStartTransaction',
19 REQUEST_STOP_TRANSACTION
= 'RequestStopTransaction'
27 type ChargingStationType
= {
31 firmwareVersion
?: string
35 export type OCPP20BootNotificationRequest
= {
36 reason
: BootReasonEnumType
37 chargingStation
: ChargingStationType
40 export type OCPP20HeartbeatRequest
= EmptyObject
42 export type OCPP20ClearCacheRequest
= EmptyObject
44 export type OCPP20StatusNotificationRequest
= {
46 connectorStatus
: OCPP20ConnectorStatusEnumType
51 export type OCPP20SetVariablesRequest
= {
52 setVariableData
: OCPP20SetVariableDataType
[]
55 export type OCPP20InstallCertificateRequest
= {
56 certificateType
: InstallCertificateUseEnumType