-import { ConfigurationKey } from '../../ChargingStationConfiguration';
+import { OCPPConfigurationKey } from '../Configuration';
export interface HeartbeatResponse {
currentTime: string;
}
// eslint-disable-next-line @typescript-eslint/no-empty-interface
-export interface StatusNotificationResponse {}
+export interface StatusNotificationResponse { }
export interface GetConfigurationResponse {
- configurationKey: ConfigurationKey[];
+ configurationKey: OCPPConfigurationKey[];
unknownKey: string[];
}
+
+export enum ChargingProfileStatus {
+ ACCEPTED = 'Accepted',
+ REJECTED = 'Rejected',
+ NOT_SUPPORTED = 'NotSupported',
+}
+
+export interface SetChargingProfileResponse {
+ status: ChargingProfileStatus;
+}
+
+export enum AvailabilityStatus {
+ ACCEPTED = 'Accepted',
+ REJECTED = 'Rejected',
+ SCHEDULED = 'Scheduled'
+}
+
+export interface ChangeAvailabilityResponse {
+ status: AvailabilityStatus;
+}