Merge dependabot/npm_and_yarn/types/tar-6.1.12 into combined-prs-branch
[e-mobility-charging-stations-simulator.git] / src / types / ocpp / 2.0 / Responses.ts
index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..4248c5d8f6baf74bc7b5874371c6026a781e9442 100644 (file)
@@ -0,0 +1,36 @@
+import type { EmptyObject } from '../../EmptyObject.js'
+import type { JsonObject } from '../../JsonType.js'
+import type { RegistrationStatusEnumType } from '../Common.js'
+import type {
+  GenericStatusEnumType,
+  InstallCertificateStatusEnumType,
+  StatusInfoType
+} from './Common.js'
+import type { OCPP20SetVariableResultType } from './Variables.js'
+
+export interface OCPP20BootNotificationResponse extends JsonObject {
+  currentTime: Date
+  status: RegistrationStatusEnumType
+  interval: number
+  statusInfo?: StatusInfoType
+}
+
+export interface OCPP20HeartbeatResponse extends JsonObject {
+  currentTime: Date
+}
+
+export interface OCPP20ClearCacheResponse extends JsonObject {
+  status: GenericStatusEnumType
+  statusInfo?: StatusInfoType
+}
+
+export type OCPP20StatusNotificationResponse = EmptyObject
+
+export interface OCPP20SetVariablesResponse extends JsonObject {
+  setVariableResult: OCPP20SetVariableResultType[]
+}
+
+export interface OCPP20InstallCertificateResponse extends JsonObject {
+  status: InstallCertificateStatusEnumType
+  statusInfo?: StatusInfoType
+}