refactor: cleanup eslint configuration
[e-mobility-charging-stations-simulator.git] / src / types / ocpp / 2.0 / Responses.ts
1 import type { EmptyObject } from '../../EmptyObject.js'
2 import type { JsonObject } from '../../JsonType.js'
3 import type { RegistrationStatusEnumType } from '../Common.js'
4 import type {
5 GenericStatusEnumType,
6 InstallCertificateStatusEnumType,
7 StatusInfoType
8 } from './Common.js'
9 import type { OCPP20SetVariableResultType } from './Variables.js'
10
11 export interface OCPP20BootNotificationResponse extends JsonObject {
12 currentTime: Date
13 status: RegistrationStatusEnumType
14 interval: number
15 statusInfo?: StatusInfoType
16 }
17
18 export interface OCPP20HeartbeatResponse extends JsonObject {
19 currentTime: Date
20 }
21
22 export interface OCPP20ClearCacheResponse extends JsonObject {
23 status: GenericStatusEnumType
24 statusInfo?: StatusInfoType
25 }
26
27 export type OCPP20StatusNotificationResponse = EmptyObject
28
29 export interface OCPP20SetVariablesResponse extends JsonObject {
30 setVariableResult: OCPP20SetVariableResultType[]
31 }
32
33 export interface OCPP20InstallCertificateResponse extends JsonObject {
34 status: InstallCertificateStatusEnumType
35 statusInfo?: StatusInfoType
36 }