-import type {
- EmptyObject,
- JsonObject,
- OCPPConfigurationKey,
- RegistrationStatusEnumType,
-} from '../../internal';
+import type { OCPP16ChargingSchedule } from './ChargingProfile';
+import type { EmptyObject } from '../../EmptyObject';
+import type { JsonObject } from '../../JsonType';
+import type { OCPPConfigurationKey } from '../Configuration';
+import { GenericStatus, type RegistrationStatusEnumType } from '../Responses';
export interface OCPP16HeartbeatResponse extends JsonObject {
currentTime: Date;
NOT_SUPPORTED = 'NotSupported',
}
+export interface OCPP16GetCompositeScheduleResponse extends JsonObject {
+ status: GenericStatus;
+ connectorId?: number;
+ scheduleStart?: Date;
+ chargingSchedule?: OCPP16ChargingSchedule;
+}
+
export interface SetChargingProfileResponse extends JsonObject {
status: OCPP16ChargingProfileStatus;
}
status: OCPP16DataTransferStatus;
data?: string;
}
+
+export interface OCPP16CancelReservationResponse extends JsonObject {
+ status: GenericStatus;
+}
+
+export enum OCPP16ReservationStatus {
+ ACCEPTED = 'Accepted',
+ FAULTED = 'Faulted',
+ OCCUPIED = 'Occupied',
+ REJECTED = 'Rejected',
+ UNAVAILABLE = 'Unavailable',
+ NOT_SUPPORTED = 'NotSupported',
+}
+
+export interface OCPP16ReserveNowResponse extends JsonObject {
+ status: OCPP16ReservationStatus;
+}