Type alias for OCPP stack response and error handling
[e-mobility-charging-stations-simulator.git] / src / types / ocpp / Transaction.ts
index cee8f3cf6d2663c48f8c78fbd57b843269182757..3dd499c992697fa53da594c9ab3fcb2dcc8d6c98 100644 (file)
@@ -1,8 +1,11 @@
 import {
   OCPP16AuthorizationStatus,
+  OCPP16AuthorizeRequest,
   OCPP16AuthorizeResponse,
+  OCPP16StartTransactionRequest,
   OCPP16StartTransactionResponse,
   OCPP16StopTransactionReason,
+  OCPP16StopTransactionRequest,
   OCPP16StopTransactionResponse,
 } from './1.6/Transaction';
 
@@ -12,6 +15,8 @@ export const AuthorizationStatus = {
   ...OCPP16AuthorizationStatus,
 };
 
+export type AuthorizeRequest = OCPP16AuthorizeRequest;
+
 export type AuthorizeResponse = OCPP16AuthorizeResponse;
 
 export type StopTransactionReason = OCPP16StopTransactionReason;
@@ -20,6 +25,10 @@ export const StopTransactionReason = {
   ...OCPP16StopTransactionReason,
 };
 
+export type StartTransactionRequest = OCPP16StartTransactionRequest;
+
 export type StartTransactionResponse = OCPP16StartTransactionResponse;
 
+export type StopTransactionRequest = OCPP16StopTransactionRequest;
+
 export type StopTransactionResponse = OCPP16StopTransactionResponse;