| 1 | import type { EmptyObject } from '../../EmptyObject'; |
| 2 | import type { JsonObject } from '../../JsonType'; |
| 3 | import type { GenericStatus, RegistrationStatusEnumType } from '../Responses'; |
| 4 | |
| 5 | export type StatusInfoType = { |
| 6 | reasonCode: string; |
| 7 | additionalInfo?: string; |
| 8 | } & JsonObject; |
| 9 | |
| 10 | export type OCPP20BootNotificationResponse = { |
| 11 | currentTime: Date; |
| 12 | status: RegistrationStatusEnumType; |
| 13 | interval: number; |
| 14 | statusInfo?: StatusInfoType; |
| 15 | } & JsonObject; |
| 16 | |
| 17 | export type OCPP20HeartbeatResponse = { |
| 18 | currentTime: Date; |
| 19 | } & JsonObject; |
| 20 | |
| 21 | export type OCPP20ClearCacheResponse = { |
| 22 | status: GenericStatus; |
| 23 | statusInfo?: StatusInfoType; |
| 24 | } & JsonObject; |
| 25 | |
| 26 | export type OCPP20StatusNotificationResponse = EmptyObject; |