Add more ATG internal states tracking
[e-mobility-charging-stations-simulator.git] / src / types / ocpp / 1.6 / Responses.ts
index 317926f3fe921be2020dc59ac6c687cea0b7c1bc..4f526b94dd600ad40ed8aa4d0d2e95e6c6140737 100644 (file)
@@ -1,3 +1,4 @@
+import { EmptyObject } from '../../EmptyObject';
 import { OCPPConfigurationKey } from '../Configuration';
 
 export interface HeartbeatResponse {
@@ -37,8 +38,7 @@ export interface OCPP16BootNotificationResponse {
   interval: number;
 }
 
-// eslint-disable-next-line @typescript-eslint/no-empty-interface
-export interface StatusNotificationResponse {}
+export type StatusNotificationResponse = EmptyObject;
 
 export interface GetConfigurationResponse {
   configurationKey: OCPPConfigurationKey[];
@@ -73,3 +73,19 @@ export enum OCPP16ClearChargingProfileStatus {
 export interface ClearChargingProfileResponse {
   status: OCPP16ClearChargingProfileStatus;
 }
+
+export interface GetDiagnosticsResponse {
+  fileName?: string;
+}
+
+export type DiagnosticsStatusNotificationResponse = EmptyObject;
+
+export enum OCPP16TriggerMessageStatus {
+  ACCEPTED = 'Accepted',
+  REJECTED = 'Rejected',
+  NOT_IMPLEMENTED = 'NotImplemented'
+}
+
+export interface OCPP16TriggerMessageResponse {
+  status: OCPP16TriggerMessageStatus
+}