X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=src%2Ftypes%2Focpp%2F1.6%2FRequests.ts;h=bc45189844dcd9fd09e5f29a717d9375bd25d163;hb=728e01f09f2b43946aab50eb2ed9673bf2d2daa3;hp=6b244d043a678e804c852fc6cffdbccac4a21c53;hpb=0ac97927984473fcb11a177f013b0e112638e050;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 6b244d04..bc451898 100644 --- a/src/types/ocpp/1.6/Requests.ts +++ b/src/types/ocpp/1.6/Requests.ts @@ -7,6 +7,7 @@ import type { OCPP16ChargingProfilePurposeType, OCPP16DiagnosticsStatus, OCPP16StandardParametersKey, + OCPP16VendorParametersKey, } from '../../internal'; export enum OCPP16RequestCommand { @@ -65,8 +66,10 @@ export interface OCPP16StatusNotificationRequest extends JsonObject { export type OCPP16ClearCacheRequest = EmptyObject; +type OCPP16ConfigurationKey = string | OCPP16StandardParametersKey | OCPP16VendorParametersKey; + export interface ChangeConfigurationRequest extends JsonObject { - key: string | OCPP16StandardParametersKey; + key: OCPP16ConfigurationKey; value: string; } @@ -85,7 +88,7 @@ export interface UnlockConnectorRequest extends JsonObject { } export interface GetConfigurationRequest extends JsonObject { - key?: (string | OCPP16StandardParametersKey)[]; + key?: OCPP16ConfigurationKey[]; } enum ResetType {