X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=src%2Ftypes%2Focpp%2F2.0%2FRequests.ts;h=1b99c2727fb86928055cfc3beff4335733a79265;hb=041365be4e6cfcec381c895a203815dd933afff5;hp=220a39b6f617a0f020aa5b65ff04baecbc0ad3c3;hpb=28f1c5749ad4ee138c34c345a7bd812b40ccbcfa;p=e-mobility-charging-stations-simulator.git diff --git a/src/types/ocpp/2.0/Requests.ts b/src/types/ocpp/2.0/Requests.ts index 220a39b6..1b99c272 100644 --- a/src/types/ocpp/2.0/Requests.ts +++ b/src/types/ocpp/2.0/Requests.ts @@ -1,10 +1,11 @@ import type { BootReasonEnumType, - EmptyObject, - JsonObject, + InstallCertificateUseEnumType, OCPP20ConnectorStatusEnumType, - OCPP20SetVariableDataType, -} from '../../internal'; +} from './Common'; +import type { OCPP20SetVariableDataType } from './Variables'; +import type { EmptyObject } from '../../EmptyObject'; +import type { JsonObject } from '../../JsonType'; export enum OCPP20RequestCommand { BOOT_NOTIFICATION = 'BootNotification', @@ -50,3 +51,8 @@ export type OCPP20StatusNotificationRequest = { export type OCPP20SetVariablesRequest = { setVariableData: OCPP20SetVariableDataType[]; } & JsonObject; + +export type OCPP20InstallCertificateRequest = { + certificateType: InstallCertificateUseEnumType; + certificate: string; +} & JsonObject;