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