X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=src%2Ftypes%2Focpp%2F2.0%2FResponses.ts;h=fdbebf15c4eb33fd5b8fed7c4fd719fdcceb2493;hb=6dad8e21f4a8e66836009802c11194ddab1bb02c;hp=04cd462b50850a43186d341b1b5c9ff647887b25;hpb=f03e10429357538c286b94a99c9ccc5dfe43b348;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 04cd462b..fdbebf15 100644 --- a/src/types/ocpp/2.0/Responses.ts +++ b/src/types/ocpp/2.0/Responses.ts @@ -1,11 +1,11 @@ -import type { EmptyObject } from '../../EmptyObject'; -import type { JsonObject } from '../../JsonType'; -import type { GenericStatus, RegistrationStatusEnumType } from '../Responses'; - -export type StatusInfoType = { - reasonCode: string; - additionalInfo?: string; -} & JsonObject; +import type { + EmptyObject, + GenericStatus, + JsonObject, + OCPP20SetVariableResultType, + RegistrationStatusEnumType, + StatusInfoType, +} from '../../internal'; export type OCPP20BootNotificationResponse = { currentTime: Date; @@ -24,3 +24,7 @@ export type OCPP20ClearCacheResponse = { } & JsonObject; export type OCPP20StatusNotificationResponse = EmptyObject; + +export type OCPP20SetVariablesResponse = { + setVariableResult: OCPP20SetVariableResultType[]; +} & JsonObject;