Add BootNotification and ClearCache OCPP 2.0.1 commands support
[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 OCPP20ClearCacheResponse = {
17 status: DefaultStatus;
18 statusInfo?: StatusInfoType;
19 } & JsonObject;