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 | |
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 | } |