-import type { JsonObject } from '../../JsonType';
-import type { DefaultStatus, RegistrationStatusEnumType } from '../Responses';
-
-export type StatusInfoType = {
- reasonCode: string;
- additionalInfo?: string;
-} & JsonObject;
+import type {
+ EmptyObject,
+ GenericStatus,
+ JsonObject,
+ OCPP20SetVariableResultType,
+ RegistrationStatusEnumType,
+ StatusInfoType,
+} from '../../internal';
export type OCPP20BootNotificationResponse = {
currentTime: Date;
statusInfo?: StatusInfoType;
} & JsonObject;
+export type OCPP20HeartbeatResponse = {
+ currentTime: Date;
+} & JsonObject;
+
export type OCPP20ClearCacheResponse = {
- status: DefaultStatus;
+ status: GenericStatus;
statusInfo?: StatusInfoType;
} & JsonObject;
+
+export type OCPP20StatusNotificationResponse = EmptyObject;
+
+export type OCPP20SetVariablesResponse = {
+ setVariableResult: OCPP20SetVariableResultType[];
+} & JsonObject;