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
Type alias for OCPP stack response and error handling
[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..3dd499c992697fa53da594c9ab3fcb2dcc8d6c98 100644
(file)
--- a/
src/types/ocpp/Transaction.ts
+++ b/
src/types/ocpp/Transaction.ts
@@
-1,8
+1,11
@@
import {
OCPP16AuthorizationStatus,
import {
OCPP16AuthorizationStatus,
+ OCPP16AuthorizeRequest,
OCPP16AuthorizeResponse,
OCPP16AuthorizeResponse,
+ OCPP16StartTransactionRequest,
OCPP16StartTransactionResponse,
OCPP16StopTransactionReason,
OCPP16StartTransactionResponse,
OCPP16StopTransactionReason,
+ OCPP16StopTransactionRequest,
OCPP16StopTransactionResponse,
} from './1.6/Transaction';
OCPP16StopTransactionResponse,
} from './1.6/Transaction';
@@
-12,6
+15,8
@@
export const AuthorizationStatus = {
...OCPP16AuthorizationStatus,
};
...OCPP16AuthorizationStatus,
};
+export type AuthorizeRequest = OCPP16AuthorizeRequest;
+
export type AuthorizeResponse = OCPP16AuthorizeResponse;
export type StopTransactionReason = OCPP16StopTransactionReason;
export type AuthorizeResponse = OCPP16AuthorizeResponse;
export type StopTransactionReason = OCPP16StopTransactionReason;
@@
-20,6
+25,10
@@
export const StopTransactionReason = {
...OCPP16StopTransactionReason,
};
...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;