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