Commit | Line | Data |
---|---|---|
2896e06d | 1 | import type { |
69074173 | 2 | GenericStatusEnumType, |
6b635033 | 3 | InstallCertificateStatusEnumType, |
28f1c574 | 4 | StatusInfoType, |
69074173 JB |
5 | } from './Common'; |
6 | import type { OCPP20SetVariableResultType } from './Variables'; | |
7 | import type { EmptyObject } from '../../EmptyObject'; | |
8 | import type { JsonObject } from '../../JsonType'; | |
73ed6e01 | 9 | import type { RegistrationStatusEnumType } from '../Common'; |
d270cc87 | 10 | |
d270cc87 JB |
11 | export type OCPP20BootNotificationResponse = { |
12 | currentTime: Date; | |
13 | status: RegistrationStatusEnumType; | |
14 | interval: number; | |
15 | statusInfo?: StatusInfoType; | |
16 | } & JsonObject; | |
17 | ||
81533a20 JB |
18 | export type OCPP20HeartbeatResponse = { |
19 | currentTime: Date; | |
20 | } & JsonObject; | |
21 | ||
d270cc87 | 22 | export type OCPP20ClearCacheResponse = { |
69074173 | 23 | status: GenericStatusEnumType; |
d270cc87 JB |
24 | statusInfo?: StatusInfoType; |
25 | } & JsonObject; | |
6e939d9e JB |
26 | |
27 | export type OCPP20StatusNotificationResponse = EmptyObject; | |
28f1c574 JB |
28 | |
29 | export type OCPP20SetVariablesResponse = { | |
30 | setVariableResult: OCPP20SetVariableResultType[]; | |
31 | } & JsonObject; | |
6b635033 JB |
32 | |
33 | export type OCPP20InstallCertificateResponse = { | |
34 | status: InstallCertificateStatusEnumType; | |
35 | statusInfo?: StatusInfoType; | |
36 | } & JsonObject; |