1 import { ChargePointErrorCode
} from
'./ChargePointErrorCode';
2 import { ChargePointStatus
} from
'./ChargePointStatus';
3 import { ChargingProfile
} from
'./ChargingProfile';
4 import OCPPError from
'../../../charging-station/OcppError';
6 export default interface Requests
{
7 [id
: string]: [(payload
?, requestPayload
?) => void, (error
?: OCPPError
) => void, Record
<string, unknown
>];
10 // eslint-disable-next-line @typescript-eslint/no-empty-interface
11 export interface HeartbeatRequest
{}
13 export interface BootNotificationRequest
{
14 chargeBoxSerialNumber
?: string;
15 chargePointModel
: string;
16 chargePointSerialNumber
?: string;
17 chargePointVendor
: string;
18 firmwareVersion
?: string;
21 meterSerialNumber
?: string;
25 export interface StatusNotificationRequest
{
27 errorCode
: ChargePointErrorCode
;
29 status: ChargePointStatus
;
32 vendorErrorCode
?: string;
35 export interface ChangeConfigurationRequest
{
40 export interface RemoteStartTransactionRequest
{
43 chargingProfile
?: ChargingProfile
;
46 export interface RemoteStopTransactionRequest
{
47 transactionId
: number;
50 export interface UnlockConnectorRequest
{
54 export interface GetConfigurationRequest
{
58 export enum ResetType
{
63 export interface ResetRequest
{