X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=src%2Ftypes%2Focpp%2F1.6%2FResponses.ts;h=a6683caa87962b9050f6ef9fa1d4e7b8a3b48f2c;hb=1135386576395b90768d5e03a16fb44d340361e0;hp=1ccd78e2fa0acbf39b8b586999675dbcc1fc0585;hpb=d270cc878c61c42098557a0e03cc1620f74112de;p=e-mobility-charging-stations-simulator.git diff --git a/src/types/ocpp/1.6/Responses.ts b/src/types/ocpp/1.6/Responses.ts index 1ccd78e2..a6683caa 100644 --- a/src/types/ocpp/1.6/Responses.ts +++ b/src/types/ocpp/1.6/Responses.ts @@ -1,7 +1,8 @@ +import type { OCPP16ChargingSchedule } from './ChargingProfile'; import type { EmptyObject } from '../../EmptyObject'; import type { JsonObject } from '../../JsonType'; import type { OCPPConfigurationKey } from '../Configuration'; -import type { RegistrationStatusEnumType } from '../Responses'; +import type { GenericStatus, RegistrationStatusEnumType } from '../Responses'; export interface OCPP16HeartbeatResponse extends JsonObject { currentTime: Date; @@ -47,6 +48,13 @@ export enum OCPP16ChargingProfileStatus { NOT_SUPPORTED = 'NotSupported', } +export interface OCPP16GetCompositeScheduleResponse extends JsonObject { + status: GenericStatus; + connectorId?: number; + scheduleStart?: Date; + chargingSchedule?: OCPP16ChargingSchedule; +} + export interface SetChargingProfileResponse extends JsonObject { status: OCPP16ChargingProfileStatus; } @@ -72,11 +80,13 @@ export interface ClearChargingProfileResponse extends JsonObject { export type OCPP16UpdateFirmwareResponse = EmptyObject; +export type OCPP16FirmwareStatusNotificationResponse = EmptyObject; + export interface GetDiagnosticsResponse extends JsonObject { fileName?: string; } -export type DiagnosticsStatusNotificationResponse = EmptyObject; +export type OCPP16DiagnosticsStatusNotificationResponse = EmptyObject; export enum OCPP16TriggerMessageStatus { ACCEPTED = 'Accepted',