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 7d3487ba1f8bdc4549e2c9f298a9a111bc4c2a71..08076964f5dd4a1b48f3d3df898b4b2c90e33126 100644
(file)
--- a/
src/types/ocpp/1.6/Responses.ts
+++ b/
src/types/ocpp/1.6/Responses.ts
@@
-1,18
+1,18
@@
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;
}
export enum OCPP16UnlockStatus {
UNLOCKED = 'Unlocked',
UNLOCK_FAILED = 'UnlockFailed',
currentTime: string;
}
export enum OCPP16UnlockStatus {
UNLOCKED = 'Unlocked',
UNLOCK_FAILED = 'UnlockFailed',
- NOT_SUPPORTED = 'NotSupported'
+ NOT_SUPPORTED = 'NotSupported'
,
}
}
-export interface UnlockConnectorResponse extends Json
Type
{
+export interface UnlockConnectorResponse extends Json
Object
{
status: OCPP16UnlockStatus;
}
status: OCPP16UnlockStatus;
}
@@
-20,28
+20,28
@@
export enum OCPP16ConfigurationStatus {
ACCEPTED = 'Accepted',
REJECTED = 'Rejected',
REBOOT_REQUIRED = 'RebootRequired',
ACCEPTED = 'Accepted',
REJECTED = 'Rejected',
REBOOT_REQUIRED = 'RebootRequired',
- NOT_SUPPORTED = 'NotSupported'
+ NOT_SUPPORTED = 'NotSupported'
,
}
}
-export interface ChangeConfigurationResponse extends Json
Type
{
+export interface ChangeConfigurationResponse extends Json
Object
{
status: OCPP16ConfigurationStatus;
}
export enum OCPP16RegistrationStatus {
ACCEPTED = 'Accepted',
PENDING = 'Pending',
status: OCPP16ConfigurationStatus;
}
export enum OCPP16RegistrationStatus {
ACCEPTED = 'Accepted',
PENDING = 'Pending',
- 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,30
+52,30
@@
export enum OCPP16ChargingProfileStatus {
NOT_SUPPORTED = 'NotSupported',
}
NOT_SUPPORTED = 'NotSupported',
}
-export interface SetChargingProfileResponse extends Json
Type
{
+export interface SetChargingProfileResponse extends Json
Object
{
status: OCPP16ChargingProfileStatus;
}
export enum OCPP16AvailabilityStatus {
ACCEPTED = 'Accepted',
REJECTED = 'Rejected',
status: OCPP16ChargingProfileStatus;
}
export enum OCPP16AvailabilityStatus {
ACCEPTED = 'Accepted',
REJECTED = 'Rejected',
- SCHEDULED = 'Scheduled'
+ SCHEDULED = 'Scheduled'
,
}
}
-export interface ChangeAvailabilityResponse extends Json
Type
{
+export interface ChangeAvailabilityResponse extends Json
Object
{
status: OCPP16AvailabilityStatus;
}
export enum OCPP16ClearChargingProfileStatus {
ACCEPTED = 'Accepted',
status: OCPP16AvailabilityStatus;
}
export enum OCPP16ClearChargingProfileStatus {
ACCEPTED = 'Accepted',
- 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;
}
@@
-84,9
+84,9
@@
export type DiagnosticsStatusNotificationResponse = EmptyObject;
export enum OCPP16TriggerMessageStatus {
ACCEPTED = 'Accepted',
REJECTED = 'Rejected',
export enum OCPP16TriggerMessageStatus {
ACCEPTED = 'Accepted',
REJECTED = 'Rejected',
- NOT_IMPLEMENTED = 'NotImplemented'
+ NOT_IMPLEMENTED = 'NotImplemented'
,
}
}
-export interface OCPP16TriggerMessageResponse extends Json
Type
{
- status: OCPP16TriggerMessageStatus
+export interface OCPP16TriggerMessageResponse extends Json
Object
{
+ status: OCPP16TriggerMessageStatus
;
}
}