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