refactor(simulator): switch import to node: syntax
[e-mobility-charging-stations-simulator.git] / src / types / ocpp / 2.0 / Responses.ts
CommitLineData
2896e06d
JB
1import type {
2 EmptyObject,
3 GenericStatus,
4 JsonObject,
5 RegistrationStatusEnumType,
6} from '../../internal';
d270cc87
JB
7
8export type StatusInfoType = {
9 reasonCode: string;
10 additionalInfo?: string;
11} & JsonObject;
12
13export type OCPP20BootNotificationResponse = {
14 currentTime: Date;
15 status: RegistrationStatusEnumType;
16 interval: number;
17 statusInfo?: StatusInfoType;
18} & JsonObject;
19
81533a20
JB
20export type OCPP20HeartbeatResponse = {
21 currentTime: Date;
22} & JsonObject;
23
d270cc87 24export type OCPP20ClearCacheResponse = {
f03e1042 25 status: GenericStatus;
d270cc87
JB
26 statusInfo?: StatusInfoType;
27} & JsonObject;
6e939d9e
JB
28
29export type OCPP20StatusNotificationResponse = EmptyObject;