Commit | Line | Data |
---|---|---|
1 | import type { OCPP16ReserveNowRequest } from './1.6/Requests.js' | |
2 | ||
3 | export type Reservation = OCPP16ReserveNowRequest | |
4 | ||
5 | export type ReservationKey = keyof Reservation | |
6 | ||
7 | export enum ReservationTerminationReason { | |
8 | EXPIRED = 'Expired', | |
9 | TRANSACTION_STARTED = 'TransactionStarted', | |
10 | CONNECTOR_STATE_CHANGED = 'ConnectorStateChanged', | |
11 | RESERVATION_CANCELED = 'ReservationCanceled', | |
12 | REPLACE_EXISTING = 'ReplaceExisting' | |
13 | } |