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: ensure voltage is defined in stationInfo
[e-mobility-charging-stations-simulator.git]
/
src
/
types
/
ocpp
/
Transaction.ts
diff --git
a/src/types/ocpp/Transaction.ts
b/src/types/ocpp/Transaction.ts
index cee8f3cf6d2663c48f8c78fbd57b843269182757..2a8a0ad46648978d3fe8b0fbab43f3cf008b812d 100644
(file)
--- a/
src/types/ocpp/Transaction.ts
+++ b/
src/types/ocpp/Transaction.ts
@@
-1,25
+1,32
@@
import {
OCPP16AuthorizationStatus,
import {
OCPP16AuthorizationStatus,
- OCPP16AuthorizeResponse,
- OCPP16StartTransactionResponse,
+ type OCPP16AuthorizeRequest,
+ type OCPP16AuthorizeResponse,
+ type OCPP16StartTransactionRequest,
+ type OCPP16StartTransactionResponse,
OCPP16StopTransactionReason,
OCPP16StopTransactionReason,
- OCPP16StopTransactionResponse,
+ type OCPP16StopTransactionRequest,
+ type OCPP16StopTransactionResponse,
} from './1.6/Transaction';
} from './1.6/Transaction';
-export type AuthorizationStatus = OCPP16AuthorizationStatus;
-
export const AuthorizationStatus = {
...OCPP16AuthorizationStatus,
export const AuthorizationStatus = {
...OCPP16AuthorizationStatus,
-};
+} as const;
+export type AuthorizationStatus = OCPP16AuthorizationStatus;
-export type AuthorizeRe
sponse = OCPP16AuthorizeResponse
;
+export type AuthorizeRe
quest = OCPP16AuthorizeRequest
;
-export type
StopTransactionReason = OCPP16StopTransactionReason
;
+export type
AuthorizeResponse = OCPP16AuthorizeResponse
;
export const StopTransactionReason = {
...OCPP16StopTransactionReason,
export const StopTransactionReason = {
...OCPP16StopTransactionReason,
-};
+} as const;
+export type StopTransactionReason = OCPP16StopTransactionReason;
+
+export type StartTransactionRequest = OCPP16StartTransactionRequest;
export type StartTransactionResponse = OCPP16StartTransactionResponse;
export type StartTransactionResponse = OCPP16StartTransactionResponse;
+export type StopTransactionRequest = OCPP16StopTransactionRequest;
+
export type StopTransactionResponse = OCPP16StopTransactionResponse;
export type StopTransactionResponse = OCPP16StopTransactionResponse;