Commit | Line | Data |
---|---|---|
2896e06d JB |
1 | import type { |
2 | EmptyObject, | |
3 | GenericStatus, | |
4 | JsonObject, | |
5 | RegistrationStatusEnumType, | |
6 | } from '../../internal'; | |
d270cc87 JB |
7 | |
8 | export type StatusInfoType = { | |
9 | reasonCode: string; | |
10 | additionalInfo?: string; | |
11 | } & JsonObject; | |
12 | ||
13 | export type OCPP20BootNotificationResponse = { | |
14 | currentTime: Date; | |
15 | status: RegistrationStatusEnumType; | |
16 | interval: number; | |
17 | statusInfo?: StatusInfoType; | |
18 | } & JsonObject; | |
19 | ||
81533a20 JB |
20 | export type OCPP20HeartbeatResponse = { |
21 | currentTime: Date; | |
22 | } & JsonObject; | |
23 | ||
d270cc87 | 24 | export type OCPP20ClearCacheResponse = { |
f03e1042 | 25 | status: GenericStatus; |
d270cc87 JB |
26 | statusInfo?: StatusInfoType; |
27 | } & JsonObject; | |
6e939d9e JB |
28 | |
29 | export type OCPP20StatusNotificationResponse = EmptyObject; |