X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=src%2Ftypes%2Focpp%2F1.6%2FRequestResponses.ts;h=a9aa876134166020f2bbe6097a1ddc139b9024d4;hb=4dff73b02dfe0893fdcc84d209c6d7e59ecf6752;hp=b737ed9797e0217315b62038874ec49f50dcefdf;hpb=d0641efac20e7bc7c114a3183574b6cad8667733;p=e-mobility-charging-stations-simulator.git diff --git a/src/types/ocpp/1.6/RequestResponses.ts b/src/types/ocpp/1.6/RequestResponses.ts index b737ed97..a9aa8761 100644 --- a/src/types/ocpp/1.6/RequestResponses.ts +++ b/src/types/ocpp/1.6/RequestResponses.ts @@ -1,4 +1,4 @@ -import { ConfigurationKey } from '../../ChargingStationConfiguration'; +import { OCPPConfigurationKey } from '../Configuration'; export interface HeartbeatResponse { currentTime: string; @@ -50,7 +50,7 @@ export interface BootNotificationResponse { export interface StatusNotificationResponse { } export interface GetConfigurationResponse { - configurationKey: ConfigurationKey[]; + configurationKey: OCPPConfigurationKey[]; unknownKey: string[]; } @@ -63,3 +63,13 @@ export enum ChargingProfileStatus { export interface SetChargingProfileResponse { status: ChargingProfileStatus; } + +export enum AvailabilityStatus { + ACCEPTED = 'Accepted', + REJECTED = 'Rejected', + SCHEDULED = 'Scheduled' +} + +export interface ChangeAvailabilityResponse { + status: AvailabilityStatus; +}