docs: refine README.md
[e-mobility-charging-stations-simulator.git] / src / types / ocpp / Transaction.ts
CommitLineData
e7aeea18
JB
1import {
2 OCPP16AuthorizationStatus,
edd13439
JB
3 type OCPP16AuthorizeRequest,
4 type OCPP16AuthorizeResponse,
5 type OCPP16StartTransactionRequest,
6 type OCPP16StartTransactionResponse,
e7aeea18 7 OCPP16StopTransactionReason,
edd13439 8 type OCPP16StopTransactionRequest,
66a7748d
JB
9 type OCPP16StopTransactionResponse
10} from './1.6/Transaction.js'
c0560973 11
c0560973 12export const AuthorizationStatus = {
66a7748d
JB
13 ...OCPP16AuthorizationStatus
14} as const
15// eslint-disable-next-line @typescript-eslint/no-redeclare
16export type AuthorizationStatus = OCPP16AuthorizationStatus
c0560973 17
66a7748d 18export type AuthorizeRequest = OCPP16AuthorizeRequest
ef6fa3fb 19
66a7748d 20export type AuthorizeResponse = OCPP16AuthorizeResponse
c0560973 21
c0560973 22export const StopTransactionReason = {
66a7748d
JB
23 ...OCPP16StopTransactionReason
24} as const
25// eslint-disable-next-line @typescript-eslint/no-redeclare
26export type StopTransactionReason = OCPP16StopTransactionReason
c0560973 27
66a7748d 28export type StartTransactionRequest = OCPP16StartTransactionRequest
ef6fa3fb 29
66a7748d 30export type StartTransactionResponse = OCPP16StartTransactionResponse
c0560973 31
66a7748d 32export type StopTransactionRequest = OCPP16StopTransactionRequest
ef6fa3fb 33
66a7748d 34export type StopTransactionResponse = OCPP16StopTransactionResponse