b83f0c84369eefbcdced173c26941294691cdd1f
[e-mobility-charging-stations-simulator.git] / src / types / ocpp / 2.0 / Responses.ts
1 import type { JsonObject } from '../../JsonType';
2 import type { DefaultStatus, RegistrationStatusEnumType } from '../Responses';
3
4 export type StatusInfoType = {
5 reasonCode: string;
6 additionalInfo?: string;
7 } & JsonObject;
8
9 export type OCPP20BootNotificationResponse = {
10 currentTime: Date;
11 status: RegistrationStatusEnumType;
12 interval: number;
13 statusInfo?: StatusInfoType;
14 } & JsonObject;
15
16 export type OCPP20HeartbeatResponse = {
17 currentTime: Date;
18 } & JsonObject;
19
20 export type OCPP20ClearCacheResponse = {
21 status: DefaultStatus;
22 statusInfo?: StatusInfoType;
23 } & JsonObject;