chore: switch coding style to JS standard
[e-mobility-charging-stations-simulator.git] / src / types / ocpp / 2.0 / Responses.ts
CommitLineData
2896e06d 1import type {
69074173 2 GenericStatusEnumType,
6b635033 3 InstallCertificateStatusEnumType,
66a7748d
JB
4 StatusInfoType
5} from './Common.js'
6import type { OCPP20SetVariableResultType } from './Variables.js'
7import type { EmptyObject } from '../../EmptyObject.js'
8import type { JsonObject } from '../../JsonType.js'
9import type { RegistrationStatusEnumType } from '../Common.js'
d270cc87 10
d270cc87 11export type OCPP20BootNotificationResponse = {
66a7748d
JB
12 currentTime: Date
13 status: RegistrationStatusEnumType
14 interval: number
15 statusInfo?: StatusInfoType
16} & JsonObject
d270cc87 17
81533a20 18export type OCPP20HeartbeatResponse = {
66a7748d
JB
19 currentTime: Date
20} & JsonObject
81533a20 21
d270cc87 22export type OCPP20ClearCacheResponse = {
66a7748d
JB
23 status: GenericStatusEnumType
24 statusInfo?: StatusInfoType
25} & JsonObject
6e939d9e 26
66a7748d 27export type OCPP20StatusNotificationResponse = EmptyObject
28f1c574
JB
28
29export type OCPP20SetVariablesResponse = {
66a7748d
JB
30 setVariableResult: OCPP20SetVariableResultType[]
31} & JsonObject
6b635033
JB
32
33export type OCPP20InstallCertificateResponse = {
66a7748d
JB
34 status: InstallCertificateStatusEnumType
35 statusInfo?: StatusInfoType
36} & JsonObject