refactor(simulator): switch import to node: syntax
[e-mobility-charging-stations-simulator.git] / src / types / ocpp / 2.0 / Responses.ts
... / ...
CommitLineData
1import type {
2 EmptyObject,
3 GenericStatus,
4 JsonObject,
5 RegistrationStatusEnumType,
6} from '../../internal';
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
20export type OCPP20HeartbeatResponse = {
21 currentTime: Date;
22} & JsonObject;
23
24export type OCPP20ClearCacheResponse = {
25 status: GenericStatus;
26 statusInfo?: StatusInfoType;
27} & JsonObject;
28
29export type OCPP20StatusNotificationResponse = EmptyObject;