Commit | Line | Data |
---|---|---|
6e939d9e | 1 | import type { EmptyObject } from '../../EmptyObject'; |
d270cc87 | 2 | import type { JsonObject } from '../../JsonType'; |
f03e1042 | 3 | import type { GenericStatus, RegistrationStatusEnumType } from '../Responses'; |
d270cc87 JB |
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 | ||
81533a20 JB |
17 | export type OCPP20HeartbeatResponse = { |
18 | currentTime: Date; | |
19 | } & JsonObject; | |
20 | ||
d270cc87 | 21 | export type OCPP20ClearCacheResponse = { |
f03e1042 | 22 | status: GenericStatus; |
d270cc87 JB |
23 | statusInfo?: StatusInfoType; |
24 | } & JsonObject; | |
6e939d9e JB |
25 | |
26 | export type OCPP20StatusNotificationResponse = EmptyObject; |