X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=src%2Ftypes%2Focpp%2F1.6%2FRequests.ts;h=b14583f08d63a8342c26438edd7c8e5a6a4a9240;hb=41f3983a4f934199769f9ef1c46bfae2adc22b56;hp=80128a271c9fd6edd3cb6ec9609ad6b2ed898da7;hpb=d193a94981cfed2c3d502eeca581ce4e9f0eebe5;p=e-mobility-charging-stations-simulator.git diff --git a/src/types/ocpp/1.6/Requests.ts b/src/types/ocpp/1.6/Requests.ts index 80128a27..b14583f0 100644 --- a/src/types/ocpp/1.6/Requests.ts +++ b/src/types/ocpp/1.6/Requests.ts @@ -21,8 +21,6 @@ export enum OCPP16RequestCommand { DIAGNOSTICS_STATUS_NOTIFICATION = 'DiagnosticsStatusNotification', FIRMWARE_STATUS_NOTIFICATION = 'FirmwareStatusNotification', DATA_TRANSFER = 'DataTransfer', - RESERVE_NOW = 'ReserveNow', - CANCEL_RESERVATION = 'CancelReservation', } export enum OCPP16IncomingRequestCommand { @@ -121,12 +119,12 @@ export enum OCPP16AvailabilityType { Operative = 'Operative', } -export interface ChangeAvailabilityRequest extends JsonObject { +export interface OCPP16ChangeAvailabilityRequest extends JsonObject { connectorId: number; type: OCPP16AvailabilityType; } -export interface ClearChargingProfileRequest extends JsonObject { +export interface OCPP16ClearChargingProfileRequest extends JsonObject { id?: number; connectorId?: number; chargingProfilePurpose?: OCPP16ChargingProfilePurposeType;