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/types/tar-6.1.12 into combined-prs-branch
[e-mobility-charging-stations-simulator.git]
/
src
/
types
/
ocpp
/
1.6
/
Transaction.ts
diff --git
a/src/types/ocpp/1.6/Transaction.ts
b/src/types/ocpp/1.6/Transaction.ts
index 4af42747ede0040b50fffa78410a943d4909b4b2..f9659f695398822e3932197137b8ee581626d6d2 100644
(file)
--- a/
src/types/ocpp/1.6/Transaction.ts
+++ b/
src/types/ocpp/1.6/Transaction.ts
@@
-1,8
+1,7
@@
-import type {
OCPP16MeterValue } from './MeterValues';
-import type {
JsonObject } from '../../JsonType';
+import type {
JsonObject } from '../../JsonType.js'
+import type {
OCPP16MeterValue } from './MeterValues.js'
export enum OCPP16StopTransactionReason {
export enum OCPP16StopTransactionReason {
- NONE = '',
EMERGENCY_STOP = 'EmergencyStop',
EV_DISCONNECTED = 'EVDisconnected',
HARD_RESET = 'HardReset',
EMERGENCY_STOP = 'EmergencyStop',
EV_DISCONNECTED = 'EVDisconnected',
HARD_RESET = 'HardReset',
@@
-13,7
+12,7
@@
export enum OCPP16StopTransactionReason {
REMOTE = 'Remote',
SOFT_RESET = 'SoftReset',
UNLOCK_COMMAND = 'UnlockCommand',
REMOTE = 'Remote',
SOFT_RESET = 'SoftReset',
UNLOCK_COMMAND = 'UnlockCommand',
- DE_AUTHORIZED = 'DeAuthorized'
,
+ DE_AUTHORIZED = 'DeAuthorized'
}
export enum OCPP16AuthorizationStatus {
}
export enum OCPP16AuthorizationStatus {
@@
-21,45
+20,45
@@
export enum OCPP16AuthorizationStatus {
BLOCKED = 'Blocked',
EXPIRED = 'Expired',
INVALID = 'Invalid',
BLOCKED = 'Blocked',
EXPIRED = 'Expired',
INVALID = 'Invalid',
- CONCURRENT_TX = 'ConcurrentTx'
,
+ CONCURRENT_TX = 'ConcurrentTx'
}
interface IdTagInfo extends JsonObject {
}
interface IdTagInfo extends JsonObject {
- status: OCPP16AuthorizationStatus
;
- parentIdTag?: string
;
- expiryDate?: Date
;
+ status: OCPP16AuthorizationStatus
+ parentIdTag?: string
+ expiryDate?: Date
}
export interface OCPP16AuthorizeRequest extends JsonObject {
}
export interface OCPP16AuthorizeRequest extends JsonObject {
- idTag: string
;
+ idTag: string
}
export interface OCPP16AuthorizeResponse extends JsonObject {
}
export interface OCPP16AuthorizeResponse extends JsonObject {
- idTagInfo: IdTagInfo
;
+ idTagInfo: IdTagInfo
}
export interface OCPP16StartTransactionRequest extends JsonObject {
}
export interface OCPP16StartTransactionRequest extends JsonObject {
- connectorId: number
;
- idTag: string
;
- meterStart: number
;
- timestamp: Date
;
- reservationId?: number
;
+ connectorId: number
+ idTag: string
+ meterStart: number
+ timestamp: Date
+ reservationId?: number
}
export interface OCPP16StartTransactionResponse extends JsonObject {
}
export interface OCPP16StartTransactionResponse extends JsonObject {
- idTagInfo: IdTagInfo
;
- transactionId: number
;
+ idTagInfo: IdTagInfo
+ transactionId: number
}
export interface OCPP16StopTransactionRequest extends JsonObject {
}
export interface OCPP16StopTransactionRequest extends JsonObject {
- idTag?: string
;
- meterStop: number
;
- timestamp: Date
;
- transactionId: number
;
- reason?: OCPP16StopTransactionReason
;
- transactionData?: OCPP16MeterValue[]
;
+ idTag?: string
+ meterStop: number
+ timestamp: Date
+ transactionId: number
+ reason?: OCPP16StopTransactionReason
+ transactionData?: OCPP16MeterValue[]
}
export interface OCPP16StopTransactionResponse extends JsonObject {
}
export interface OCPP16StopTransactionResponse extends JsonObject {
- idTagInfo?: IdTagInfo
;
+ idTagInfo?: IdTagInfo
}
}