repositories
/
e-mobility-charging-stations-simulator.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix serial number propagation at charging station template change
[e-mobility-charging-stations-simulator.git]
/
src
/
types
/
ocpp
/
1.6
/
Responses.ts
diff --git
a/src/types/ocpp/1.6/Responses.ts
b/src/types/ocpp/1.6/Responses.ts
index d6a5d3470dcd9d07c7385f4ae09cb66f6a3b2291..08076964f5dd4a1b48f3d3df898b4b2c90e33126 100644
(file)
--- a/
src/types/ocpp/1.6/Responses.ts
+++ b/
src/types/ocpp/1.6/Responses.ts
@@
-1,8
+1,8
@@
import { EmptyObject } from '../../EmptyObject';
import { EmptyObject } from '../../EmptyObject';
-import { Json
Type
} from '../../JsonType';
+import { Json
Object
} from '../../JsonType';
import { OCPPConfigurationKey } from '../Configuration';
import { OCPPConfigurationKey } from '../Configuration';
-export interface
HeartbeatResponse extends JsonType
{
+export interface
OCPP16HeartbeatResponse extends JsonObject
{
currentTime: string;
}
currentTime: string;
}
@@
-12,7
+12,7
@@
export enum OCPP16UnlockStatus {
NOT_SUPPORTED = 'NotSupported',
}
NOT_SUPPORTED = 'NotSupported',
}
-export interface UnlockConnectorResponse extends Json
Type
{
+export interface UnlockConnectorResponse extends Json
Object
{
status: OCPP16UnlockStatus;
}
status: OCPP16UnlockStatus;
}
@@
-23,7
+23,7
@@
export enum OCPP16ConfigurationStatus {
NOT_SUPPORTED = 'NotSupported',
}
NOT_SUPPORTED = 'NotSupported',
}
-export interface ChangeConfigurationResponse extends Json
Type
{
+export interface ChangeConfigurationResponse extends Json
Object
{
status: OCPP16ConfigurationStatus;
}
status: OCPP16ConfigurationStatus;
}
@@
-33,15
+33,15
@@
export enum OCPP16RegistrationStatus {
REJECTED = 'Rejected',
}
REJECTED = 'Rejected',
}
-export interface OCPP16BootNotificationResponse extends Json
Type
{
+export interface OCPP16BootNotificationResponse extends Json
Object
{
status: OCPP16RegistrationStatus;
currentTime: string;
interval: number;
}
status: OCPP16RegistrationStatus;
currentTime: string;
interval: number;
}
-export type StatusNotificationResponse = EmptyObject;
+export type
OCPP16
StatusNotificationResponse = EmptyObject;
-export interface GetConfigurationResponse extends Json
Type
{
+export interface GetConfigurationResponse extends Json
Object
{
configurationKey: OCPPConfigurationKey[];
unknownKey: string[];
}
configurationKey: OCPPConfigurationKey[];
unknownKey: string[];
}
@@
-52,7
+52,7
@@
export enum OCPP16ChargingProfileStatus {
NOT_SUPPORTED = 'NotSupported',
}
NOT_SUPPORTED = 'NotSupported',
}
-export interface SetChargingProfileResponse extends Json
Type
{
+export interface SetChargingProfileResponse extends Json
Object
{
status: OCPP16ChargingProfileStatus;
}
status: OCPP16ChargingProfileStatus;
}
@@
-62,7
+62,7
@@
export enum OCPP16AvailabilityStatus {
SCHEDULED = 'Scheduled',
}
SCHEDULED = 'Scheduled',
}
-export interface ChangeAvailabilityResponse extends Json
Type
{
+export interface ChangeAvailabilityResponse extends Json
Object
{
status: OCPP16AvailabilityStatus;
}
status: OCPP16AvailabilityStatus;
}
@@
-71,11
+71,11
@@
export enum OCPP16ClearChargingProfileStatus {
UNKNOWN = 'Unknown',
}
UNKNOWN = 'Unknown',
}
-export interface ClearChargingProfileResponse extends Json
Type
{
+export interface ClearChargingProfileResponse extends Json
Object
{
status: OCPP16ClearChargingProfileStatus;
}
status: OCPP16ClearChargingProfileStatus;
}
-export interface GetDiagnosticsResponse extends Json
Type
{
+export interface GetDiagnosticsResponse extends Json
Object
{
fileName?: string;
}
fileName?: string;
}
@@
-87,6
+87,6
@@
export enum OCPP16TriggerMessageStatus {
NOT_IMPLEMENTED = 'NotImplemented',
}
NOT_IMPLEMENTED = 'NotImplemented',
}
-export interface OCPP16TriggerMessageResponse extends Json
Type
{
+export interface OCPP16TriggerMessageResponse extends Json
Object
{
status: OCPP16TriggerMessageStatus;
}
status: OCPP16TriggerMessageStatus;
}