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
Merge dependabot/npm_and_yarn/ui/web/jsdom-23.1.0 into combined-prs-branch
[e-mobility-charging-stations-simulator.git]
/
src
/
types
/
ocpp
/
2.0
/
Common.ts
diff --git
a/src/types/ocpp/2.0/Common.ts
b/src/types/ocpp/2.0/Common.ts
index ba908562c87bb70b013bbb94e9436f0db133fd55..01fed13b09aebd837c4f3475a1a32fbff821caff 100644
(file)
--- a/
src/types/ocpp/2.0/Common.ts
+++ b/
src/types/ocpp/2.0/Common.ts
@@
-1,12
+1,11
@@
-import type { GenericStatus, JsonObject } from '../../internal';
+import type { JsonObject } from '../../JsonType.js'
+import type { GenericStatus } from '../Common.js'
export enum DataEnumType {
export enum DataEnumType {
- // eslint-disable-next-line id-blacklist
string = 'string',
decimal = 'decimal',
integer = 'integer',
dateTime = 'dateTime',
string = 'string',
decimal = 'decimal',
integer = 'integer',
dateTime = 'dateTime',
- // eslint-disable-next-line id-blacklist
boolean = 'boolean',
OptionList = 'OptionList',
SequenceList = 'SequenceList',
boolean = 'boolean',
OptionList = 'OptionList',
SequenceList = 'SequenceList',
@@
-25,15
+24,20
@@
export enum BootReasonEnumType {
Watchdog = 'Watchdog',
}
Watchdog = 'Watchdog',
}
+export enum OperationalStatusEnumType {
+ Operative = 'Operative',
+ Inoperative = 'Inoperative',
+}
+
export enum OCPP20ConnectorStatusEnumType {
export enum OCPP20ConnectorStatusEnumType {
- A
VAILABLE
= 'Available',
- O
CCUPIED
= 'Occupied',
- R
ESERVED
= 'Reserved',
- U
NAVAILABLE
= 'Unavailable',
- F
AULTED
= 'Faulted',
+ A
vailable
= 'Available',
+ O
ccupied
= 'Occupied',
+ R
eserved
= 'Reserved',
+ U
navailable
= 'Unavailable',
+ F
aulted
= 'Faulted',
}
}
-export type GenericStatusEnumType = GenericStatus
;
+export type GenericStatusEnumType = GenericStatus
export enum HashAlgorithmEnumType {
SHA256 = 'SHA256',
export enum HashAlgorithmEnumType {
SHA256 = 'SHA256',
@@
-88,35
+92,35
@@
export enum CertificateSigningUseEnumType {
V2GCertificate = 'V2GCertificate',
}
V2GCertificate = 'V2GCertificate',
}
-export type CertificateSignedStatusEnumType = GenericStatus
;
+export type CertificateSignedStatusEnumType = GenericStatus
EnumType
export type CertificateHashDataType = {
export type CertificateHashDataType = {
- hashAlgorithm: HashAlgorithmEnumType
;
- issuerNameHash: string
;
- issuerKeyHash: string
;
- serialNumber: string
;
-} & JsonObject
;
+ hashAlgorithm: HashAlgorithmEnumType
+ issuerNameHash: string
+ issuerKeyHash: string
+ serialNumber: string
+} & JsonObject
export type CertificateHashDataChainType = {
export type CertificateHashDataChainType = {
- certificateType: GetCertificateIdUseEnumType
;
- certificateHashData: CertificateHashDataType
;
- childCertificateHashData?: CertificateHashDataType
;
-} & JsonObject
;
+ certificateType: GetCertificateIdUseEnumType
+ certificateHashData: CertificateHashDataType
+ childCertificateHashData?: CertificateHashDataType
+} & JsonObject
export type OCSPRequestDataType = {
export type OCSPRequestDataType = {
- hashAlgorithm: HashAlgorithmEnumType
;
- issuerNameHash: string
;
- issuerKeyHash: string
;
- serialNumber: string
;
- responderURL: string
;
-} & JsonObject
;
+ hashAlgorithm: HashAlgorithmEnumType
+ issuerNameHash: string
+ issuerKeyHash: string
+ serialNumber: string
+ responderURL: string
+} & JsonObject
export type StatusInfoType = {
export type StatusInfoType = {
- reasonCode: string
;
- additionalInfo?: string
;
-} & JsonObject
;
+ reasonCode: string
+ additionalInfo?: string
+} & JsonObject
export type EVSEType = {
export type EVSEType = {
- id: number
;
- connectorId?: string
;
-} & JsonObject
;
+ id: number
+ connectorId?: string
+} & JsonObject