UNPKG

@citrineos/base

Version:

The base module for OCPP v2.0.1 including all interfaces. This module is not intended to be used directly, but rather as a dependency for other modules.

7 lines (6 loc) 891 B
import { CallAction, EventGroup, IMessage, MessageOrigin, OcppError, OcppRequest, OcppResponse, OCPPVersionType } from '..'; export declare class RequestBuilder { static buildCall(stationId: string, correlationId: string, tenantId: string, action: CallAction, payload: OcppRequest, eventGroup: EventGroup, origin: MessageOrigin, protocol: OCPPVersionType, timestamp?: Date): IMessage<OcppRequest>; static buildCallResult(stationId: string, correlationId: string, tenantId: string, action: CallAction, payload: OcppResponse, eventGroup: EventGroup, origin: MessageOrigin, protocol: OCPPVersionType, timestamp?: Date): IMessage<OcppResponse>; static buildCallError(stationId: string, correlationId: string, tenantId: string, action: CallAction, payload: OcppError, eventGroup: EventGroup, origin: MessageOrigin, protocol: OCPPVersionType, timestamp?: Date): IMessage<OcppError>; }