X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=src%2Ftypes%2Focpp%2F2.0%2FResponses.ts;h=a4ecdadd9f33a3db0bd9c5890b1bd1442829d063;hb=041365be4e6cfcec381c895a203815dd933afff5;hp=fdbebf15c4eb33fd5b8fed7c4fd719fdcceb2493;hpb=28f1c5749ad4ee138c34c345a7bd812b40ccbcfa;p=e-mobility-charging-stations-simulator.git diff --git a/src/types/ocpp/2.0/Responses.ts b/src/types/ocpp/2.0/Responses.ts index fdbebf15..a4ecdadd 100644 --- a/src/types/ocpp/2.0/Responses.ts +++ b/src/types/ocpp/2.0/Responses.ts @@ -1,11 +1,12 @@ import type { - EmptyObject, - GenericStatus, - JsonObject, - OCPP20SetVariableResultType, - RegistrationStatusEnumType, + GenericStatusEnumType, + InstallCertificateStatusEnumType, StatusInfoType, -} from '../../internal'; +} from './Common'; +import type { OCPP20SetVariableResultType } from './Variables'; +import type { EmptyObject } from '../../EmptyObject'; +import type { JsonObject } from '../../JsonType'; +import type { RegistrationStatusEnumType } from '../Common'; export type OCPP20BootNotificationResponse = { currentTime: Date; @@ -19,7 +20,7 @@ export type OCPP20HeartbeatResponse = { } & JsonObject; export type OCPP20ClearCacheResponse = { - status: GenericStatus; + status: GenericStatusEnumType; statusInfo?: StatusInfoType; } & JsonObject; @@ -28,3 +29,8 @@ export type OCPP20StatusNotificationResponse = EmptyObject; export type OCPP20SetVariablesResponse = { setVariableResult: OCPP20SetVariableResultType[]; } & JsonObject; + +export type OCPP20InstallCertificateResponse = { + status: InstallCertificateStatusEnumType; + statusInfo?: StatusInfoType; +} & JsonObject;