| 1 | import type { |
| 2 | EmptyObject, |
| 3 | GenericStatus, |
| 4 | JsonObject, |
| 5 | RegistrationStatusEnumType, |
| 6 | } from '../../internal'; |
| 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 | |
| 20 | export type OCPP20HeartbeatResponse = { |
| 21 | currentTime: Date; |
| 22 | } & JsonObject; |
| 23 | |
| 24 | export type OCPP20ClearCacheResponse = { |
| 25 | status: GenericStatus; |
| 26 | statusInfo?: StatusInfoType; |
| 27 | } & JsonObject; |
| 28 | |
| 29 | export type OCPP20StatusNotificationResponse = EmptyObject; |