refactor(simulator): introduce HTTP methods enum
[e-mobility-charging-stations-simulator.git] / src / types / ocpp / 2.0 / Responses.ts
1 import type {
2 EmptyObject,
3 GenericStatus,
4 JsonObject,
5 OCPP20SetVariableResultType,
6 RegistrationStatusEnumType,
7 StatusInfoType,
8 } from '../../internal';
9
10 export type OCPP20BootNotificationResponse = {
11 currentTime: Date;
12 status: RegistrationStatusEnumType;
13 interval: number;
14 statusInfo?: StatusInfoType;
15 } & JsonObject;
16
17 export type OCPP20HeartbeatResponse = {
18 currentTime: Date;
19 } & JsonObject;
20
21 export type OCPP20ClearCacheResponse = {
22 status: GenericStatus;
23 statusInfo?: StatusInfoType;
24 } & JsonObject;
25
26 export type OCPP20StatusNotificationResponse = EmptyObject;
27
28 export type OCPP20SetVariablesResponse = {
29 setVariableResult: OCPP20SetVariableResultType[];
30 } & JsonObject;