+import { ChargingProfile, ChargingProfilePurposeType } from './ChargingProfile';
+
import { ChargePointErrorCode } from './ChargePointErrorCode';
import { ChargePointStatus } from './ChargePointStatus';
-import { ChargingProfile } from './ChargingProfile';
import { StandardParametersKey } from './Configuration';
export enum RequestCommand {
HEARTBEAT = 'Heartbeat',
STATUS_NOTIFICATION = 'StatusNotification',
CHANGE_CONFIGURATION = 'ChangeConfiguration',
+ AUTHORIZE = 'Authorize',
START_TRANSACTION = 'StartTransaction',
STOP_TRANSACTION = 'StopTransaction',
METERVALUES = 'MeterValues'
export enum IncomingRequestCommand {
RESET = 'Reset',
CLEAR_CACHE = 'ClearCache',
+ CHANGE_AVAILABILITY = 'ChangeAvailability',
UNLOCK_CONNECTOR = 'UnlockConnector',
GET_CONFIGURATION = 'GetConfiguration',
CHANGE_CONFIGURATION = 'ChangeConfiguration',
SET_CHARGING_PROFILE = 'SetChargingProfile',
+ CLEAR_CHARGING_PROFILE = 'ClearChargingProfile',
REMOTE_START_TRANSACTION = 'RemoteStartTransaction',
REMOTE_STOP_TRANSACTION = 'RemoteStopTransaction'
}
connectorId: number;
csChargingProfiles: ChargingProfile;
}
+
+export enum AvailabilityType {
+ INOPERATIVE = 'Inoperative',
+ OPERATIVE = 'Operative'
+}
+
+export interface ChangeAvailabilityRequest {
+ connectorId: number;
+ type: AvailabilityType;
+}
+
+export interface ClearChargingProfileRequest {
+ id?: number;
+ connectorId?: number;
+ chargingProfilePurpose?: ChargingProfilePurposeType;
+ stackLevel?: number;
+}